Trouble deploying MDB

Is running 10.13 preview app server. Kept getting the following error when deploying my app with a MDB inside. The MDB is supposed to listening on a AQ with a JMS resource adapter. The resource adapter name is ADXOJMS. It has a queue that the MBD is supposed to listening on.
05/11/21 16:03:13 oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error initializing ejb-modules: Required config property of name 'ConnectionFactoryJndiName' is missing.
05/11/21 16:03:13 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:125)
05/11/21 16:03:13 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:53)
05/11/21 16:03:13 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:68)
05/11/21 16:03:13 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
05/11/21 16:03:13 at java.lang.Thread.run(Thread.java:595)
05/11/21 16:03:13 Caused by: java.lang.InstantiationException: Error initializing ejb-modules: Required config property of name 'ConnectionFactoryJndiName' is missing.
05/11/21 16:03:13 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1122)
05/11/21 16:03:13 at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:205)
05/11/21 16:03:13 at com.evermind.server.Application.setConfig(Application.java:387)
05/11/21 16:03:13 at com.evermind.server.Application.setConfig(Application.java:304)
05/11/21 16:03:13 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1651)
05/11/21 16:03:13 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:402)
05/11/21 16:03:13 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:158)
05/11/21 16:03:13 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
05/11/21 16:03:13 ... 4 more
I have the following configuration:
-------------------------- in ejb-jar.xml -----------------------------------
<message-driven>
<description>Message Driven Bean</description>
<display-name>MDBInboundDoc</display-name>
<ejb-name>MDBInboundDoc</ejb-name>
<ejb-class>com.adx.session.ejb.MDBInboundDocBean</ejb-class>
<messaging-type>javax.jms.MessageListener</messaging-type>
<transaction-type>Container</transaction-type>
<security-identity/>
<resource-ref>
<res-ref-name>jms/InQueueConnectionFactory</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-env-ref>
<resource-env-ref-name>ADXOJMS/Queues/b2bInDocTopic</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
</resource-env-ref>
<message-destination-ref>
<description xml:pcdata="Consume inbound xml docs"></description>
<message-destination-ref-name>ADXOJMS/Queues/b2bInDocTopic</message-destination-ref-name>
<message-destination-type>javax.jms.Queue</message-destination-type>
<message-destination-usage>Consume inbound xml docs</message-destination-usage>
</message-destination-ref>
</message-driven>
--------------------------------- in orion-ejb-jar.xml --------------------------------
<message-driven-deployment name="MDBInboundDoc"
connection-factory-location="java:comp/resource/ADXOJMS/QueueConnectionFactories/myQCF"
destination-location="java:comp/resource/ADXOJMS/Queues/b2bInDocTopic"
resource-adapter="ADXOJMS"
listener-threads="15">
<resource-ref-mapping name="jms/InQueueConnectionFactory"
location="java:comp/resource/ADXOJMS/QueueConnectionFactories/myQCF"/>
<resource-env-ref-mapping name="jms/InDocTopic"
location="java:comp/resource/ADXOJMS/Queues/b2bInDocTopic"/>
</message-driven-deployment>
Do I also need orion-application.xml? If I do, here it is:
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://xmlns.oracle.com/ias/dtds/orion-application.dtd">
<orion-application>
<data-sources path="./data-sources.xml"/>
<resource-ref-mapping name="jms/QueueConnectionFactory"
location="java:comp/resource/ADXOJMS/QueueConnectionFactory/myQCF"/>
<resource-env-ref-mapping name="jms/InboundDoc"
location="java:comp/resource/ADXOJMS/Queues/b2bInDocTopic"/>
</orion-application>
Please help and thanks in advance.

In 10.1.3 there are two different MDB implementations. One (supported for backwards compatability with previous versions of OC4J) uses lots of attributes (like the "destination-location" one you are using) to set up the MDB properties. However, you have selected a resource adapter (set the "resource-adapter" attribute), so that means you are using the new MDB implementation. The new implementation follows the j2CA 1.5 standard. That means it no longer uses the "destination-location" and other attributes to specify MDB inbound properties. (The EJB container does still use some, like the new "resource-adapter" attribute, and the old "max-instances" which is now supported.) In j2CA, the inbound properties for a given resource adapter endpoint are configured using <activation-config-property> in the ejb-jar.xml file. (OC4J also lets you use <config-property> in the orion-ejb-jar.xml, which is the recommended way to do it if you are not shipping the resource adapter with the application.)
Anyways, go here:
http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/index.html
and grab the demo under the "How to Configure and Use Oracle's Generic JMS Resource Adapter" section that corresponds to the resource provider you are using.
(Alternatively, just remove the "resource-adapter" attribute to select the old MDB implementation which uses the connection factory and destination attributes you have already set up. You may want to read the JMS chapter in the 10.1.3 Services Guide though - there are a number of features that you only get with the new MDB implementation.)

