Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
- 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

©2008 junlu.com - Jax Systems, LLC, U.S.A.