javax.resource.spi.ResourceAdapterInternalException: Looking up java:comp/resource/oc4jjms/jms/TopicConnectionFactory: javax.naming.NameNotFoundException: No resource named 'oc4jjms/jms/TopicConnectionFactory'found

Oracle Community | sameer h | 9 years ago
  1. 0

    Failed to start SOA suite 10.1.3.1

    Oracle Community | 9 years ago | sameer h
    javax.resource.spi.ResourceAdapterInternalException: Looking up java:comp/resource/oc4jjms/jms/TopicConnectionFactory: javax.naming.NameNotFoundException: No resource named 'oc4jjms/jms/TopicConnectionFactory'found
  2. 0

    JMS Connector WebSphere MQ JMS Problems

    Oracle Community | 1 decade ago | 236132
    javax.resource.spi.ResourceAdapterInternalException: Looking up java:comp/resource/MQJMSReference/mqxacf: javax.naming.NameNotFoundException mqxacf 'found I assume the problem is that I don't have an appropriate WebShpere binding for the resource. Before going through the mentioned How-to, I followed the install instructions in: http://www.oracle.com/technology/tech/java/oc4j/1003/how_to/jcajmsmq/doc/Install.html In order to create a queue manager, a queue, a topic and the appropriate bindings. After following the previous document, I end up with the following bindings (listing obtained using JMSAdmin console): InitCtx> dis ctx Contents of InitCtx .bindings java.io.File a MQXAQCF com.ibm.mq.jms.MQXAQueueConnectionFactory a MQTCF com.ibm.mq.jms.MQTopicConnectionFactory a MQQCF com.ibm.mq.jms.MQQueueConnectionFactory a MQQ com.ibm.mq.jms.MQQueue a MQT com.ibm.mq.jms.MQTopic a MQXATCF com.ibm.mq.jms.MQXATopicConnectionFactory 7 Object(s) 0 Context(s) 7 Binding(s), 6 Administered And as you can see there is no mqxacf binding. So the question is, should I define a new binding with that name? If so, what would be the command (def xacf(mqxacf) ?) As you can see, ther is a MQXAQCF binding so Instead of defining a new mqxacf (which I really don't know how to do...) I thought that maybe I could use this one, being a xa queue connection factory instead of a plain xa connection factory. This is used by the MDB, so I modified orion-ejb-jar.xml changing: <resource-ref-mapping location = "MQJMSRASubcontext/ MyXACF " name = "jms/DealerConnectionFactory"/> <config-property> <config-property-name>ConnectionFactoryJndiName </config-property-name> <config-property-value>MQJMSRASubcontext/ MyXACF </config-property-value> </config-property> for this: <resource-ref-mapping location = "MQJMSRASubcontext/ MyXAQCF " name = "jms/DealerConnectionFactory"/> <config-property> <config-property-name>ConnectionFactoryJndiName </config-property-name> <config-property-value>MQJMSRASubcontext/ MyXAQCF </config-property-value> </config-property> I changed MyXACF with MyXAQCF because oc4j-ra.xml defines a jndi location of mqxacf (which is not beign found in the bindings) for MyXACF while it defines a jndi location of MQXAQCF for MyXAQCF, which is defined in the bindings. With this change, the application deploys ok ... but when I run the client (ant larry) I get the following error (from the client console, not the oc4j console... in the oc4j console, nothing is reported): run-demo: [exec] java.lang.NullPointerException [exec]
  3. 0

    Error when trying to establish a SSL connection over to a MQSeries Adapter

    Oracle Community | 6 years ago | 190747
    javax.resource.spi.ResourceAdapterInternalException: Failed to create managed connection: java.lang.InternalError: erroneous handlers ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    DCM4CHE Support Forums: filecopy Service Dies ...

    dcm4che.org | 1 year ago
    javax.resource.spi.ResourceAdapterInternalException: Unexpected error
  6. 0

    MQSeries.net :: View topic - Problem starting Listener in Websphere

    mqseries.net | 8 months ago
    javax.resource.spi.ResourceAdapterInternalException: createQueueConnection failed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.resource.spi.ResourceAdapterInternalException

      Looking up java:comp/resource/oc4jjms/jms/TopicConnectionFactory: javax.naming.NameNotFoundException: No resource named 'oc4jjms/jms/TopicConnectionFactory'found

      at oracle.j2ee.ra.jms.generic.RAUtils.make()
    2. oracle.j2ee.ra
      CommonFactoryWrapper.localCreateConnection
      1. oracle.j2ee.ra.jms.generic.RAUtils.make(RAUtils.java:525)
      2. oracle.j2ee.ra.jms.generic.RAUtils.lookupUsingResourceProvider(RAUtils.java:265)
      3. oracle.j2ee.ra.jms.generic.CommonManagedConnectionFactoryImpl.getFactory(CommonManagedConnectionFactoryImpl.java:561)
      4. oracle.j2ee.ra.jms.generic.CommonFactoryWrapper.localCreateConnection(CommonFactoryWrapper.java:121)
      4 frames