javax.transaction.xa.XAException: Error trying to connect to provider java:/DefaultJMSProvider

Stack Overflow | Nikhilesh | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Issue in connecting to Oracle DB while the load is very high

    Stack Overflow | 2 months ago | Nikhilesh
    javax.naming.NameNotFoundException: XAConnectionFactory not bound
  2. 0

    Rarely and at random intervals, messages stop getting delivered to MDB's and no error is produced in server logs, only warnings like the following: {noformat} 18:06:55,650 WARN (Thread-2244 (HornetQ-client-global-threads-17901430)) [org.hornetq.jms.server.recovery.HornetQXAResourceWrapper] Notified of connection failure in xa recovery connectionFactory for provider ClientSessionFactoryImpl [serverLocator=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-invm-InVMConnectorFactory?server-id=0], discoveryGroupConfiguration=null], connectorConfig=org-hornetq-core-remoting-impl-invm-InVMConnectorFactory?server-id=0, backupConfig=null] will attempt reconnect on next pass: HornetQException[errorCode=2 message=Channel disconnected] at org.hornetq.core.client.impl.ClientSessionFactoryImpl.connectionDestroyed(ClientSessionFactoryImpl.java:381) at org.hornetq.core.remoting.impl.invm.InVMConnector$Listener$1.run(InVMConnector.java:203) at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) [warn:320] 18:06:58,493 WARN (Periodic Recovery) [org.hornetq.jms.server.recovery.HornetQXAResourceWrapper] null: javax.transaction.xa.XAException at org.hornetq.core.client.impl.ClientSessionImpl.recover(ClientSessionImpl.java:1536) at org.hornetq.core.client.impl.DelegatingSession.recover(DelegatingSession.java:448) at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.recover(HornetQXAResourceWrapper.java:85) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecovery(XARecoveryModule.java:503) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.resourceInitiatedRecoveryForRecoveryHelpers(XARecoveryModule.java:471) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.bottomUpRecovery(XARecoveryModule.java:385) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:166) at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:789) at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371) [warn:320] 18:07:00,167 WARN (Periodic Recovery) [org.hornetq.jms.server.recovery.HornetQXAResourceWrapper] null: javax.transaction.xa.XAException at org.hornetq.core.client.impl.ClientSessionImpl.recover(ClientSessionImpl.java:1536) at org.hornetq.core.client.impl.DelegatingSession.recover(DelegatingSession.java:448) at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.recover(HornetQXAResourceWrapper.java:85) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecovery(XARecoveryModule.java:503) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.resourceInitiatedRecoveryForRecoveryHelpers(XARecoveryModule.java:471) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.bottomUpRecovery(XARecoveryModule.java:385) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:166) at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:789) at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371) [warn:320] 18:07:00,229 WARN (Periodic Recovery) [com.arjuna.ats.jta] ARJUNA016027: Local XARecoveryModule.xaRecovery got XA exception XAException.XAER_RMERR: javax.transaction.xa.XAException at org.hornetq.core.client.impl.ClientSessionImpl.recover(ClientSessionImpl.java:1536) at org.hornetq.core.client.impl.DelegatingSession.recover(DelegatingSession.java:448) at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.recover(HornetQXAResourceWrapper.java:85) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecovery(XARecoveryModule.java:503) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.resourceInitiatedRecoveryForRecoveryHelpers(XARecoveryModule.java:471) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.bottomUpRecovery(XARecoveryModule.java:385) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkSecondPass(XARecoveryModule.java:166) at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:789) at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371) [xaRecovery:513] 18:07:00,857 WARN (hornetq-failure-check-thread) [org.hornetq.core.server.impl.ServerSessionImpl] Cleared up resources for session 916e3a1f-f5a3-11e1-bba8-07c131a9b769 [warn:316] 18:07:00,858 WARN (hornetq-failure-check-thread) [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl] Connection failure has been detected: Did not receive data from invm:0. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=3] [warn:316] 18:07:00,858 WARN (hornetq-failure-check-thread) [org.hornetq.core.server.impl.ServerSessionImpl] Client connection failed, clearing up resources for session 9134b361-f5a3-11e1-bba8-07c131a9b769 [warn:316] {noformat}

    JBoss Issue Tracker | 5 years ago | Epi Vou
    XAException.XAER_RMERR: javax.transaction.xa.XAException
  3. 0

    JBoss-5 throws NameNotFoundException with arjuna and MySQL-5

    Stack Overflow | 4 years ago | Rob
    javax.naming.NameNotFoundException: DefaultJMSProvider not bound
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 5.74::XA Recovery 99

    hivmr.com | 11 months ago
    javax.transaction.xa.XAException: Error trying to connect to any providers for xa recovery

    6 unregistered visitors
    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.naming.NameNotFoundException

      XAConnectionFactory not bound

      at org.jnp.server.NamingServer.getBinding()
    2. org.jnp.server
      NamingServer.lookup
      1. org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
      2. org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
      3. org.jnp.server.NamingServer.getObject(NamingServer.java:785)
      4. org.jnp.server.NamingServer.lookup(NamingServer.java:443)
      4 frames
    3. org.jnp.interfaces
      NamingContext.lookup
      1. org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
      2. org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
      2 frames
    4. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:392)
      1 frame
    5. JBoss Common Classes
      Util.lookup
      1. org.jboss.util.naming.Util.lookup(Util.java:222)
      1 frame
    6. org.jboss.jms
      MessagingXAResourceWrapper.getDelegate
      1. org.jboss.jms.server.recovery.MessagingXAResourceWrapper.getConnectionFactory(MessagingXAResourceWrapper.java:393)
      2. org.jboss.jms.server.recovery.MessagingXAResourceWrapper.connect(MessagingXAResourceWrapper.java:339)
      3. org.jboss.jms.server.recovery.MessagingXAResourceWrapper.getDelegate(MessagingXAResourceWrapper.java:261)
      3 frames