1 Reply Latest reply on Feb 28, 2009 1:29 AM by Rasa Here

    javax.naming.NameNotFoundException: XAConnectionFactory not

    phani Newbie

      HI All

      i am trying to migrate from JBOSS mq to messaging, as i am using jboss 4.0.2 we need download jboss-messaging-1.0.x.zip file i done it , as specified in Jboss messaging users guide, i followed the following process

      1) i have set the JBOSS_HOME to my current jboss and set the ant path
      next i executed ant-f release-admin.xml.
      it created a copy of my default by naming it as messaging..
      next as mentioned in the guide i started server ....but i am getting the following error

      javax.naming.NameNotFoundException: XAConnectionFactory not bound

      can any one suggest what are the files i need to change..

        • 1. Re: javax.naming.NameNotFoundException: XAConnectionFactory
          Rasa Here Novice


          I am using jboss 3.2.5 version and when i starts my jboss it gives following error

          javax.naming.NameNotFoundException: XAConnectionFactory not bound
           at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
           at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
           at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
           at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
           at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)
           at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
           at javax.naming.InitialContext.lookup(InitialContext.java:347)
           at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:686)
           at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
           at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:324)

          I am using JMS technology but and the JMS provider is a 3rd party software. My queue is working fine, but still i am getting this error. Checked JMS consile JNDI view see the out put

          Global JNDI Namespace
           +- HAILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef)

          Please give a solution to solve the issue.