[jboss-user] [Clustering/JBoss] - XAConnectionFactory not found only in Clustering

seoeng do-not-reply at jboss.com
Thu Nov 1 12:49:33 EDT 2007


Ok, before you go off...I have spent the past 2 days researching this error.  Still cannot find my applicable situation.  Things like http://wiki.jboss.org/wiki/Wiki.jsp?page=IGetXAConnectionFactoryNotBoundHowDoIFixIt do not help, as I am not getting any other errors that I can see.

Setup:

jboss-4.2.2.GA
2 nodes in cluster
mysql datasource

I am getting this error when both nodes are in cluster (note I do not get this error when I stop one of the nodes):


  | 01 Nov 2007 10:50:33,031 TRACE [JMSContainerInvoker(MyClass) Reconnect] (ServiceMBeanSupport.java:87) - Constructing
  | 01 Nov 2007 10:50:33,031 DEBUG [JMSContainerInvoker(MyClass) Reconnect] (ServiceMBeanSupport.java:256) - Creating DLQHandler
  | 01 Nov 2007 10:50:33,093 DEBUG [JMSContainerInvoker(MyClass) Reconnect] (ServiceMBeanSupport.java:265) - Initialization failed DLQHandler
  | javax.naming.NameNotFoundException: XAConnectionFactory not bound
  | 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | 	at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | 	at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  | 	at org.jboss.ha.jndi.TreeHead.lookupLocally(TreeHead.java:296)
  | 	at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:215)
  | 	at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
  | 	at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:597)
  | 	at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:312)
  | 	at $Proxy72.lookup(Unknown Source)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
  | 	at javax.naming.InitialContext.lookup(InitialContext.java:392)
  | 	at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:182)
  | 	at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
  | 	at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)
  | 	at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:510)
  | 	at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run(JMSContainerInvoker.java:1428)
  | 	at java.lang.Thread.run(Thread.java:619)
  | 01 Nov 2007 10:50:33,093 ERROR [JMSContainerInvoker(MyClass) Reconnect] (JMSContainerInvoker.java:1435) - Reconnect failed: JMS provider failure detected for MyClass
  | javax.naming.NameNotFoundException: XAConnectionFactory not bound
  | 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | 

files:

C:\jboss-4.2.2.GA\server\all\deploy\jms\hajndi-jms-ds.xml
C:\jboss-4.2.2.GA\server\all\deploy\jms\jms-ra.rar
C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\mysql-jdbc-state-service.xml
C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\mysql-jdbc2-service.xml
C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\jbossmq-destinations-service.xml
C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\jbossmq-service.xml
C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\jvm-il-service.xml
C:\jboss-4.2.2.GA\server\all\deploy-hasingleton\jms\uil2-service.xml

All files are standard default.  These files are normally placed in the deploy/jms directory in the Default server configuration, and it works.  But when they are in a clustered configuration as mentioned above, it gets the errors that the XAConnectionFactory cannot be found.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100990#4100990

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100990



More information about the jboss-user mailing list