javax.jms.JMSException: Could not create session javax.jms.QueueSession: Error in allocating a connection. Cause: Failed to create session: javax.jms.JMSException: Could not find JNDI object by name [corbaname:iiop:1.2@ucadtestapp:22001#weblogic.jms.XAConnectionFactory]: java.lang.NullPointerException

Oracle Community | 807574 | 10 years ago
  1. 0

    Messages to Weblogic Queue from JCAPS

    Oracle Community | 10 years ago | 807574
    javax.jms.JMSException: Could not create session javax.jms.QueueSession: Error in allocating a connection. Cause: Failed to create session: javax.jms.JMSException: Could not find JNDI object by name [corbaname:iiop:1.2@ucadtestapp:22001#weblogic.jms.XAConnectionFactory]: java.lang.NullPointerException
  2. 0

    My setup consists of clustered OpenMQ and several OpenESB standalone instances. Clustered OpenMQ doesn't bind to localhost. During initialization of JMS-BC following WARNING is generated. kwi 17, 2015 11:21:10 PM com.sun.messaging.jmq.jmsclient.ExceptionHandler throwConnectionException WARNING: [C4003]: Error occurred on connection creation [localhost:7676]. - cause: java.net.ConnectException: Connection refused kwi 17, 2015 11:21:10 PM com.sun.jbi.jmsbc.recovery.JMSXARecovery recover WARNING: JMSBC-W0504: Failed to register XAResource (registerXAResource) to connection mq://localhost:7676 for transaction recovery; will try agai n on next JMS BC initialization javax.jms.JMSException: JMSJCA-E034: Could not create session javax.jms.QueueSession: JMSJCA-E073: Could not allocate connection: JMSJCA-E084: Failed to create session: [C4003]: Error occurred on connection creation [localhost:7676]. - cause: java.net.ConnectException: Connection refused at com.stc.jmsjca.util.Exc.jmsExc(Exc.java:113) at com.stc.jmsjca.core.JConnection.createSessionByApplication(JConnection.java:153) at com.stc.jmsjca.core.JConnection.createQueueSession(JConnection.java:286) at com.stc.jmsjca.core.WQueueConnection.createQueueSession(WQueueConnection.java:58) at com.sun.jbi.jmsbc.recovery.JMSXARecoveryHelper.getXAResource(JMSXARecoveryHelper.java:146) at com.sun.jbi.jmsbc.recovery.JMSXARecovery.recover(JMSXARecovery.java:94) at com.sun.jbi.jmsbc.JMSBindingComponent.init(JMSBindingComponent.java:276) at com.sun.jbi.framework.ComponentFramework.initializeComponent(ComponentFramework.java:1205) at com.sun.jbi.framework.ComponentFramework.initializeComponent(ComponentFramework.java:1169) at com.sun.jbi.framework.ComponentOperation.process(ComponentOperation.java:228) at com.sun.jbi.framework.Operation.run(Operation.java:104) at java.lang.Thread.run(Thread.java:745) Caused by: javax.resource.ResourceException: JMSJCA-E073: Could not allocate connection: JMSJCA-E084: Failed to create session: [C4003]: Error occurred on connection creation [localhost:7676]. - cause: java.net.ConnectException: Connection refused at com.stc.jmsjca.util.Exc.rsrcExc(Exc.java:74) at com.stc.jmsjca.core.XDefaultConnectionManager.obtainConnection(XDefaultConnectionManager.java:564) at com.stc.jmsjca.core.XDefaultConnectionManager.allocateConnection(XDefaultConnectionManager.java:419) at com.stc.jmsjca.core.JConnection.createSessionByApplication(JConnection.java:131) ... 10 more Caused by: javax.resource.ResourceException: JMSJCA-E084: Failed to create session: [C4003]: Error occurred on connection creation [localhost:7676]. - cause: java.net.ConnectException: Connection refused at com.stc.jmsjca.util.Exc.rsrcExc(Exc.java:74) at com.stc.jmsjca.core.XManagedConnection.<init>(XManagedConnection.java:123) at com.stc.jmsjca.core.XManagedConnectionFactory.createManagedConnection(XManagedConnectionFactory.java:272) at com.stc.jmsjca.core.XDefaultConnectionManager.obtainConnection(XDefaultConnectionManager.java:511) ... 12 more

    JIRA | 2 years ago | Jakub Grabowski
    javax.jms.JMSException: JMSJCA-E034: Could not create session javax.jms.QueueSession: JMSJCA-E073: Could not allocate connection: JMSJCA-E084: Failed to create session: [C4003]: Error occurred on connection creation [localhost:7676]. - cause: java.net.ConnectException: Connection refused
  3. 0

    Urgent: JMS Client connection - Toolbox for IT Groups

    ittoolbox.com | 1 year ago
    javax.jms.JMSException: Could not create session javax.jms.QueueSession: Error in allocating a connection. Cause: Wait time (30000 ms) for obtaining a connection has been exceeded. (Max-pool-size= 32; total connections = 32; free connections = 0)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    2010-12-12 - 達人プログラマーを目指して

    ne.jp | 4 months ago
    javax.jms.JMSException: Could not create a session: javax.jms.IllegalStateException: Only allowed one session per connection. See the J2EE spec, e.g. J2EE1.4 Section 6.6
  6. 0

    Could not find Session Registrations

    Google Groups | 2 decades ago | Andre Mendonca
    javax.jms.JMSException: Could not find Session Registrations

    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.jms.JMSException

      Could not create session javax.jms.QueueSession: Error in allocating a connection. Cause: Failed to create session: javax.jms.JMSException: Could not find JNDI object by name [corbaname:iiop:1.2@ucadtestapp:22001#weblogic.jms.XAConnectionFactory]: java.lang.NullPointerException

      at com.stc.jmsjca.util.Exc.jmsExc()
    2. com.stc.jmsjca
      WQueueConnection.createQueueSession
      1. com.stc.jmsjca.util.Exc.jmsExc(Exc.java:92)
      2. com.stc.jmsjca.core.JConnection.createSessionByApplication(JConnection.java:139)
      3. com.stc.jmsjca.core.JConnection.createQueueSession(JConnection.java:270)
      4. com.stc.jmsjca.core.WQueueConnection.createQueueSession(WQueueConnection.java:58)
      4 frames
    3. com.stc.codegen
      JMSAdapterFactory$QueueJMSAdapter.createSession
      1. com.stc.codegen.appconn.jms.JMSAdapterFactory$QueueJMSAdapter.createSession(JMSAdapterFactory.java:316)
      1 frame