3 Replies Latest reply on Apr 22, 2013 5:44 AM by praveenkumar annadurai

    XAConnectionFactory not bound

    Ted Yu Newbie

      I deployed JBoss 4.0.3SP1.
      After JBoss is started, I see a lot of the following:
      2006-03-01 10:10:14,634 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Re
      connect failed: JMS provider failure detected:
      javax.naming.NameNotFoundException: XAConnectionFactory not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:514)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:522)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:528)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:281)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)

      Is this configuration issue ?

        • 1. Re: XAConnectionFactory not bound
          Erik Sliman Apprentice

          Try using jmx-console (http://localhost:8080/jmx-console). Click "service=JNDIView", then Invoke on list().

          Look near bottom for "Global JNDI Namespace" and see if it is there.

          Perhaps what you really want to use is "java:JmsXA" which is only in the Java namespace, not global. In this case, you can't have a PROVIDER_URL in your env when you do the lookup because this namespace is only available locally. Just use an InitialContext() without properties.

          • 2. Re: XAConnectionFactory not bound
            Ted Yu Newbie

            I did find Global JNDI Namespace.

            Your suggestion is to modify Java code, right ?
            Can you post the URL where you got this information ?

            Is there any configuration I need to change ?

            BTW The exception happens only in default config of JBoss.

            • 3. Re: XAConnectionFactory not bound
              praveenkumar annadurai Newbie

              Hi Jboss users,

               

              I am also having the same issues, The scenario of my issues is as follows,

               

              Jboss working fine in normal host ie: without webserver connection.

               

              When i try to connect through apache webserver am getting the following exception

              ---

              2013-04-17 00:02:10,021 DEBUG [org.jboss.jms.server.recovery.MessagingXAResourceWrapper] ********************************Failed to connect to server

              javax.naming.NameNotFoundException: XAConnectionFactory not bound

               

               

              Pls assist us to resolve the issue

               

              Thanks in advance

              -praveenkumar