Similar Messages

  • Deploying MDB in a cluster...

    Have any one been successful at deploying a Message Driven Bean in a
              cluster. The problem I am running in to is that on the second machine the
              MDB tries to deploy but does not find the name of the queue in the JNDI
              space. This is due to the fact that the JNDI replication has not occured
              when the second server is starting up. Later, when the JNDI replication has
              occured, the queue name DOES appear in the JNDI tree, but it's too late for
              the MDB which failed to deploy.
              Has any one gotten around this problem? Surely, there must be someone out
              there who is also trying to deploy MDB in a cluster.
              Thanks.
              -AP_
              

    Have any one been successful at deploying a Message Driven Bean in a
              cluster. The problem I am running in to is that on the second machine the
              MDB tries to deploy but does not find the name of the queue in the JNDI
              space. This is due to the fact that the JNDI replication has not occured
              when the second server is starting up. Later, when the JNDI replication has
              occured, the queue name DOES appear in the JNDI tree, but it's too late for
              the MDB which failed to deploy.
              Has any one gotten around this problem? Surely, there must be someone out
              there who is also trying to deploy MDB in a cluster.
              Thanks.
              -AP_
              

  • Having trouble deploying .ear file

    I am having trouble deploying a .ear file in WLS 7.0. The only way that I have found to work every time is by following these steps:
    1. Shutdown the server (if it is running)
    2. Move the ear into the applications directory
    3. Change the extension of the ear file (to .old).
    4. Start WLS 7.0
    5. After startup completes, change the filename back to the .ear extension.
    Simply dragging the ear into the applications directory after startup works sometimes. Other times, the server does not do anything...it seems to not realize that the file was moved.
    Starting the server with the ear already in the applications directory (with the .ear extension) never works. In this case, a "javax.naming.NameNotFoundException" is thrown when trying to resolve the datasource name. Could this be a race condition?
    Any help is appreciated.

    Hi Steve,
    As a quick workaround, can you consider merging that 3rd party
    references into a simple, let's call it 3rdparty.jar, file. Then you
    will be able to overcome this line limit. If you use ANT, it can be
    made a part of the build process and can simplify future additions.
    Hope this helps,
    Regards,
    Slava Imeshev
    "Steve Ebersole" <[email protected]> wrote in message
    news:3e788ce9$[email protected]..
    >
    I am having trouble deploying an EAR file having an ejb module with amanifest
    Class-Path entry. It appears to be directly related to the length of thatClass-Path
    entry. No matter the length of the Class-Path entry, ejbc runs fine butthen
    the problem comes trying to upload the EAR through the console.
    First iteration was just skeletal code and the dependencies were minimal.I was
    able to get this uploaded and deployed correctly. For that EAR, the EJBjar file
    manifest's Class-Path entry had only 2 entries and was no where near the72-character
    line limit.
    Second iteration had some functionality and the dependencies were muchlarger.
    Again ejbc ran fine, but I got errors on upload when the console tries todeploy
    the EAR. The manifest Class-Path entry for that ejb version contained 16jar
    files which, because fo the 72 line limit, spread across 3 lines.
    The complaint I get on deployment is NoClassDefFound for a class that isin a
    jar file listed in the manifest classpath (it found it the first time).
    Is there a bug in WebLogic (6.1 sp3) where it cannot recognize manifestclasspath
    entries over a certain limit? I have seen postings about WebLogic'sissues with
    class loading from manifest classpath entries but thought they had allbeen fixed
    as of 6.1sp3.
    Thanks in advance for any help or suggestions.

  • Trouble deploying a J2EE application using the J2EE 6.20 Deploy Tool

    I am having trouble deploying a J2EE application using the J2EE 6.20 Deploy Tool.
    I successfully create the WAR/EAR files, I then select deploy and the deploy process gets to 100% before displaying an error message.
    Can anybody help?
    Please see Deploy Tool log entry:
    01:39 -  **********************************************************
    05/01/17 10:19:16 -  Applying user role management mappings.
    05/01/17 10:19:16 -  Start updating EAR-file...D:\SAP_J2EEngine6.20_Cluster\deploying\carmodeller\carmodeller.ear
    05/01/17 10:19:27 -  Temp files deleted...
    05/01/17 10:19:27 -  Ear-file updated successfully for 11375ms.
    05/01/17 10:19:27 -  Start deploying ...
    05/01/17 10:20:15 -  Ear-file uploaded to server for 47297ms.
    05/01/17 10:21:47 -  ERROR: ID90506: NOT Deployed. ERROR returned from deploy service :
                         com.inqmy.services.deploy.container.DeploymentException: Can't init application carmodeller. com.inqmy.services.servlets_jsp.server.WebApplicationException: ID17110: Error in starting application carmodeller.java.lang.NullPointerException
                              at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.deploy(ServletsAndJspImpl.java:482)
                              at com.inqmy.services.servlets_jsp.server.WebContainer.commitDeploy(WebContainer.java:256)
                              at com.inqmy.services.deploy.server.DeployServiceImpl.commit(DeployServiceImpl.java:2848)
                              at com.inqmy.services.deploy.server.DeployServiceImpl.deploy1(DeployServiceImpl.java:512)
                              at com.inqmy.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:140)
                              at com.inqmy.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:184)
                              at com.inqmy.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:157)
                              at com.inqmy.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:108)
                              at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
                              at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
                              at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:153)
    05/01/17 10:21:47 -  **********************************************************

    Hi, it looks like the app has trouble starting up:
    05/01/17 10:21:47 - ERROR: ID90506: NOT Deployed. ERROR returned from deploy service :
    com.inqmy.services.deploy.container.DeploymentException: Can't init application carmodeller. com.inqmy.services.servlets_jsp.server.WebApplicationException: ID17110: Error in starting application carmodeller.java.lang.NullPointerException
    Did you have any errors on the compile of the code?
    You also want to check if the app is deployed (if so you may want to remove it before re-deploying it)

  • How deploy MDB example to SAP J2EE 6.20

    Hi,
    I need to <b>deploy a message driven bean to SAPJ2ee6.20</b>, , and for that first i tried to deploy MDB example(.ear file) from SAPj2ee Installation.
    But at deployment phase, it generate exception.
    How can i do this with succes?
    Thanks a lot,

    Hi Bogdan,
    please, do <i>not</i> post the same question three times into different categories - beneath, all three categories have been wrong, this is a deployment question not concerning EP or Java directly nor 6.40 preview, so you should have posted it to "WAS general".
    <i>No</i>, please do <i>not</i> post it a fourth time... People will read it, and if there shouldn't be an answer...
    It is frustrating for people who want to help to read "it generates an exception" - yeah, <i>which one</i>?!
    Thanks for considering these hints in the future
    Detlev

  • URGENT : Error Deploying MDB in 9ias 9.0.3

    Hi
    I am using OJMS and am trying to deploy SLSB and MDB with durable subscriptions to a topic. I have configured the queue table and topic properly. While trying auto deploy of OC4J i am getting the following error...
    Auto-deploying MCAppBEAN.jar (No complete previous deployment found)... Error compiling C:\Oracle9iAS\AppSvr\j2ee\home\appli
    ations\MCApplication/MCAppBEAN.jar: Syntax error in source
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    It says there is error in the source but which source? It does not log any error message into any file ( or is there any file which I dont know about? ).
    When i tried to deploy the application manually ( admin.jar ) it gave me the following exception...
    com.evermind.compiler.CompilationException: Syntax error in source
    at com.evermind.compiler.FileLinkedCompilation.loadObjects(FileLinkedCompilation.java:196)
    at com.evermind.compiler.FileLinkedCompilation.run(FileLinkedCompilation.java:145)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.evermind.compiler.FileLinkedCompiler.compile(FileLinkedCompiler.java:53)
    at com.evermind.server.ejb.compilation.Compilation.compileClasses(Compilation.java:463)
    at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:323)
    at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplicationInstallation.java:556)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:119)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Unknown Source)
    Could any body help me with this... Is there some place where I can configure to see the error messages? Has anybody faced this error earlier?
    Thanks in Advance...

    I have discovered a strange thing. I created a new OC4J instance which I called it: Intelap
    When I deploy to the recently created instance Intelap, jdeveloper success. But when I set OC4J_home in the optional instance field, I got the previous error.
    Sergio

  • Deploying MDB on WebLogic server 8.1 (SP2) with Tibco JMS

    Hi,
              I am currently facing problems to deploy and run my MDB on weblogic connecting it to Tibco JMS as the foreign jms server.
              <br>
              <b>My ejb-jar.xml:</b>
              <br>
              <message-driven>
                        <ejb-name>DeAMMsgFactors</ejb-name>
                        <ejb-class>com.db.deam.mdb.DeAMMsgFactors</ejb-class>
                        <transaction-type>Container</transaction-type>
                        <message-driven-destination>
                             <destination-type>javax.jms.Topic</destination-type>
                        </message-driven-destination>
                   </message-driven>
                   </enterprise-beans>
                   <assembly-descriptor>
                        <security-role>
                                  <role-name>soiadmin</role-name>
                   </security-role>
                   </assembly-descriptor>
              <br>
              <b>weblogic-ejb-jar.xml:</b>
              <br>
              <weblogic-enterprise-bean>
              <ejb-name>DeAMMsgFactors</ejb-name>
              <message-driven-descriptor>
              <pool>
              <max-beans-in-free-pool>20</max-beans-in-free-pool>
              <initial-beans-in-free-pool>10</initial-beans-in-free-pool>
              </pool>
              <destination-jndi-name>WLFactorsTopic</destination-jndi-name>
              <connection-factory-jndi-name>WLFactorsCF</connection-factory-jndi-name>
              <jms-polling-interval-seconds>10</jms-polling-interval-seconds>
              </message-driven-descriptor>
              <transaction-descriptor>
              <trans-timeout-seconds>100000</trans-timeout-seconds>
              </transaction-descriptor>
                   </weblogic-enterprise-bean>
                   <security-role-assignment>
              <role-name>soiadmin</role-name>
              <principal-name>jmsusername</principal-name>
                   </security-role-assignment>
              <br>
              <b>Error:</b>
              weblogic.ejb20.WLDeploymentException: [EJB:011014]The Message-Driven EJB failed while creating a JMS Connection. The err
              or was:
              javax.jms.JMSSecurityException: invalid name or password.
              javax.jms.JMSSecurityException: invalid name or password
              at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:395)
              at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:581)
              at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:1743)
              at com.tibco.tibjms.TibjmsTopicConnection.<init>(TibjmsTopicConnection.java:35)
              at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:92)
              at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:121)
              at com.tibco.tibjms.TibjmsTopicConnectionFactory.createTopicConnection(TibjmsTopicConnectionFactory.java:66)
              at weblogic.ejb20.internal.JMSConnectionPoller.getConnection(JMSConnectionPoller.java:607)
              at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection(JMSConnectionPoller.java:1783)
              at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS(JMSConnectionPoller.java:1087)
              at weblogic.ejb20.internal.JMSConnectionPoller.trigger(JMSConnectionPoller.java:970)
              at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
              at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
              at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:50)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              at weblogic.ejb20.internal.JMSConnectionPoller.getConnection(JMSConnectionPoller.java:638)
              at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection(JMSConnectionPoller.java:1783)
              at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS(JMSConnectionPoller.java:1087)
              at weblogic.ejb20.internal.JMSConnectionPoller.trigger(JMSConnectionPoller.java:970)
              at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
              at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
              at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:50)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              [JMSConnectionPoller] : ** Connect attempt for: WLFactorsTopic was: unsuccessful
              <br>
              <u><b>Any help would be appreciated.</b></u>
              <br>
              Thanks,<br>
              Kiran Kumar MV.

    I was able to use MDB to receive msg from a Tibco JMS queue. This is what you have to do: using WL console,
              - set up a foreign JMS Server. Make sure you specify the following correctly: jndi initial context factory (tibjms class), tibjms server url, username/password
              - create a foreign connection factory (if you are using CMT, make sure you create a XA compliant connection factory in Tibco JMS server). It seems that you have to specify URL again when creating XA connection factory in Tibjms.
              - create a foreign destination (queue/topic)
              In ejb-jar.xml and weblogic-ejb-jar.xml,
              - use resource-ref (wrapper) to specify the foreign connection factory
              - use resource-env-ref to specify the foreign destination.
              - In MDB ejb-jar.xml, specify destination-jndi-name and connection-factory-jndi-name.
              See Message Driven Beans chapter in Programming WebLogic EJB doc.
              Good luck.

  • Error when deploying MDB : when connecting to my destination

    I am getting this followin error in my webLogic server 7.0 log:
    The Error was:
    The Message-Driven EJB attempted to connect to the JMS destination with the JNDI
    name:
    multiPub1. However, the object with the JNDI name: multiPub1 is not a JMS destination
    , or the destination found was of the wrong type (Topic or Queue).>
    <May 18, 2003 11:13:34 AM PDT> <Warning> <EJB> <010096> <The Message-Driven EJB:
    simpl
    eMDB is unable to connect to the JMS destination: multiPub1. Connection failed
    after 2
    ,592 attempts. The MDB will attempt to reconnect every 10 seconds, this log message
    wi
    ll repeat every 600 seconds until the condition clears.>
    <May 18, 2003 11:13:34 AM PDT> <Warning> <EJB> <010061> <The Message-Driven EJB:
    simpl
    eMDB is unable to connect to the JMS destination: multiPub1. The EJB container
    will au
    tomatically attempt to re-establish the connection with the JMS server. This warning
    m
    ay occur during WebLogic Cluster start-up if the JMS destination is located on
    another
    server. When the JMS server connection is re-established, the Message-Driven
    EJB will
    again receive JMS messages.
    I have the destination defined. I am working with multiple JMS providers. I am
    not using startup class. I read the white paper and am following directions. It
    can recognise my Connection Factory but not my destination. I defined the destination
    in the JNDI tree using the weblogic Admin console. I also have the destination
    defined in my SUN's JNDI provider. The bean is deployed but I keep getting this
    error.
    PLEASE HELP!
    sheela

    There are a lot of reason to caused it,but the fact reason is that your destination doesnot exist in weblogic server jndi tree.

  • Deploying mdb in weblogic 9.0

    i have a simple mdb aplication ..
    i have deloyed it in weblogic 9.0..
    but it is showing error in connection factory
    JNDI Name..like replace the JNdi name ..
    pls hel me out to solve the problem
    thank u

    We discovered that BEA uses a directory named "autodeploy". By dropping our Jackrabbit 1.1 RAR file (resource adapter), BEA would auto-deploy it. No need to deal with the buggy WebLogic Admin console.
    Needed to add the weblogic-ra.xml file to the META-INF directory, and set it up properly. Re-jar it all up as a .rar file, then copy it to the autodeploy directory. The other step is to make sure that the target repository directory exists (I pre-created [bea_home]/jackrabbit/ directory), and that the repository.xml file is already there before you deploy your .rar. Then start up the sample portal server, and the rar file will deploy as a resource adapter. To see it, go into the main server console, click on Deployments > Monitoring > Resource Adapters > Outbound Connection Pools. Jackrabbit should show up there.
    This was the directory in which we dropped our RAR for testing:
    [bea_home]/weblogic92/samples/domains/portal/autodeploy
    Start the sample portal server at:
    Windows
    [bea_home]/weblogic92/samples/domains/portal/bin/startWebLogic.cmd
    UNIX
    [bea_home]/weblogic92/samples/domains/portal/bin/startWebLogic.sh
    NOTE: This didn't end our headaches. Now we're dealing with Jackrabbit creating connections and never releasing them. Hundreds and hundreds of connections, until it runs out of its connection pool. Hideous. But that's a problem for another thread.
    Message was edited by:
    LanceZechinato

  • Error in Deploying MDB with OJMS

    I am getting the following error while trying to dequeue with MDB working with OJMS in oc4j 10.1.2 standalone container.
    java.lang.InstantiationException: Error: invalid arguments in call
    at com.evermind.server.jms.OrionServerSessionPool.getServerSessionFull(OrionServerSessionPool.java:641)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:877)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:595)
    06/01/30 06:44:07 MessageDrivenHome::run: dequeue FAILED; attempting to re-acquire JMS session for blocking receive
    06/01/30 06:44:07 MessageDrivenHome::run: retry_cnt=3 this.dequeue_retry_cnt=3 this.dequeue_retry_interval=90
    06/01/30 06:44:07 Error listening to 'AD_QUEUE'
    Please let me know if there is a solution to this problem.

    Maybe this would help - MDB configured on AQ in database using OJMS:
    In ejb-jar.xml there is MDB configured as follows:
    <transaction-type>Bean</transaction-type>
    <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
    <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    <subscription-durability>Durable</subscription-durability>
    </message-driven-destination>
    In orion-ejb-jar.xml there is this line concerning mentioned EJB:
    <orion-ejb-jar>
    <enterprise-beans>
    <message-driven-deployment name="TestMDB" connection-factory-location="java:comp/resource/TestOjms/QueueConnectionFactories/qcf" destination-location="java:comp/resource/TestOjms/Queues/NESS.AQ_MW" max-instances="5" min-instances="2"/>
    </enterprise-beans>
    </orion-ejb-jar>
    OJMS itself is configured in orion-application.xml:
    <orion-application>
    <data-sources path="data-sources.xml"/>
    <resource-provider class="oracle.jms.OjmsContext" name="TestOjms">
    <description>OJMS Context Using a datasource</description>
    <property name="datasource" value="jdbc/TestDS"/>
    </resource-provider>
    </orion-application>
    and datasource is in data-sources.xml:
    <data-source name="TestDS"
    location="jdbc/TestDSCore"
    ejb-location="jdbc/TestDS"
    xa-location="jdbc/xa/TestDS"
    class="com.evermind.sql.DriverManagerDataSource"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="xxx"
    password="yyy"
    url="jdbc:oracle:thin:@mytest.prg.appg.com:1521:ORCL"
    inactivity-timeout="30">
    </data-source>
    I don't think there is anything more in configuration.
    Myrra

  • Deploy MDBs in Different WL Instances Subscribed to Same Topic

              Let's say I have MDBs X, Y, and Z, each needing to be deployed to a different Weblogic
              server. All need to subscribe to the same Topic. How is this done? Specifically,
              how is the Topic configured and how are the MBDs deployed?
              Thanks,
              Jim Goodwin
              

    For your reading enjoyment, I'm posting some of my
              internal notes on durable subscriber MDB's. This consolidates
              newsgroup information in one place.
              Jim Goodwin wrote:
              > "Jim Goodwin" <[email protected]> wrote:
              >
              >>Let's say I have MDBs X, Y, and Z, each needing to be deployed to a different
              >>Weblogic
              >>server. All need to subscribe to the same Topic. How is this done? Specifically,
              >>how is the Topic configured and how are the MBDs deployed?
              >>
              >>Thanks,
              >>
              >>Jim Goodwin
              >
              >
              > Bah! Nevermind. I found the information I was looking for in other threads.
              A durable topic subscriber MDB uses its name to generate its client-id.
              Since JMS enforces uniqueness on this client-id, this means that if a durable
              subscriber MDB is deployed to multiple servers only one server will be able
              to connect. Some applications want a different behavior where
              each MDB pool on each server gets its own durable subscription.
              The MDB durable subscription id, which must be unique on its topic, comes from:
              1) <jms-client-id>MyClientID</jms-client-id>
              (the weblogic dtd)
              2) if (1) is not set then the client-id
              comes from the ejb name.
              The durable subscription is uniquely identified within a cluster by a
              combination of "connection-id" and "subscription-id". Only one active
              connection may use a particular "connection-id" within a WebLogic cluster.
              The connection id comes from:
              1) The "ClientId" attribute configured on the WebLogic connection factory.
              This defaults to null. Note that if the ClientId is set on a connection
              factory, only one connection created by the factory
              may be active at a time.
              2) If (1) is not set, then, as with the subscriber-id,
              the connection-id is derived from jms-client-id descriptor attribute:
              <jms-client-id>MyClientID</jms-client-id>
              (the weblogic dtd)
              3) If (1) and (2) are not set, then, as with the subscriber-id,
              the connection-id is derived from the ejb name.
              Work-around:
              A) Create a custom connection-factory for each server:
              1) configure "JNDIName" to the same value across all servers
              ("myMDBCF" in this example)
              2) configure "ClientId" to a unique value per server
              3) enable "UserTransactionsEnabled"
              4) enable "XAConnectionFactoryEnabled"
              5) set "AcknowledgePolicy" to "ACKNOWLEDGE_PREVIOUS"
              6) target the CF at a single WebLogic server
              (Number 5 is required for non-transactional topic MDBs)
              B) In the MDB's weblogic-ejb-jar.xml descriptor, set the MDB's connection
              factory to the JNDI name of the custom connection factories configured in
              (A). Optionally, also specify the subscriber-id via the jms-client-id
              attribute.
              <weblogic-ejb-jar>
              <weblogic-enterprise-bean>
              <ejb-name>exampleBean</ejb-name>
              <message-driven-descriptor>
              <connection-factory-jndi-name>myMDBCF</connection-factory-jndi-name>
              <jms-client-id>myClientID</jms-client-id>
              </message-driven-descriptor>
              </weblogic-enterprise-bean>
              </weblogic-ejb-jar>
              C) Target the application at the same servers that have the custom connection
              factories targeted at them.
              Notes/Limitations:
              1) If the MDB is moved from one server to another, the MDB's corresponding
              connection-factory must be moved with it.
              2) This work-around will not work if the destination is not in the same
              cluster as the MDB. (The MDB can not use the local connection factory, which
              contains the connection-id, as connection factories do not work unless they
              are in the same cluster as the destination.)
              3) This work-around will not work for non-WebLogic JMS topics.
              

  • Trouble deploying Java Applet for animation(s) on web site

    I FTP weather radar images up to my host's server, thus onto my web site constantly. As of now, I am successfully doing so with a Java Script. However, I am wanting to do so with a Java Applet.
    The trouble I am having is that the Applet deploys in the browser once on the web site..but the radar images are not being drawn upon thus not showing up to animate. I have a username and password for my web site, but have been told by many that this would not be a prohibitive situation for the Applet to retrieve the images. Thus, I feel that I am coding something wrong causing the Applet to fail in "locating" the images to animate. All files for the Applet are in the same directory as the images I am trying to upload into the Applet, yet still no success. "GR" is the sub directory where the radar image uploaded files are contained within.
    I have attached the coding that I am/have been trying to implement. If anyone can assist I would be greatly appreciative!
    <P>
    <applet archive="aniscode.jar,png.jar" code="AniS.class" align="left" height="800" width="800">
    alt="Java must be installed and working for this animation to work">
    <param name="controls" value="startstop, looprock, toggle, zoom, step, speed, refresh ">
    <param name="backcolor" value="000000">
    <param name="forecolor" value="ffffff">
    <param name="image_window_size" value="800,800">
    <param name="auto_refresh" value="1">
    <param name="toggle_size" value="8,10,5">
    <param name="active_zoom" value="x">
    <param name="pause_percent" value="990">
    <param name="enable_png" value="true
    <param name="basename" value="anim*.png">
    <param name="no_enh" value="true">
    <param name="num_frames" value="10">
    <param name="rate" value="75">
    <param name="image_base" value="http://www.leesweather.net/GR/ ">
    <param name="filenames" value="br1_9.png,br1_8.png,br1_7.png,br1_6.png,br1_5.png,br1_4.png,br1_3.png,br1_2.png,br1_1.png,br1_0.png">
    </applet>

    I FTP weather radar images up to my host's server,
    thus onto my web site constantly. As of now, I am
    successfully doing so with a Java Script.
    However, I am wanting to do so with a Java Applet.
    e trouble I am having is that the Applet deploys in
    the browser once on the web site..but the radar
    images are not being drawn upon thus not showing up
    to animate. I have a username and password for my
    web site, but have been told by many that this would
    not be a prohibitive situation for the Applet to
    retrieve the images. Thus, I feel that I am coding
    something wrong causing the Applet to fail in
    "locating" the images to animate. All files for the
    Applet are in the same directory as the images I am
    trying to upload into the Applet, yet still no
    success. "GR" is the sub directory where the radar
    image uploaded files are contained within.
    I have attached the coding that I am/have been trying
    to implement. If anyone can assist I would be
    greatly appreciative!
    <P>
    <applet archive="aniscode.jar,png.jar"
    code="AniS.class" align="left" height="800"
    width="800">
    alt="Java must be installed and working for this
    animation to work">
    param name="controls" value="startstop, looprock,
    toggle, zoom, step, speed, refresh ">
    <param name="backcolor" value="000000">
    <param name="forecolor" value="ffffff">
    <param name="image_window_size" value="800,800">
    <param name="auto_refresh" value="1">
    <param name="toggle_size" value="8,10,5">
    <param name="active_zoom" value="x">
    <param name="pause_percent" value="990">
    <param name="enable_png" value="true
    <param name="basename" value="anim*.png">
    <param name="no_enh" value="true">
    <param name="num_frames" value="10">
    <param name="rate" value="75">
    <param name="image_base"
    value="http://www.leesweather.net/GR/ ">
    <param name="filenames"
    value="br1_9.png,br1_8.png,br1_7.png,br1_6.png,br1_5.p
    ng,br1_4.png,br1_3.png,br1_2.png,br1_1.png,br1_0.png">
    </applet>I hope you have them properly packed into a jar in which case you can
    use this method...
    Code snippet from hyperview.dev.java.net
    public Image getImageFromJar(String fileName)
    int length = 0;
       if( fileName == null )
           return null;
       Image image = null;
       try
          image = getAppletContext().getImage( getClass().getResource(fileName) );
       catch(Exception exc)
          exc.printStackTrace();
          return (Image)null;
       return image;
    } ///----- Otherwise they should be in the same codebase as the Applet
    // and you can use this call (Way slower to download)
    Image myImage = getAppletContext().getImage(new URL(getCodeBase(),"YOUR_IMAGE_NAME.gif") );Good Luck!
    (T)

  • Error deploying MDB to be instantiated by Oracle AQ

    wanting to deploy my MDB to our AIX box running Dev review 9.0.3, but meanwhile trying to understand and get running under imbedded OC4J on JDev 9.0.2. getting the following message on deploying:-
    Error deploying file:/C:/Program Files/JDev9i_902/j2ee/home/applications/MyMesage/MyMesage.jar homes: JMS Error: invalid arguments in call
    no other useful messages in any of the logs (actually i'm not suggesting that the above is a useful message). i have a client that has successfully created the queuetable, and the queue on Oracle8i, and enqueued several hundred textmessages.
    have put into my j2ee/home/config/application.xml:-
    <!-- Resource provider added to enable MDBs to listen on Oracle AQ queues -->
    <resource-provider class="oracle.jms.OjmsContext" name="OracleAQ">
    <description>
    JDBC access (via datasources.xml) to AQ in Oracle database
    </description>
    <property name="url" value="jdbc:oracle:thin:@av012crmfm:1526:MHCISD"/>
    <property name="username" value="mhcis"/>
    <property name="password" value="mhcis"/>
    <!-- <property name="datasource" value="jdbc/MhcisCoreDS"/> -->
    </resource-provider>
    my jms.xml i have evolved to the following, but not sure if i need all this:-
    <jms-server port="9127">
    <!--     Queue bindings, these queues will be bound to their respective JNDI path for
              later retrieval -->
    <queue name="BLHL7QUEUE" location="java:comp/resource/OracleAQ/Queues/MHCIS.BLHL7QUEUE">
              <description>Bentley HL7 messages queue</description>
    </queue>
    <queue-connection-factory location="java:comp/resource/OracleAQ/QueueConnectionFactories/OracleQCF"
                   username="mhcis" password="mhcis" />
    my ejb-jar.xml is as:-
    <ejb-jar>
    <enterprise-beans>
    <message-driven>
    <ejb-name>MyMesageDrivenEJB</ejb-name>
    <ejb-class>mypackage2.impl.MyMesageDrivenEJBBean</ejb-class>
    <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>MyMesageDrivenEJB</ejb-name>
    <method-name>onMessage</method-name>
    <method-params>
    <method-param>javax.jms.Message</method-param>
    </method-params>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    and finally, my orion-ejb-jar.xml is as:-
    <orion-ejb-jar>
    <enterprise-beans>
    <message-driven-deployment name="MyMesageDrivenEJB"
    destination-location="java:comp/resource/OracleAQ/Queues/MHCIS.BLHL7QUEUE"
    connection-factory-location="java:comp/resource/OracleAQ/QueueConnectionFactories/OracleQCF"
    max-instances="1">
    </message-driven-deployment>
    </enterprise-beans>
    <assembly-descriptor>
    </assembly-descriptor>
    </orion-ejb-jar>
    i think it is something to do with some sun JMS class and JDBC connection. i'm pretty sure that my resource provider (oracle.jms.OjmsContext) is connecting to the database and finding the queue.
    anyone out there have any ideas, or can see something wrong with what i've done here with my configuration.

    Seems OC4J9.0.2 has some problems with AQ/MDB....
    But i have tested a small test case application which uses AQ/MDB in OC4J9.0.3.
    It works fine...So if anyone of you want that let me know abt that...
    i will send it....:-)
    Cheers
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error deploying MDB on weblogic81

    Hi,
    I am tryin to deploy an MDB on weblogic server. I am getting the following error.
    Unable to deploy EJB: C:\bea\weblogic81\server\bin\applications\alert from alert:
    weblogic.ejb20.deployer.DeploymentDescriptorException: Unable to load a class specified in your ejb-jar.xml: com.motorola.tpm.common.alertMgmt.mdb.AlertMDB
    I have checked the jar file the path is correct for the MDb class. ejb-jar.xml looks like beloew.
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <message-driven>
    <ejb-name>AlertMDB</ejb-name>
    <ejb-class>com.motorola.tpm.common.alertMgmt.mdb.AlertMDB</ejb-class>
    <transaction-type>Container</transaction-type>
         <acknowledge-mode>auto-acknowledge</acknowledge-mode>
    <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    </message-driven>
    </enterprise-beans>
    </ejb-jar>
    I am placing the MDB.jar under
    bea\weblogic81\server\bin\applications\alert.
    Do I need to add weblogic-eb-jar.xml to the jar file? or I need to just place it in META-INF folder under alert folder.
    Regards
    Pallavi

    Seems OC4J9.0.2 has some problems with AQ/MDB....
    But i have tested a small test case application which uses AQ/MDB in OC4J9.0.3.
    It works fine...So if anyone of you want that let me know abt that...
    i will send it....:-)
    Cheers
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Trouble deploying TestStand

    Hi,
    I have tried many suggestions and configurations but I still cant get my deployed TestStand to run in other PC. I kept getting "Unable to launch the 'LabVIEW .Application' ActiveX automation server. TestStand cannot find a LabVIEW Development System installed in this computer." My test sequence also uses custom process model. Below are the things that I have done:
    1. Configured the LabVIEW adapter to use RTE and enable "Always Run VI in LabVIEW RTE" in the LabVIEW Advanced Settings under Module tab.
    2. Added configuration .ini files that will be used, including TestExec.ini and TestStandModelModelOptions.ini in workspace.
    3. Enable "Install TestStand Engine" and leave Engine Options/ Drivers and Components as default.
    Below are my questions:
    1. Since I am using custom process model, where should I save this .seq in?Is it in my working directory or TestStand components folder? Reason why I am asking this is because I tried both ways, the latter gave me
    "Warning: This problem will cause an error when building a deployable image or an installer. The following file(s) were not found:
    rfid_read_write.seq in step 'Reset Test Sequence', sequence 'MainSequence', sequence file 'C:\Program Files (x86)\National Instruments\TestStand 4.2.1\Components\Models\TestStandModels\SequentialModel_RFID.seq'"
    Obviously rfid_read_write.seq has already been included and present.
    2. Should I also include this custom process model .seq file in the workspace/deployment?
    3. How to solve the unable to launch LabVIEW.Application issue?
    Thanks.

    Hi, it looks like the app has trouble starting up:
    05/01/17 10:21:47 - ERROR: ID90506: NOT Deployed. ERROR returned from deploy service :
    com.inqmy.services.deploy.container.DeploymentException: Can't init application carmodeller. com.inqmy.services.servlets_jsp.server.WebApplicationException: ID17110: Error in starting application carmodeller.java.lang.NullPointerException
    Did you have any errors on the compile of the code?
    You also want to check if the app is deployed (if so you may want to remove it before re-deploying it)

Maybe you are looking for

  • Problem with Nokia Asha 200 apps

    Hello guys, I am using Nokia Asha 200 and i am quite satisfy with this phone. The only drawback that i can find is that i cannot ue it social prebuild apps, like Social and i cannot use the e-mail app as well. When i open them and accept the license,

  • Basic Silent install of an MSI or EXE applicaiton

    Hello All I am hoping someone can point me in the right direction, as I am still learning much about Powershell. I cant seem to find what I need on the google box without getting my self confused. right now my company uses wrappers.vbs to accomplish

  • Using MacBook Pro as display and keyboard

    Morning. I have an Mac mini Server 2,53 10.6.4 without display and without keyboard. How can I use my MacBook Pro as display and keyboard to configure the server?

  • I am unable to install adobe flash player in my samsung galaxy tab 2

    i am unable to install adobe flash player in my samsung galaxy tab 2 p3100 please give me the reason and solution, kindly contact me at [removed] i am an Indian User

  • Loud fan and static on my 1.83 ghz macbook pro

    hi have been having some moments where my fan just goes on and sounds very loud whenever i start doin a lot of extensive tasks. i also noticed that there is a slight static in the back. is this normal?