  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - XAConnectionFactory not found only in Clusteri | - XAConnectionFactory not found only in Clusteri 2007-11-01 - By seoeng
Back 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 (See http://oss-4.ora-code.com).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 (See http://oss-4.ora-code.com).2.2.GA\server\all\deploy\jms\hajndi-jms-ds.xml C:\jboss-4 (See http://oss-4.ora-code.com).2.2.GA\server\all\deploy\jms\jms-ra.rar C:\jboss-4 (See http://oss-4.ora-code.com).2.2.GA\server\all\deploy-hasingleton\jms\mysql-jdbc-state-service.xml C:\jboss-4 (See http://oss-4.ora-code.com).2.2.GA\server\all\deploy-hasingleton\jms\mysql-jdbc2-service.xml C:\jboss-4 (See http://oss-4.ora-code.com).2.2.GA\server\all\deploy-hasingleton\jms\jbossmq-destinations -service.xml C:\jboss-4 (See http://oss-4.ora-code.com).2.2.GA\server\all\deploy-hasingleton\jms\jbossmq-service.xml C:\jboss-4 (See http://oss-4.ora-code.com).2.2.GA\server\all\deploy-hasingleton\jms\jvm-il-service.xml C:\jboss-4 (See http://oss-4.ora-code.com).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 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |