4 Replies Latest reply on Aug 16, 2005 4:24 PM by sahumada

    Farm Deploy and MDB questions

    sahumada

      Dear all,

      Im having some problems with jboss in a cluster enviroment.

      Im using:
      * Red Hat Enterprise Linux AS release 3 (Taroon Update 4)
      * jboss-4.0.2 with hibernate 2
      * Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
      * Apache 2.0.51-2.9
      * mod_jk

      My fist problem occurs when Im trying to deploy two EARs in farm
      directory for second or third times (not the first one).

      The primary node is called "jboss1" and the second one is called
      "jboss2". I tried deploying in each one as primary node with same
      results.

      Everytime I deploy in farm directory "jboss2" get restarted and
      "jboss1" crashes, the logs are:

      Jboss1

      2005-08-15 21:49:00,425 INFO [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] New cluster view for partition DefaultPartition (id: 1, delta: 1) : [192.168.1.75:1099, 192.168.1.88:1099]
      2005-08-15 21:49:06,101 INFO [org.jboss.cache.TreeCache] viewAccepted(): new members: [jboss1:32813, jboss2:32792]
      2005-08-15 21:49:06,105 INFO [org.jboss.cache.TreeCache] locking the tree to obtain transient state
      2005-08-15 21:49:06,107 INFO [org.jboss.cache.TreeCache] returning the transient state (140 bytes)
      2005-08-15 21:50:25,954 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] undeploy, ctxPath=/ServiceEnginePrincipalWeb, warUrl=file:/opt/jboss-4.0.2/server/all/tmp/deploy/tmp60650ServiceEnginePrincipal.ear-contents/ServiceEnginePrincipalWeb.war/
      2005-08-15 21:50:25,962 INFO [org.jboss.ejb.EJBDeployer] Undeploying: file:/opt/jboss-4.0.2/server/all/tmp/deploy/tmp60650ServiceEnginePrincipal.ear-contents/ServiceEnginePrincipalEJB.jar
      2005-08-15 21:50:25,994 INFO [org.jboss.ejb.EjbModule] Undeployed ExecuterService
      2005-08-15 21:50:25,997 INFO [org.jboss.ejb.EjbModule] Undeployed tester
      2005-08-15 21:50:26,000 INFO [org.jboss.deployment.EARDeployer] Undeploying J2EE application, destroy step: file:/opt/jboss-4.0.2/server/all/farm/ServiceEnginePrincipal.ear
      2005-08-15 21:50:26,409 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] undeploy, ctxPath=/Seguridad, warUrl=file:/opt/jboss-4.0.2/server/all/tmp/deploy/tmp60649Seguridad.ear-contents/SeguridadPresentacion.war/
      2005-08-15 21:50:26,409 INFO [org.jboss.web.tomcat.tc5.session.JBossCacheManager] Stopping JBossManager
      2005-08-15 21:50:26,426 INFO [org.jboss.ejb.EJBDeployer] Undeploying: file:/opt/jboss-4.0.2/server/all/tmp/deploy/tmp60649Seguridad.ear-contents/SeguridadNegocio.jar
      


      Jboss2
      2005-08-15 21:47:47,645 INFO [org.jboss.ha.framework.server.FarmMemberService] doUndeployment(), File: farm/ServiceEnginePrincipal.ear
      2005-08-15 21:47:47,645 INFO [org.jboss.ha.framework.server.FarmMemberService] farmUndeployment(), removed file/opt/jboss-4.0.2/server/all/farm/ServiceEnginePrincipal.ear
      2005-08-15 21:47:47,787 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] undeploy, ctxPath=/ServiceEnginePrincipalWeb, warUrl=file:/opt/jboss-4.0.2/server/all/tmp/deploy/tmp50554ServiceEnginePrincipal.ear-contents/ServiceEnginePrincipalWeb.war/
      2005-08-15 21:47:47,796 INFO [org.jboss.ejb.EJBDeployer] Undeploying: file:/opt/jboss-4.0.2/server/all/tmp/deploy/tmp50554ServiceEnginePrincipal.ear-contents/ServiceEnginePrincipalEJB.jar
      2005-08-15 21:47:47,824 INFO [org.jboss.ejb.EjbModule] Undeployed ExecuterService
      2005-08-15 21:47:47,825 INFO [org.jboss.ejb.EjbModule] Undeployed tester
      2005-08-15 21:47:47,828 INFO [org.jboss.deployment.EARDeployer] Undeploying J2EE application, destroy step: file:/opt/jboss-4.0.2/server/all/farm/ServiceEnginePrincipal.ear
      2005-08-15 21:47:47,892 WARN [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect
      org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.io.EOFException)
       at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
       at org.jboss.mq.Connection.asynchFailure(Connection.java:437)
       at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:156)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:413)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:345)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: java.io.EOFException
       at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2603)
       at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:290)
       ... 1 more
      2005-08-15 21:47:47,892 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:
      org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.io.EOFException)
       at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
       at org.jboss.mq.Connection.asynchFailure(Connection.java:437)
       at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:156)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:413)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:345)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: java.io.EOFException
       at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2603)
       at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:290)
       ... 1 more
      2005-08-15 21:47:47,892 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:
      org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.io.EOFException)
       at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
       at org.jboss.mq.Connection.asynchFailure(Connection.java:437)
       at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:156)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:413)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:345)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: java.io.EOFException
       at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2603)
       at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:290)
       ... 1 more
      2005-08-15 21:47:47,892 WARN [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect
      org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.io.EOFException)
       at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
       at org.jboss.mq.Connection.asynchFailure(Connection.java:437)
       at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:156)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:413)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:345)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: java.io.EOFException
       at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2603)
       at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:290)
       ... 1 more
      2005-08-15 21:47:47,895 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could not stop JMS connection
      org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server; - nested throwable: (java.io.IOException: Client is not connected)
       at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
       at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51)
       at org.jboss.mq.Connection.doStop(Connection.java:1235)
       at org.jboss.mq.Connection.stop(Connection.java:696)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStop(JMSContainerInvoker.java:1001)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1460)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: java.io.IOException: Client is not connected
       at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:238)
       at org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:206)
       at org.jboss.mq.il.uil2.UILServerIL.setEnabled(UILServerIL.java:189)
       at org.jboss.mq.Connection.doStop(Connection.java:1231)
       ... 4 more
      2005-08-15 21:47:47,896 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could not stop JMS connection
      org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server; - nested throwable: (java.io.IOException: Client is not connected)
       at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
       at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51)
       at org.jboss.mq.Connection.doStop(Connection.java:1235)
       at org.jboss.mq.Connection.stop(Connection.java:696)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStop(JMSContainerInvoker.java:1001)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1460)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: java.io.IOException: Client is not connected
       at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:238)
       at org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:206)
       at org.jboss.mq.il.uil2.UILServerIL.setEnabled(UILServerIL.java:189)
       at org.jboss.mq.Connection.doStop(Connection.java:1231)
       ... 4 more
      2005-08-15 21:47:47,899 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Stopping failed DLQHandler
      org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server; - nested throwable: (java.io.IOException: Client is not connected)
       at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
       at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51)
       at org.jboss.mq.Connection.doStop(Connection.java:1235)
       at org.jboss.mq.Connection.stop(Connection.java:696)
       at org.jboss.ejb.plugins.jms.DLQHandler.stopService(DLQHandler.java:177)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:320)
       at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:183)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalDestroy(ServiceMBeanSupport.java:356)
       at org.jboss.system.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java:198)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.destroyService(JMSContainerInvoker.java:1061)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1468)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: java.io.IOException: Client is not connected
       at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:238)
       at org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:206)
       at org.jboss.mq.il.uil2.UILServerIL.setEnabled(UILServerIL.java:189)
       at org.jboss.mq.Connection.doStop(Connection.java:1231)
       ... 9 more
      2005-08-15 21:47:47,899 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Stopping failed DLQHandler
      org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server; - nested throwable: (java.io.IOException: Client is not connected)
       at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
       at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51)
       at org.jboss.mq.Connection.doStop(Connection.java:1235)
       at org.jboss.mq.Connection.stop(Connection.java:696)
       at org.jboss.ejb.plugins.jms.DLQHandler.stopService(DLQHandler.java:177)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:320)
       at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:183)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalDestroy(ServiceMBeanSupport.java:356)
       at org.jboss.system.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java:198)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.destroyService(JMSContainerInvoker.java:1061)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1468)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: java.io.IOException: Client is not connected
       at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:238)
       at org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:206)
       at org.jboss.mq.il.uil2.UILServerIL.setEnabled(UILServerIL.java:189)
       at org.jboss.mq.Connection.doStop(Connection.java:1231)
       ... 9 more
      2005-08-15 21:47:49,394 INFO [org.jboss.cache.TreeCache] viewAccepted(): new members: [jboss2:32792]
      2005-08-15 21:47:57,906 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to JMS provider
      2005-08-15 21:47:57,906 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to JMS provider
      2005-08-15 21:48:09,876 WARN [org.jgroups.protocols.FD] ping_dest is null: members=[jboss1:32810 (additional data: 17 bytes), jboss2:32789 (additional data: 17 bytes)], pingable_mbrs=[jboss2:32789 (additional data: 17 bytes)], local_addr=jboss2:32789 (additional data: 17 bytes)
      2005-08-15 21:48:10,377 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Initialization failed DLQHandler
      javax.naming.NameNotFoundException: XAConnectionFactory
       at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
       at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:187)
       at $Proxy56.lookup(Unknown Source)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
       at javax.naming.InitialContext.lookup(InitialContext.java:347)
       at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238)
       at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:165)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:597)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:922)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1492)
       at java.lang.Thread.run(Thread.java:534)
      2005-08-15 21:48:10,378 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:
      javax.naming.NameNotFoundException: XAConnectionFactory
       at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
       at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:187)
       at $Proxy56.lookup(Unknown Source)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
       at javax.naming.InitialContext.lookup(InitialContext.java:347)
       at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238)
       at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:165)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:597)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:922)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1492)
       at java.lang.Thread.run(Thread.java:534)
      2005-08-15 21:48:10,377 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Initialization failed DLQHandler
      javax.naming.NameNotFoundException: XAConnectionFactory
       at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
       at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:187)
       at $Proxy133.lookup(Unknown Source)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
       at javax.naming.InitialContext.lookup(InitialContext.java:347)
       at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238)
       at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:165)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:597)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:922)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1492)
       at java.lang.Thread.run(Thread.java:534)
      2005-08-15 21:48:10,377 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Suspected member: jboss1:32810 (additional data: 17 bytes)
      2005-08-15 21:48:10,379 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS provider
      2005-08-15 21:48:10,380 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:
      javax.naming.NameNotFoundException: XAConnectionFactory
       at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
       at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:187)
       at $Proxy133.lookup(Unknown Source)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
       at javax.naming.InitialContext.lookup(InitialContext.java:347)
       at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238)
       at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:165)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:597)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:922)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1492)
       at java.lang.Thread.run(Thread.java:534)
      2005-08-15 21:48:10,381 INFO [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] New cluster view for partition DefaultPartition (id: 2, delta: -1) : [192.168.1.88:1099]
      2005-08-15 21:48:10,381 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS provider
      2005-08-15 21:48:10,808 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/opt/jboss-4.0.2/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      2005-08-15 21:48:11,047 INFO [org.jboss.mq.server.jmx.Queue.A] Bound to JNDI name: queue/A
      2005-08-15 21:48:11,049 INFO [org.jboss.mq.server.jmx.Queue.B] Bound to JNDI name: queue/B
      2005-08-15 21:48:11,052 INFO [org.jboss.mq.server.jmx.Queue.C] Bound to JNDI name: queue/C
      2005-08-15 21:48:11,054 INFO [org.jboss.mq.server.jmx.Queue.D] Bound to JNDI name: queue/D
      2005-08-15 21:48:11,057 INFO [org.jboss.mq.server.jmx.Queue.ex] Bound to JNDI name: queue/ex
      2005-08-15 21:48:11,059 INFO [org.jboss.mq.server.jmx.Queue.LoggingQueue] Bound to JNDI name: queue/LoggingQueue
      2005-08-15 21:48:11,097 INFO [org.jboss.mq.server.jmx.Topic.testTopic] Bound to JNDI name: topic/testTopic
      2005-08-15 21:48:11,100 INFO [org.jboss.mq.server.jmx.Topic.securedTopic] Bound to JNDI name: topic/securedTopic
      2005-08-15 21:48:11,103 INFO [org.jboss.mq.server.jmx.Topic.testDurableTopic] Bound to JNDI name: topic/testDurableTopic
      2005-08-15 21:48:11,106 INFO [org.jboss.mq.server.jmx.Queue.testQueue] Bound to JNDI name: queue/testQueue
      2005-08-15 21:48:11,144 INFO [org.jboss.mq.il.uil2.UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
      2005-08-15 21:48:11,151 INFO [org.jboss.mq.server.jmx.Queue.DLQ] Bound to JNDI name: queue/DLQ
      2005-08-15 21:48:20,386 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to JMS provider
      2005-08-15 21:48:20,386 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to JMS provider
      2005-08-15 21:48:20,473 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS provider
      2005-08-15 21:48:20,473 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS provider
      


      The second problems refers to a clustered queue. I have not been
      able to make work this queue in a clustered enviroment. Im using mod_jk for loadbalancing
      and the only way to get it work it's if the request goes to the first node (the node that
      contains the queue in his jboss.mq.destination) otherwise it does not.

      My java code looks like:

       public void doGet(HttpServletRequest request, HttpServletResponse response)
       throws ServletException, IOException {
       try {
       Context jndiContext = getInitialContext();
       QueueConnectionFactory ref =
       (QueueConnectionFactory)jndiContext.lookup("XAConnectionFactory");
       Queue queue = (Queue)jndiContext.lookup("queue/LoggingQueue");
       QueueConnection queueConnection = ref.createQueueConnection();
       QueueSession queueSession =
       queueConnection.createQueueSession(
       false,
       Session.AUTO_ACKNOWLEDGE);
      
       TemporaryQueue tq = queueSession.createTemporaryQueue();
       QueueSender queueSender = queueSession.createSender(queue);
       QueueReceiver qr = queueSession.createReceiver(tq);
      
       TextMessage msg = queueSession.createTextMessage("Mensaje de san");
       msg.setJMSReplyTo(tq);
       msg.setText(request.getQueryString());
      
       queueConnection.start();
       queueSender.send(msg);
       response.setContentType("text/html");
       PrintWriter out = response.getWriter();
       out.println("<html><body><pre>");
       out.println("Message sent");
       long time = System.currentTimeMillis();
       out.println(qr.receive());
       long newTime = System.currentTimeMillis();
       long usedTime = newTime - time;
       out.println("Time spent on request: " + usedTime);
       out.println("</pre></body></html>");
       }
       catch (Exception e) {
       System.out.println(e.getMessage());
       e.printStackTrace();
       }
      
       }
      


      Here "jboss1" just crashes with no log and "jboss2" get restarted with this log. I created the
      "LoggingQueue" in both nodes.

      Jboss2
      2005-08-15 22:10:47,804 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Initialization failed DLQHandler
      javax.naming.NameNotFoundException: XAConnectionFactory
       at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
       at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:187)
       at $Proxy56.lookup(Unknown Source)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
       at javax.naming.InitialContext.lookup(InitialContext.java:347)
       at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238)
       at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:165)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:597)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:922)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1492)
       at java.lang.Thread.run(Thread.java:534)
      2005-08-15 22:10:47,805 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:
      javax.naming.NameNotFoundException: XAConnectionFactory
       at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
       at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:187)
       at $Proxy56.lookup(Unknown Source)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
       at javax.naming.InitialContext.lookup(InitialContext.java:347)
       at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238)
       at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:165)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:597)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:922)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1492)
       at java.lang.Thread.run(Thread.java:534)
      2005-08-15 22:10:47,804 INFO [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Suspected member: jboss2:32794 (additional data: 17 bytes)
      2005-08-15 22:10:47,804 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Initialization failed DLQHandler
      javax.naming.NameNotFoundException: XAConnectionFactory
       at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
       at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:187)
       at $Proxy133.lookup(Unknown Source)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
       at javax.naming.InitialContext.lookup(InitialContext.java:347)
       at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238)
       at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:165)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:597)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:922)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1492)
       at java.lang.Thread.run(Thread.java:534)
      2005-08-15 22:10:47,806 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:
      javax.naming.NameNotFoundException: XAConnectionFactory
       at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
       at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:187)
       at $Proxy133.lookup(Unknown Source)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
       at javax.naming.InitialContext.lookup(InitialContext.java:347)
       at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238)
       at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:165)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:597)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:922)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1492)
       at java.lang.Thread.run(Thread.java:534)
      2005-08-15 22:10:47,807 INFO [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] New cluster view for partition DefaultPartition (id: 4, delta: -1) : [192.168.1.75:1099]
      2005-08-15 22:10:47,807 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS provider
      2005-08-15 22:10:47,805 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS provider
      2005-08-15 22:10:48,182 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/opt/jboss-4.0.2/server/all/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      2005-08-15 22:10:48,523 INFO [org.jboss.mq.server.jmx.Queue.A] Bound to JNDI name: queue/A
      2005-08-15 22:10:48,526 INFO [org.jboss.mq.server.jmx.Queue.B] Bound to JNDI name: queue/B
      2005-08-15 22:10:48,528 INFO [org.jboss.mq.server.jmx.Queue.C] Bound to JNDI name: queue/C
      2005-08-15 22:10:48,531 INFO [org.jboss.mq.server.jmx.Queue.D] Bound to JNDI name: queue/D
      2005-08-15 22:10:48,533 INFO [org.jboss.mq.server.jmx.Queue.ex] Bound to JNDI name: queue/ex
      2005-08-15 22:10:48,535 INFO [org.jboss.mq.server.jmx.Queue.LoggingQueue] Bound to JNDI name: queue/LoggingQueue
      2005-08-15 22:10:48,573 INFO [org.jboss.mq.server.jmx.Topic.testTopic] Bound to JNDI name: topic/testTopic
      2005-08-15 22:10:48,576 INFO [org.jboss.mq.server.jmx.Topic.securedTopic] Bound to JNDI name: topic/securedTopic
      2005-08-15 22:10:48,578 INFO [org.jboss.mq.server.jmx.Topic.testDurableTopic] Bound to JNDI name: topic/testDurableTopic
      2005-08-15 22:10:48,581 INFO [org.jboss.mq.server.jmx.Queue.testQueue] Bound to JNDI name: queue/testQueue
      2005-08-15 22:10:48,617 INFO [org.jboss.mq.il.uil2.UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
      2005-08-15 22:10:48,624 INFO [org.jboss.mq.server.jmx.Queue.DLQ] Bound to JNDI name: queue/DLQ
      2005-08-15 22:10:57,813 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to JMS provider
      2005-08-15 22:10:57,813 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to JMS provider
      2005-08-15 22:10:57,869 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS provider
      2005-08-15 22:10:57,869 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnected to JMS provider
      


      Can somebody help me ? Im in a production server and it's really important to me made this work.

      If anybody needs more information, like configuration files just say it.

      Thank you

      -- SAN

        • 1. Re: Farm Deploy and MDB questions
          nakker

          The EOFException could be getting thrown by not having your farmed out files jarred up. In farm deployment you need to have your ear/har/sar etc... files are jarred up or else when you distribute to your cluster you get exceptions like those. It could be somthing else but i have run in to that problem before.

          • 2. Re: Farm Deploy and MDB questions
            sahumada

            Let me see if I understand you correctly. You says that I have to put all my files EARs, SARs, etc files in .JAR format ? it's that correct ?

            Most of my applications shares two projects called "serviceengineclient.jar" and "comun.jar"

            There is a file called "clientsecurity.jar" which is located in $JBOSS/server/all/lib directory that contains all the security interfaces to get secure another applications.

            What I have by now is the following structure:

            MyFirstFile.ear
            ->config/
             ->messages/
             -> some xml files with struts messages
             ->session/
             -> one xml file of properties
            ->META-INF/
             -> application.xml [1]
             -> MANIFEST.MF
            ->comun.jar
            ->identification.jar
            ->iintegration.jar [DAO interface for integration.jar]
            ->integration.jar [DAO, hibernate, jdbc and stuff like that]
            ->bussines.jar [EJBs]
            ->clientengine.jar [bussines delegates and some interfaces]
            ->view.war
             -> css/, img/, js/, jsp/, etc
             -> META-INF/
             -> MANIFEST.MF [2]
             -> WEB-INF/
             -> some struts xmls related
             -> web.xml [3]
            


            Here some of the config files and Manifest of above.

            Note [1]
            <?xml version="1.0" encoding="UTF-8"?>
            <application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
             <display-name>Security</display-name>
             <module id="myeclipse.1116581596259">
             <web>
             <web-uri>view.war</web-uri>
             <context-root>/Security</context-root>
             </web>
             </module>
             <module id="myeclipse.1116581596740">
             <ejb>bussines.jar</ejb>
             </module>
            </application>
            


            Note [2]
            Manifest-Version: 1.0
            Class-Path: comun.jar clientsecurity.jar
            


            Note [3]
            <?xml version="1.0" encoding="UTF-8"?>
            <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
             <distributable />
             <servlet>
             <servlet-name>action</servlet-name>
             <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
             <init-param>
             <param-name>config</param-name>
             <param-value>/WEB-INF/struts-config.xml</param-value>
             </init-param>
             <init-param>
             <param-name>debug</param-name>
             <param-value>3</param-value>
             </init-param>
             <init-param>
             <param-name>detail</param-name>
             <param-value>3</param-value>
             </init-param>
             <load-on-startup>0</load-on-startup>
             </servlet>
             <servlet>
             <description>This is the description of my J2EE component</description>
             <display-name>This is the display name of my J2EE component</display-name>
             <servlet-name>test</servlet-name>
             <servlet-class>test.test</servlet-class>
             </servlet>
            
             <servlet-mapping>
             <servlet-name>action</servlet-name>
             <url-pattern>*.do</url-pattern>
             </servlet-mapping>
             <servlet-mapping>
             <servlet-name>test</servlet-name>
             <url-pattern>/test</url-pattern>
             </servlet-mapping>
             <session-config>
             <session-timeout>120</session-timeout>
             </session-config>
            </web-app>
            



            Do you think there is some misconfiguration or error that produces this crashes ?

            Thanks in advance

            -- SAN

            • 3. Re: Farm Deploy and MDB questions
              nakker

               

              2005-08-15 21:47:47,828 INFO [org.jboss.deployment.EARDeployer] Undeploying J2EE application, destr
              oy step: file:/opt/jboss-4.0.2/server/all/farm/ServiceEnginePrincipal.ear
              2005-08-15 21:47:47,892 WARN [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection
              .setExceptionListener() to handle this error and reconnect
              org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.io.EOFException)


              Since the last thing to deploy before the exception occoured was the ServiceEnginePrincipal.ear my guess is that you have an exploded ear file. You need to make your ear file a jar file and then rename it .ear

              If you have an ant build you can use the ear target to build an ear file but its basically just a renamed jar file.as long as everything that has an extention .ear .sar or .har is a jar file that has been renamed you shouldn't get an EOF exception when farming out files

              You shouldnt need to change any of your code to make this work.

              I'll look into the second problem but I imagine is has somthing to do with your DestinationManager that is being deployed on jboss2

              • 4. Re: Farm Deploy and MDB questions
                sahumada

                Not at all my friend, all my EARs are of type "packaged" builds with Eclipse + MyEclipse tools. They are just one file-EAR for application.

                For the second question I get enabled the "TRACE" log and what I see is:

                jboss2

                2005-08-16 16:24:54,568 TRACE [org.jboss.mq.Connection] Receive subscription=Subscription[subId=-2147483648connection=ConnectionToken:ID:3/e4b0a33d8637beb0f81d06e8808cefd4 destination=QUEUE.testQueue messageSelector=null Local Create] wait=0
                2005-08-16 16:24:54,568 TRACE [org.jboss.mq.il.uil2.SocketManager] Begin internalSendMessage, round-trip msg=org.jboss.mq.il.uil2.msgs.ReceiveMsg16288200[msgType: m_receive, msgID: 159, error: null]
                2005-08-16 16:24:54,568 TRACE [org.jboss.mq.il.uil2.SocketManager] Write msg: org.jboss.mq.il.uil2.msgs.ReceiveMsg16288200[msgType: m_receive, msgID: 159, error: null]
                2005-08-16 16:24:54,568 INFO [STDOUT] ConnectionFactory not bound
                2005-08-16 16:24:54,568 INFO [STDOUT] javax.naming.NameNotFoundException: ConnectionFactory not bound
                2005-08-16 16:24:54,569 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
                2005-08-16 16:24:54,569 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
                2005-08-16 16:24:54,569 INFO [STDOUT] at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
                2005-08-16 16:24:54,569 INFO [STDOUT] at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
                2005-08-16 16:24:54,569 TRACE [org.jboss.mq.il.uil2.SocketManager] Read msgType: m_receive, msgID: 159
                2005-08-16 16:24:54,569 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
                2005-08-16 16:24:54,569 TRACE [org.jboss.mq.il.uil2.SocketManager] Found replyMap msg: org.jboss.mq.il.uil2.msgs.ReceiveMsg16288200[msgType: m_receive, msgID: 159, error: null]
                2005-08-16 16:24:54,569 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
                2005-08-16 16:24:54,569 TRACE [org.jboss.mq.il.uil2.SocketManager] Read msg reply: org.jboss.mq.il.uil2.msgs.ReceiveMsg16288200[msgType: m_receive, msgID: 159, error: null]
                2005-08-16 16:24:54,570 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:347)
                2005-08-16 16:24:54,570 TRACE [org.jboss.mq.il.uil2.SocketManager] End internalSendMessage, msg=org.jboss.mq.il.uil2.msgs.ReceiveMsg16288200[msgType: m_receive, msgID: 159, error: null]
                2005-08-16 16:24:54,570 INFO [STDOUT] at com.tinet.demo.queue.ejb.HelloWorldBean.onMessage(HelloWorldBean.java:74)
                2005-08-16 16:24:54,570 TRACE [org.jboss.mq.SpyConnectionConsumer] run() waiting for message SpyConnectionConsumer[sub=Subscription[subId=-2147483648connection=ConnectionToken:ID:3/e4b0a33d8637beb0f81d06e8808cefd4 destination=QUEUE.testQueue messageSelector=null Local Create] messages=0 waitingForMessage=true internalThread=Thread[Connection Consumer for dest Subscription[subId=-2147483648connection=ConnectionToken:ID:3/e4b0a33d8637beb0f81d06e8808cefd4 destination=QUEUE.testQueue messageSelector=null Local Create] id=1,5,jboss] sessionPool=org.jboss.jms.asf.StdServerSessionPool@1d869b2 connection=Connection@1277930[token=ConnectionToken:ID:3/e4b0a33d8637beb0f81d06e8808cefd4 rcvstate=STARTED]]
                2005-08-16 16:24:54,570 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                2005-08-16 16:24:54,570 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                2005-08-16 16:24:54,570 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                2005-08-16 16:24:54,570 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
                2005-08-16 16:24:54,570 INFO [STDOUT] at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
                2005-08-16 16:24:54,570 INFO [STDOUT] at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:475)
                2005-08-16 16:24:54,570 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
                2005-08-16 16:24:54,571 INFO [STDOUT] at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:87)
                2005-08-16 16:24:54,571 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
                2005-08-16 16:24:54,571 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
                2005-08-16 16:24:54,571 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
                2005-08-16 16:24:54,571 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
                2005-08-16 16:24:54,571 INFO [STDOUT] at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)
                2005-08-16 16:24:54,571 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
                2005-08-16 16:24:54,571 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
                2005-08-16 16:24:54,571 INFO [STDOUT] at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
                2005-08-16 16:24:54,571 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:873)
                2005-08-16 16:24:54,572 INFO [STDOUT] at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1090)
                2005-08-16 16:24:54,572 INFO [STDOUT] at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1392)
                2005-08-16 16:24:54,572 INFO [STDOUT] at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
                2005-08-16 16:24:54,572 INFO [STDOUT] at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
                2005-08-16 16:24:54,572 INFO [STDOUT] at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)
                2005-08-16 16:24:54,572 INFO [STDOUT] at org.jboss.mq.SpySession.run(SpySession.java:333)
                2005-08-16 16:24:54,572 INFO [STDOUT] at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
                2005-08-16 16:24:54,573 INFO [STDOUT] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
                2005-08-16 16:24:54,573 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)
                2005-08-16 16:24:54,573 TRACE [org.jboss.jms.asf.StdServerSession] Commiting the JMS transaction
                2005-08-16 16:24:54,573 TRACE [org.jboss.mq.SpyXAResource] End xid=XidImpl[FormatId=257, GlobalId=pisclwspr01/119, BranchQual=1, localId=119], flags=67108864 SpyXAResource[session=SpySession@18080625[tx=true txid=XidImpl[FormatId=257, GlobalId=pisclwspr01/119, BranchQual=1, localId=119] XA RUNNING connection=Connection@1277930[token=ConnectionToken:ID:3/e4b0a33d8637beb0f81d06e8808cefd4 rcvstate=STARTED]]]
                2005-08-16 16:24:54,573 TRACE [org.jboss.mq.SpySession] Unsetting current tx xid=XidImpl[FormatId=257, GlobalId=pisclwspr01/119, BranchQual=1, localId=119] previous: XidImpl[FormatId=257, GlobalId=pisclwspr01/119, BranchQual=1, localId=119] SpySession@18080625[tx=true txid=XidImpl[FormatId=257, GlobalId=pisclwspr01/119, BranchQual=1, localId=119] XA RUNNING connection=Connection@1277930[token=ConnectionToken:ID:3/e4b0a33d8637beb0f81d06e8808cefd4 rcvstate=STARTED]]
                


                Thanks in advance

                -- SAN