0 Replies Latest reply on Aug 31, 2012 4:13 AM by Jboss User123

    javax.naming.NameNotFoundException: XAConnectionFactory not bound in jboss-eap-4.3 version

    Jboss User123 Newbie

      I'm running Jboss in a clustered environment and getting the below exception on posting/receiving any message in a JMS Queue.

       

      <Errors>

          <Error ErrorCode="JMSContext6"

              ErrorDescription="Error description not available" ErrorRelatedMoreInfo="">

              <Attribute Name="ErrorCode" Value="JMSContext6"/>

              <Attribute Name="ErrorDescription" Value="Error description not available"/>

              <Error ErrorCode="javax.naming.NameNotFoundException"

                  ErrorDescription="" ErrorRelatedMoreInfo="XAConnectionFactory not bound">

                  <Stack>javax.naming.NameNotFoundException: XAConnectionFactory not bound&#xd;

                at org.jnp.server.NamingServer.getBinding(NamingServer.java:581)&#xd;

                at org.jnp.server.NamingServer.getBinding(NamingServer.java:589)&#xd;

                at org.jnp.server.NamingServer.getObject(NamingServer.java:595)&#xd;

                at org.jnp.server.NamingServer.lookup(NamingServer.java:342)&#xd;

                at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)&#xd;

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#xd;

                at java.lang.reflect.Method.invoke(Method.java:585)&#xd;

                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)&#xd;

                at sun.rmi.transport.Transport$1.run(Transport.java:153)&#xd;

                at java.security.AccessController.doPrivileged(Native Method)&#xd;

                at sun.rmi.transport.Transport.serviceCall(Transport.java:149)&#xd;

                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)&#xd;

                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)&#xd;

                at java.lang.Thread.run(Thread.java:595)&#xd;

                at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)&#xd;

                at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)&#xd;

                at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)&#xd;

                at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)&#xd;

                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)&#xd;

                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)&#xd;

                at javax.naming.InitialContext.lookup(InitialContext.java:351)&#xd;

                at com.yantra.interop.services.jms.JMSProducer.getConnectionFactoryFromJNDI(JMSProducer.java:669)&#xd;

                at com.yantra.interop.services.jms.JMSProducer.connectToMainJMS(JMSProducer.java:467)&#xd;

                at com.yantra.interop.services.jms.JMSProducer.access$500(JMSProducer.java:57)&#xd;

                at com.yantra.interop.services.jms.JMSProducer$1.retry(JMSProducer.java:426)&#xd;

                at com.yantra.interop.services.jms.JMSProducer.executeWithRetry(JMSProducer.java:343)&#xd;

                at com.yantra.interop.services.jms.JMSProducer.connectAndSendToCurrentServer(JMSProducer.java:421)&#xd;

                at com.yantra.interop.services.jms.JMSProducer.connectAndSend(JMSProducer.java:377)&#xd;

                at com.yantra.interop.services.jms.JMSProducer.send(JMSProducer.java:291)&#xd;

                at com.yantra.interop.services.jms.JMSContextMediator.dispatchMessage(JMSContextMediator.java:127)&#xd;

                at com.yantra.interop.services.jms.JMSCallback.sendMessage(JMSCallback.java:85)&#xd;

                at com.yantra.interop.services.flowcomponents.TransportFlowComponent.execute(TransportFlowComponent.java:94)&#xd;

                at com.yantra.interop.services.flowcomponents.TransportFlowComponent.send(TransportFlowComponent.java:141)&#xd;

                at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:385)&#xd;

                at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:225)&#xd;

                at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)&#xd;

                at com.yantra.interop.client.InteropHttpServlet.handleApiRequest(InteropHttpServlet.java:271)&#xd;

                at com.yantra.interop.client.InteropHttpServlet.processRequest(InteropHttpServlet.java:115)&#xd;

                at com.yantra.interop.client.InteropHttpServlet.doPost(InteropHttpServlet.java:96)&#xd;

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)&#xd;

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;

                at com.sterlingcommerce.woodstock.ui.dlsso.DLSSOFilter.doFilter(DLSSOFilter.java:133)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;

                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)&#xd;

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)&#xd;

                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)&#xd;

                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)&#xd;

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)&#xd;

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)&#xd;

                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)&#xd;

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)&#xd;

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)&#xd;

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)&#xd;

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)&#xd;

                at java.lang.Thread.run(Thread.java:595)&#xd;

      </Stack>

              </Error>

              <Stack>com.yantra.interop.services.ServiceConfigurationException&#xd;

                at com.yantra.interop.services.jms.JMSProducer.getConnectionFactoryFromJNDI(JMSProducer.java:672)&#xd;

                at com.yantra.interop.services.jms.JMSProducer.connectToMainJMS(JMSProducer.java:467)&#xd;

                at com.yantra.interop.services.jms.JMSProducer.access$500(JMSProducer.java:57)&#xd;

                at com.yantra.interop.services.jms.JMSProducer$1.retry(JMSProducer.java:426)&#xd;

                at com.yantra.interop.services.jms.JMSProducer.executeWithRetry(JMSProducer.java:343)&#xd;

                at com.yantra.interop.services.jms.JMSProducer.connectAndSendToCurrentServer(JMSProducer.java:421)&#xd;

                at com.yantra.interop.services.jms.JMSProducer.connectAndSend(JMSProducer.java:377)&#xd;

                at com.yantra.interop.services.jms.JMSProducer.send(JMSProducer.java:291)&#xd;

                at com.yantra.interop.services.jms.JMSContextMediator.dispatchMessage(JMSContextMediator.java:127)&#xd;

                at com.yantra.interop.services.jms.JMSCallback.sendMessage(JMSCallback.java:85)&#xd;

                at com.yantra.interop.services.flowcomponents.TransportFlowComponent.execute(TransportFlowComponent.java:94)&#xd;

                at com.yantra.interop.services.flowcomponents.TransportFlowComponent.send(TransportFlowComponent.java:141)&#xd;

                at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:385)&#xd;

                at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:225)&#xd;

                at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)&#xd;

                at com.yantra.interop.client.InteropHttpServlet.handleApiRequest(InteropHttpServlet.java:271)&#xd;

                at com.yantra.interop.client.InteropHttpServlet.processRequest(InteropHttpServlet.java:115)&#xd;

                at com.yantra.interop.client.InteropHttpServlet.doPost(InteropHttpServlet.java:96)&#xd;

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)&#xd;

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;

                at com.sterlingcommerce.w

      2012-07-26 13:02:26,462 INFO  [STDOUT] oodstock.ui.dlsso.DLSSOFilter.doFilter(DLSSOFilter.java:133)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;

                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)&#xd;

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)&#xd;

                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)&#xd;

                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)&#xd;

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)&#xd;

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)&#xd;

                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)&#xd;

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)&#xd;

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)&#xd;

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)&#xd;

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)&#xd;

                at java.lang.Thread.run(Thread.java:595)&#xd;

      </Stack>

          </Error>

          <Error

              ErrorCode="com.yantra.interop.services.ServiceConfigurationException"

              ErrorDescription="Error description not available" ErrorRelatedMoreInfo="">

              <Attribute Name="ErrorCode" Value="com.yantra.interop.services.ServiceConfigurationException"/>

              <Attribute Name="ErrorDescription" Value="Error description not available"/>

              <Stack>com.yantra.interop.services.MessagingException&#xd;

                at com.yantra.interop.services.jms.JMSCallback.sendMessage(JMSCallback.java:89)&#xd;

                at com.yantra.interop.services.flowcomponents.TransportFlowComponent.execute(TransportFlowComponent.java:94)&#xd;

                at com.yantra.interop.services.flowcomponents.TransportFlowComponent.send(TransportFlowComponent.java:141)&#xd;

                at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:385)&#xd;

                at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:225)&#xd;

                at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)&#xd;

                at com.yantra.interop.client.InteropHttpServlet.handleApiRequest(InteropHttpServlet.java:271)&#xd;

                at com.yantra.interop.client.InteropHttpServlet.processRequest(InteropHttpServlet.java:115)&#xd;

                at com.yantra.interop.client.InteropHttpServlet.doPost(InteropHttpServlet.java:96)&#xd;

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)&#xd;

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;

                at com.sterlingcommerce.woodstock.ui.dlsso.DLSSOFilter.doFilter(DLSSOFilter.java:133)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;

                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&#xd;

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&#xd;

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)&#xd;

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)&#xd;

                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)&#xd;

                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)&#xd;

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)&#xd;

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)&#xd;

                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)&#xd;

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&#xd;

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)&#xd;

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)&#xd;

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)&#xd;

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)&#xd;

                at java.lang.Thread.run(Thread.java:595)&#xd;

      </Stack>

          </Error>

      </Errors>

       

      If any one has resolved this problem,please help!