1 2 Previous Next 20 Replies Latest reply on Oct 31, 2006 7:49 PM by Ovidiu Feodorov

    Remote JMS server

    mskonda Apprentice

      I have a JBossAS(4.0.3SP1) (lets call this appserver) running on a machine and a JMS Server (essentially a JBossAS)(lets call this jms server) running on the same machine but with a different port (obviously).

      Both servers startup successfully.

      I deploy a *ds.xml file on appserver for creating a JMSProviderLoader MBean (see xml below):


      <?xml version="1.0" encoding="UTF-8"?>
      
      <connection-factories>
      
       <!-- ==================================================================== -->
       <!-- JMS Stuff -->
       <!-- ==================================================================== -->
      
       <!-- The JMS provider loader -->
       <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
       name="jboss.messaging:service=JMSProviderLoader,name=JMSProvider">
       <attribute name="ProviderName">DefaultJMSProvider</attribute>
       <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
       <attribute name="FactoryRef">java:/XAConnectionFactory</attribute>
       <attribute name="QueueFactoryRef">java:/XAConnectionFactory</attribute>
       <attribute name="TopicFactoryRef">java:/XAConnectionFactory</attribute>
       <attribute name="Properties">
       java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
       java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
       java.naming.provider.url=jnp://adl-cmi01:19104
       </attribute>
       </mbean>
      
       <mbean code="org.jboss.jms.asf.ServerSessionPoolLoader"
       name="jboss.messaging:service=ServerSessionPoolMBean,name=StdJMSPool">
       <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
       <attribute name="PoolName">StdJMSPool</attribute>
       <attribute name="PoolFactoryClass">org.jboss.jms.asf.StdServerSessionPoolFactory</attribute>
       </mbean>
      
       <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
       <tx-connection-factory>
       <jndi-name>JmsXA</jndi-name>
       <xa-transaction/>
       <rar-name>jms-ra.rar</rar-name>
       <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
       <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
       <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
       <max-pool-size>20</max-pool-size>
       <security-domain-and-application>JmsXARealm</security-domain-and-application>
       <depends>jboss.messaging:service=ServerPeer</depends>
       </tx-connection-factory>
      
      </connection-factories>
      


      As you can see from the properties (InitialContext) attribute, the 19014 refers to the jmsserver.

      So, theoritically, any MDB I deploy on appserver should get the IC pointing to jmsserver.

      Now, I deploy an MDB on to appserver. Unfortunately it fails complaining ClassCastException (See trace below):
      2006-09-15 10:01:37,635 INFO [org.jboss.ejb.EjbModule] Deploying MDBXaExample
      2006-09-15 10:01:37,653 DEBUG [org.jboss.ejb.EjbModule] Creating WebClassLoader of class org.jboss.web.WebClassLoader
      2006-09-15 10:01:37,700 DEBUG [org.jboss.ejb.EjbModule] creating binding for MDBXaExample:singleton-message-driven-bean
      2006-09-15 10:01:37,728 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:jndiName=local/MDBXaExample@1976815148,service=EJB
      2006-09-15 10:01:37,728 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: []
      2006-09-15 10:01:37,729 DEBUG [org.jboss.ejb.MessageDrivenContainer] Creating jboss.j2ee:jndiName=local/MDBXaExample@1976815148,service=EJB
      2006-09-15 10:01:37,742 DEBUG [org.jboss.ejb.MessageDrivenContainer] Mapped onMessage 1175993645 to public void com.mizuho.cmi2.jms.mdb.MDBXaExample.onMessage(javax.jms.Message)
      2006-09-15 10:01:37,744 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:service=EJB,plugin=pool,jndiName=local/MDBXaExample@1976815148
      2006-09-15 10:01:37,745 DEBUG [org.jboss.ejb.plugins.MessageDrivenInstancePool] Creating jboss.j2ee:service=EJB,plugin=pool,jndiName=local/MDBXaExample@1976815148
      2006-09-15 10:01:37,745 DEBUG [org.jboss.ejb.plugins.MessageDrivenInstancePool] Created jboss.j2ee:service=EJB,plugin=pool,jndiName=local/MDBXaExample@1976815148
      2006-09-15 10:01:37,745 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EJB,plugin=pool,jndiName=local/MDBXaExample@1976815148 dependents are: []
      2006-09-15 10:01:37,749 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:service=EJB,plugin=invoker,binding=singleton-message-driven-bean,jndiName=local/MDBXaExample@1976815148
      2006-09-15 10:01:37,749 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Creating jboss.j2ee:service=EJB,plugin=invoker,binding=singleton-message-driven-bean,jndiName=local/MDBXaExample@1976815148
      2006-09-15 10:01:37,752 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Created jboss.j2ee:service=EJB,plugin=invoker,binding=singleton-message-driven-bean,jndiName=local/MDBXaExample@1976815148
      2006-09-15 10:01:37,752 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EJB,plugin=invoker,binding=singleton-message-driven-bean,jndiName=local/MDBXaExample@1976815148 dependents are: []
      2006-09-15 10:01:37,757 DEBUG [org.jboss.ejb.MessageDrivenContainer] Created jboss.j2ee:jndiName=local/MDBXaExample@1976815148,service=EJB
      2006-09-15 10:01:37,758 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:jndiName=local/MDBXaExample@1976815148,service=EJB dependents are: []
      2006-09-15 10:01:37,758 DEBUG [org.jboss.ejb.EjbModule] Bound jmxName=jboss.j2ee:jndiName=local/MDBXaExample@1976815148,service=EJB, hash=-791389951into Registry
      2006-09-15 10:01:37,758 DEBUG [org.jboss.ejb.EjbModule] Created jboss.j2ee:service=EjbModule,module=messaging-xa-mdb.jar
      2006-09-15 10:01:37,758 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EjbModule,module=messaging-xa-mdb.jar dependents are: []
      2006-09-15 10:01:37,758 DEBUG [org.jboss.webservice.ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.create,messaging-xa-mdb.jar
      2006-09-15 10:01:37,758 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying messaging-xa-mdb.jar
      2006-09-15 10:01:37,758 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/sandbox/konmad-sbox/dev/platform/jboss-4.0.3SP1/server/cmi2-no-messaging/deploy/cmi2/messaging-xa-mdb.jar
      2006-09-15 10:01:37,759 DEBUG [org.jboss.ejb.EJBDeployer] start application, deploymentInfo: org.jboss.deployment.DeploymentInfo@cb7f8bd0 { url=file:/sandbox/konmad-sbox/dev/platform/jboss-4.0.3SP1/server/cmi2-no-messaging/deploy/cmi2/messaging-xa-mdb.jar }
       deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer]
       status: Starting
       state: START_DEPLOYER
       watch: file:/sandbox/konmad-sbox/dev/platform/jboss-4.0.3SP1/server/cmi2-no-messaging/deploy/cmi2/messaging-xa-mdb.jar
       altDD: null
       lastDeployed: 1158310897440
       lastModified: 1158310897000
       mbeans:
       jboss.j2ee:jndiName=local/MDBXaExample@1976815148,service=EJB state: Created
      , short name: messaging-xa-mdb.jar, parent short name: null
      2006-09-15 10:01:37,759 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EjbModule,module=messaging-xa-mdb.jar
      2006-09-15 10:01:37,759 DEBUG [org.jboss.ejb.EjbModule] Starting jboss.j2ee:service=EjbModule,module=messaging-xa-mdb.jar
      2006-09-15 10:01:37,759 DEBUG [org.jboss.ejb.EjbModule] startService, starting container: MDBXaExample
      2006-09-15 10:01:37,759 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:jndiName=local/MDBXaExample@1976815148,service=EJB
      2006-09-15 10:01:37,759 DEBUG [org.jboss.ejb.MessageDrivenContainer] Starting jboss.j2ee:jndiName=local/MDBXaExample@1976815148,service=EJB
      2006-09-15 10:01:37,760 DEBUG [org.jboss.ejb.MessageDrivenContainer] Begin java:comp/env for EJB: MDBXaExample
      2006-09-15 10:01:37,760 DEBUG [org.jboss.ejb.MessageDrivenContainer] TCL: org.jboss.util.loading.DelegatingClassLoader@1829ae5e
      2006-09-15 10:01:37,760 DEBUG [org.jboss.ejb.MessageDrivenContainer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
      2006-09-15 10:01:37,760 DEBUG [org.jboss.ejb.MessageDrivenContainer] End java:comp/env for EJB: MDBXaExample
      2006-09-15 10:01:37,761 DEBUG [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] MDBXaExample cannot be Bound, doesn't have local and local home interfaces
      2006-09-15 10:01:37,761 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EJB,plugin=pool,jndiName=local/MDBXaExample@1976815148
      2006-09-15 10:01:37,761 DEBUG [org.jboss.ejb.plugins.MessageDrivenInstancePool] Starting jboss.j2ee:service=EJB,plugin=pool,jndiName=local/MDBXaExample@1976815148
      2006-09-15 10:01:37,761 DEBUG [org.jboss.ejb.plugins.MessageDrivenInstancePool] Started jboss.j2ee:service=EJB,plugin=pool,jndiName=local/MDBXaExample@1976815148
      2006-09-15 10:01:37,761 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EJB,plugin=pool,jndiName=local/MDBXaExample@1976815148 dependent components: []
      2006-09-15 10:01:37,761 DEBUG [org.jboss.resource.connectionmanager.CachedConnectionInterceptor] start called in CachedConnectionInterceptor
      2006-09-15 10:01:37,761 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EJB,plugin=invoker,binding=singleton-message-driven-bean,jndiName=local/MDBXaExample@1976815148
      2006-09-15 10:01:37,761 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Starting jboss.j2ee:service=EJB,plugin=invoker,binding=singleton-message-driven-bean,jndiName=local/MDBXaExample@1976815148
      2006-09-15 10:01:37,761 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Initializing
      2006-09-15 10:01:37,762 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Looking up provider adapter: java:/DefaultJMSProvider
      2006-09-15 10:01:37,762 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Provider adapter: org.jboss.jms.jndi.JNDIProviderAdapter@404de8d8
      2006-09-15 10:01:37,766 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Creating DLQHandler
      2006-09-15 10:01:37,767 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Using factory: JBossConnectionFactory->ConnectionFactoryDelegate[-2147483647]
      ....
      2006-09-15 10:01:38,021 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] invoking ConnectionFactoryDelegate[-2147483647].createConnectionDelegate(null, *****)
      2006-09-15 10:01:38,021 TRACE [org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate] invoking createConnectionDelegate on server
      ...
      2006-09-15 10:01:38,061 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] ServerInvoker (org.jboss.remoting.transport.socket.SocketServerInvoker@47e1b36) added client callback handler org.jboss.jms.client.remoting.DummyCallbackHandler@4f1b8540 with session id of a32652m-crshsh-es4ce6ls-1-es4cegz0-4+1327203648 and callback handle object of null.
      2006-09-15 10:01:38,065 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] Session id for callback handler is a32652m-crshsh-es4ce6ls-1-es4cegz0-4+1327203648
      2006-09-15 10:01:38,065 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] adding callback handler org.jboss.remoting.callback.ServerInvokerCallbackHandler - id: a32652m-crshsh-es4ce6ls-1-es4cegz0-4+1327203648
      2006-09-15 10:01:38,065 DEBUG [org.jboss.jms.client.remoting.JMSRemotingConnection] org.jboss.jms.client.remoting.JMSRemotingConnection@9c304c7 created
      2006-09-15 10:01:38,065 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
      2006-09-15 10:01:38,065 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@d335207, cl=org.jboss.mx.loading.UnifiedClassLoader3@4f4f4c7a{ url=null ,addedOrder=0}
      2006-09-15 10:01:38,067 TRACE [org.jboss.jms.server.remoting.JMSServerInvocationHandler] invoking org.jboss.remoting.InvocationRequest@39654982
      2006-09-15 10:01:38,067 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] found calllback handler for remoting session ...-es4cegz0-4
      2006-09-15 10:01:38,067 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint] creating a new connection for user null
      2006-09-15 10:01:38,067 TRACE [org.jboss.jms.server.security.SecurityMetadataStore] authenticating user null
      2006-09-15 10:01:38,261 DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] registered connection ConnectionEndpoint[-2147483646] as ...-es4cegz0-4
      2006-09-15 10:01:38,261 TRACE [org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate] got server response for createConnectionDelegate
      2006-09-15 10:01:38,299 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] invoking ConnectionFactoryDelegate[-2147483647].getIdBlock(256)
      2006-09-15 10:01:38,299 TRACE [org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate] invoking getIdBlock on server
      2006-09-15 10:01:38,299 TRACE [org.jboss.jms.server.remoting.JMSServerInvocationHandler] invoking org.jboss.remoting.InvocationRequest@652bce43
      2006-09-15 10:01:38,299 TRACE [org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate] got server response for getIdBlock
      2006-09-15 10:01:38,299 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] ConnectionFactoryDelegate[-2147483647].getIdBlock() returned org.jboss.messaging.core.plugin.IdBlock@1ef2c499
      2006-09-15 10:01:38,300 TRACE [org.jboss.jms.message.MessageIdGenerator] Got block of IDs from server, low=499712 high=499967
      2006-09-15 10:01:38,300 TRACE [org.jboss.jms.client.state.ConnectionState] Creating connection state
      2006-09-15 10:01:38,300 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
      2006-09-15 10:01:38,300 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@d335207, cl=org.jboss.mx.loading.UnifiedClassLoader3@2d6a346a{ url=null ,addedOrder=0}
      2006-09-15 10:01:38,304 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] ConnectionFactoryDelegate[-2147483647].createConnectionDelegate() returned ConnectionDelegate[-2147483646]
      2006-09-15 10:01:38,313 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Created connection: JBossConnection->ConnectionDelegate[-2147483646]
      2006-09-15 10:01:38,759 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Using Queue: JBossQueue[DLQ]
      2006-09-15 10:01:38,759 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Created DLQHandler
      2006-09-15 10:01:38,760 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] context: javax.naming.InitialContext@3aafe2b5
      2006-09-15 10:01:38,760 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] jndiSuffix: recoveryTopic1
      2006-09-15 10:01:38,760 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Got destination type Topic for MDBXaExample
      2006-09-15 10:01:38,763 DEBUG [org.jboss.jms.ConnectionFactoryHelper] using connection factory: JBossConnectionFactory->ConnectionFactoryDelegate[-2147483647]
      2006-09-15 10:01:38,763 DEBUG [org.jboss.jms.ConnectionFactoryHelper] using username/password: null/null
      2006-09-15 10:01:38,764 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] invoking ConnectionFactoryDelegate[-2147483647].createConnectionDelegate(null, *****)
      2006-09-15 10:01:38,764 TRACE [org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate] invoking createConnectionDelegate on server
      2006-09-15 10:01:38,764 TRACE [org.jboss.jms.client.remoting.JMSRemotingConnection] created client
      2006-09-15 10:01:38,764 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] ServerInvoker (org.jboss.remoting.transport.socket.SocketServerInvoker@47e1b36) added client callback handler org.jboss.jms.client.remoting.DummyCallbackHandler@723e82b with session id of a32652m-crshsh-es4ce6ls-1-es4cehjg-9+119793707 and callback handle object of null.
      2006-09-15 10:01:38,764 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] Session id for callback handler is a32652m-crshsh-es4ce6ls-1-es4cehjg-9+119793707
      2006-09-15 10:01:38,764 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] adding callback handler org.jboss.remoting.callback.ServerInvokerCallbackHandler - id: a32652m-crshsh-es4ce6ls-1-es4cehjg-9+119793707
      2006-09-15 10:01:38,764 DEBUG [org.jboss.jms.client.remoting.JMSRemotingConnection] org.jboss.jms.client.remoting.JMSRemotingConnection@465f62b6 created
      2006-09-15 10:01:38,765 TRACE [org.jboss.jms.server.remoting.JMSServerInvocationHandler] invoking org.jboss.remoting.InvocationRequest@2049bed2
      2006-09-15 10:01:38,765 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] found calllback handler for remoting session ...-es4cehjg-9
      2006-09-15 10:01:38,765 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint] creating a new connection for user null
      2006-09-15 10:01:38,765 TRACE [org.jboss.jms.server.security.SecurityMetadataStore] authenticating user null
      2006-09-15 10:01:38,765 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint] created and registered ConnectionEndpoint[-2147483645]
      2006-09-15 10:01:38,765 DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] registered connection ConnectionEndpoint[-2147483645] as ...-es4cehjg-9
      2006-09-15 10:01:38,765 TRACE [org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate] got server response for createConnectionDelegate
      2006-09-15 10:01:38,765 TRACE [org.jboss.jms.client.state.ConnectionState] Creating connection state
      2006-09-15 10:01:38,765 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] ConnectionFactoryDelegate[-2147483647].createConnectionDelegate() returned ConnectionDelegate[-2147483645]
      2006-09-15 10:01:38,765 DEBUG [org.jboss.jms.ConnectionFactoryHelper] created XATopicConnection: JBossConnection->ConnectionDelegate[-2147483645]
      2006-09-15 10:01:38,766 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Using client id: null
      2006-09-15 10:01:38,774 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] looking up session pool factory: java:/StdJMSPool
      2006-09-15 10:01:38,784 DEBUG [org.jboss.jms.asf.StdServerSessionPool] initializing with connection: JBossConnection->ConnectionDelegate[-2147483645]
      2006-09-15 10:01:38,785 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] invoking ConnectionDelegate[-2147483645].createSessionDelegate(true, 0, true)
      2006-09-15 10:01:38,786 TRACE [org.jboss.jms.client.delegate.DelegateSupport] invoking createSessionDelegate on server
      2006-09-15 10:01:38,786 TRACE [org.jboss.jms.server.remoting.JMSServerInvocationHandler] invoking org.jboss.remoting.InvocationRequest@6a6fa22b
      2006-09-15 10:01:38,786 TRACE [org.jboss.jms.server.container.ServerLogInterceptor] invoking ConnectionAdvised->ConnectionEndpoint[-2147483645].createSessionDelegate(true, 0, true)
      2006-09-15 10:01:39,170 DEBUG [org.jboss.jms.asf.StdServerSession] initializing (pool, session, xaSession, useLocalTX): org.jboss.jms.asf.StdServerSessionPool@61a3954, JBossSession->SessionDelegate[-2147483644], JBossSession->SessionDelegate[-2147483644], true
      2006-09-15 10:01:39,170 TRACE [org.jboss.jms.client.JBossSession] setMessageListener(org.jboss.jms.asf.StdServerSession@23a9bced) called
      2006-09-15 10:01:39,171 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] invoking SessionDelegate[-2147483644].setMessageListener(org.jboss.jms.asf.StdServerSession@23a9bced)
      2006-09-15 10:01:39,171 TRACE [org.jboss.jms.client.container.AsfAspect] setMessageListener()
      2006-09-15 10:01:39,171 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] SessionDelegate[-2147483644].setMessageListener() OK
      2006-09-15 10:01:39,172 DEBUG [org.jboss.jms.asf.StdServerSessionPool] added server session to the pool: org.jboss.jms.asf.StdServerSession@23a9bced
      2006-09-15 10:01:39,172 DEBUG [org.jboss.jms.asf.StdServerSessionPool] Server Session pool set up
      2006-09-15 10:01:39,173 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] invoking ConnectionDelegate[-2147483645].createConnectionConsumer(JBossTopic[recoveryTopic1], null, null, org.jboss.jms.asf.StdServerSessionPool@61a3954, 1)
      2006-09-15 10:01:39,173 TRACE [org.jboss.jms.client.container.AsfAspect] createConnectionConsumer()
      2006-09-15 10:01:39,174 ERROR [org.jboss.jms.client.container.ExceptionInterceptor] Caught RuntimeException
      java.lang.ClassCastException: org.jboss.jms.destination.JBossTopic
       at org.jboss.jms.client.container.AsfAspect.handleCreateConnectionConsumer(AsfAspect.java:111)
       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:585)
       at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130)
       at org.jboss.jms.client.delegate.ClientConnectionDelegate$createConnectionConsumer_7915292773999367429.invokeNext(ClientConnectionDelegate$createConnectionConsumer_7915292773999367429.java)
       at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134)
       at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
       at org.jboss.jms.client.delegate.ClientConnectionDelegate$createConnectionConsumer_7915292773999367429.invokeNext(ClientConnectionDelegate$createConnectionConsumer_7915292773999367429.java)
       at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
       at org.jboss.jms.client.delegate.ClientConnectionDelegate$createConnectionConsumer_7915292773999367429.invokeNext(ClientConnectionDelegate$createConnectionConsumer_7915292773999367429.java)
       at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
       at org.jboss.jms.client.delegate.ClientConnectionDelegate$createConnectionConsumer_7915292773999367429.invokeNext(ClientConnectionDelegate$createConnectionConsumer_7915292773999367429.java)
       at org.jboss.jms.client.delegate.ClientConnectionDelegate.createConnectionConsumer(ClientConnectionDelegate.java)
       at org.jboss.jms.client.JBossConnection.createConnectionConsumer(JBossConnection.java:189)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:783)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:932)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
       at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:428)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:179)
       at org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:262)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
       at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:428)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy51.start(Unknown Source)
       at org.jboss.ejb.EjbModule.startService(EjbModule.java:395)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
       at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:428)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy24.start(Unknown Source)
       at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:627)
       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:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy25.start(Unknown Source)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
       at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy10.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
       at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:428)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
       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:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
       at org.jboss.Main.boot(Main.java:187)
       at org.jboss.Main$1.run(Main.java:438)
       at java.lang.Thread.run(Thread.java:595)
      2006-09-15 10:01:39,181 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] invoking ConnectionDelegate[-2147483645].closing()
      2006-09-15 10:01:39,182 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] invoking SessionDelegate[-2147483644].closing()
      2006-09-15 10:01:39,183 TRACE [org.jboss.jms.client.delegate.DelegateSupport] invoking closing on server
      2006-09-15 10:01:39,183 TRACE [org.jboss.jms.server.remoting.JMSServerInvocationHandler] invoking org.jboss.remoting.InvocationRequest@48da7565
      2006-09-15 10:01:39,197 TRACE [org.jboss.jms.server.container.ServerLogInterceptor] invoking SessionAdvised->SessionEndpoint[-2147483644].closing()
      2006-09-15 10:01:39,197 TRACE [org.jboss.jms.server.endpoint.ServerSessionEndpoint] closing (noop)
      2006-09-15 10:01:39,197 TRACE [org.jboss.jms.server.container.ServerLogInterceptor] SessionAdvised->SessionEndpoint[-2147483644].closing() OK
      2006-09-15 10:01:39,197 TRACE [org.jboss.jms.client.delegate.DelegateSupport] got server response for closing
      2006-09-15 10:01:39,197 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] SessionDelegate[-2147483644].closing() OK
      2006-09-15 10:01:39,198 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] invoking SessionDelegate[-2147483644].close()
      2006-09-15 10:01:39,198 TRACE [org.jboss.jms.client.delegate.DelegateSupport] invoking close on server
      2006-09-15 10:01:39,198 TRACE [org.jboss.jms.server.remoting.JMSServerInvocationHandler] invoking org.jboss.remoting.InvocationRequest@4ef56959
      2006-09-15 10:01:39,198 TRACE [org.jboss.jms.server.container.ServerLogInterceptor] invoking SessionAdvised->SessionEndpoint[-2147483644].close()
      2006-09-15 10:01:39,198 TRACE [org.jboss.jms.server.endpoint.ServerSessionEndpoint] close()
      2006-09-15 10:01:39,198 TRACE [org.jboss.jms.server.container.ServerLogInterceptor] SessionAdvised->SessionEndpoint[-2147483644].close() OK
      2006-09-15 10:01:39,198 TRACE [org.jboss.jms.client.delegate.DelegateSupport] got server response for close
      2006-09-15 10:01:39,199 TRACE [org.jboss.jms.client.container.ClosedInterceptor] closed
      2006-09-15 10:01:39,199 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] SessionDelegate[-2147483644].close() OK
      2006-09-15 10:01:39,199 TRACE [org.jboss.jms.client.delegate.DelegateSupport] invoking closing on server
      2006-09-15 10:01:39,199 TRACE [org.jboss.jms.server.remoting.JMSServerInvocationHandler] invoking org.jboss.remoting.InvocationRequest@51d77a8e
      2006-09-15 10:01:39,199 TRACE [org.jboss.jms.server.container.ServerLogInterceptor] invoking ConnectionAdvised->ConnectionEndpoint[-2147483645].closing()
      2006-09-15 10:01:39,199 TRACE [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] closing (noop)
      2006-09-15 10:01:39,199 TRACE [org.jboss.jms.server.container.ServerLogInterceptor] ConnectionAdvised->ConnectionEndpoint[-2147483645].closing() OK
      2006-09-15 10:01:39,199 TRACE [org.jboss.jms.client.delegate.DelegateSupport] got server response for closing
      2006-09-15 10:01:39,199 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] ConnectionDelegate[-2147483645].closing() OK
      2006-09-15 10:01:39,200 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] invoking ConnectionDelegate[-2147483645].close()
      2006-09-15 10:01:39,200 TRACE [org.jboss.jms.client.delegate.DelegateSupport] invoking close on server
      2006-09-15 10:01:39,200 TRACE [org.jboss.jms.server.remoting.JMSServerInvocationHandler] invoking org.jboss.remoting.InvocationRequest@19af2a9c
      2006-09-15 10:01:39,200 TRACE [org.jboss.jms.server.container.ServerLogInterceptor] invoking ConnectionAdvised->ConnectionEndpoint[-2147483645].close()
      2006-09-15 10:01:39,200 TRACE [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] close()
      2006-09-15 10:01:39,202 DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] unregistered connection ConnectionEndpoint[-2147483645] with remoting session ID ...-es4cehjg-9
      2006-09-15 10:01:39,202 TRACE [org.jboss.jms.server.container.ServerLogInterceptor] ConnectionAdvised->ConnectionEndpoint[-2147483645].close() OK
      2006-09-15 10:01:39,203 TRACE [org.jboss.jms.client.delegate.DelegateSupport] got server response for close
      2006-09-15 10:01:39,203 DEBUG [org.jboss.jms.client.remoting.JMSRemotingConnection] org.jboss.jms.client.remoting.JMSRemotingConnection@465f62b6 closing
      2006-09-15 10:01:39,203 DEBUG [org.jboss.jms.client.remoting.JMSRemotingConnection] org.jboss.jms.client.remoting.JMSRemotingConnection@465f62b6 closed
      2006-09-15 10:01:39,203 TRACE [org.jboss.jms.client.container.ClosedInterceptor] closed
      2006-09-15 10:01:39,203 TRACE [org.jboss.jms.client.container.ClientLogInterceptor] ConnectionDelegate[-2147483645].close() OK
      2006-09-15 10:01:39,205 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
      2006-09-15 10:01:39,206 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
      2006-09-15 10:01:39,206 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      2006-09-15 10:01:39,206 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:
      org.jboss.deployment.DeploymentException: Error during topic setup; - nested throwable: (javax.jms.IllegalStateException: org.jboss.jms.destination.JBossTopic)
       at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:815)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:932)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
       at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:428)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:179)
       at org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:262)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
       at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:428)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy51.start(Unknown Source)
       at org.jboss.ejb.EjbModule.startService(EjbModule.java:395)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
       at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:428)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy24.start(Unknown Source)
       at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:627)
       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:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy25.start(Unknown Source)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
       at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy10.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
       at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:428)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
       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:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
       at org.jboss.Main.boot(Main.java:187)
       at org.jboss.Main$1.run(Main.java:438)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.jms.IllegalStateException: org.jboss.jms.destination.JBossTopic
       at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:91)
       at org.jboss.jms.client.delegate.ClientConnectionDelegate$createConnectionConsumer_7915292773999367429.invokeNext(ClientConnectionDelegate$createConnectionConsumer_7915292773999367429.java)
       at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
       at org.jboss.jms.client.delegate.ClientConnectionDelegate$createConnectionConsumer_7915292773999367429.invokeNext(ClientConnectionDelegate$createConnectionConsumer_7915292773999367429.java)
       at org.jboss.jms.client.delegate.ClientConnectionDelegate.createConnectionConsumer(ClientConnectionDelegate.java)
       at org.jboss.jms.client.JBossConnection.createConnectionConsumer(JBossConnection.java:189)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:783)
       ... 154 more
      
      


      Do you think I am doing any obvious mistakes?

      Thanks
      /Madhu

        • 1. Re: Remote JMS server
          mskonda Apprentice

          Okay, I have isolated lots of things and tested with clean version of JBoss4.0.3SP1 with Messaging and without messaging (that is, with MQ)

          All is fine with MQ.

          However, I am unsuccessful if I run the same setup with messaging(just to be sure, I have downloaded a clean version of CR4 as I didn't wan't any of the xarecoveyr stuff I am working on to go in).

          Below is the latest stak trace.

          2006-09-15 14:37:18,577 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EJB,plugin=invoker,binding=singleton-message-driven-bean,jndiName=local/MDBXaExample@1013861286
          2006-09-15 14:37:18,577 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Starting jboss.j2ee:service=EJB,plugin=invoker,binding=singleton-message-driven-bean,jndiName=local/MDBXaExample@1013861286
          2006-09-15 14:37:18,577 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Initializing
          2006-09-15 14:37:18,577 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Looking up provider adapter: java:/DefaultJMSProvider
          2006-09-15 14:37:18,578 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Provider adapter: org.jboss.jms.jndi.JNDIProviderAdapter@35703484
          2006-09-15 14:37:18,581 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Creating DLQHandler
          2006-09-15 14:37:18,729 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/sandbox/konmad-sbox/dev/platform/jboss-4.0.3SP1/server/cmi2-no-messaging/tmp/aopdynclasses/ucl14653/?dynamic=true, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@7b5a6029{ url=file:/sandbox/konmad-sbox/dev/platform/jboss-4.0.3SP1/server/cmi2-no-messaging/tmp/deploy/tmp14587jboss-service.xml ,addedOrder=2}
          2006-09-15 14:37:18,748 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:
          java.lang.NoSuchFieldError: dcl
           at org.jboss.aop.deployment.JBossClassPool.isUnloadedClassLoader(JBossClassPool.java:46)
           at org.jboss.aop.AspectManager.clearUnregisteredClassLoaders(AspectManager.java:620)
           at org.jboss.aop.AspectManager.getRegisteredCLs(AspectManager.java:600)
           at org.jboss.aop.AspectManager.registerClassLoader(AspectManager.java:679)
           at org.jboss.aop.AspectManager.findClassPool(AspectManager.java:668)
           at org.jboss.aop.annotation.PortableAnnotationElement.getClassFile(PortableAnnotationElement.java:253)
           at org.jboss.aop.annotation.PortableAnnotationElement.isAnyAnnotationPresent(PortableAnnotationElement.java:235)
           at org.jboss.aop.Advisor.hasAnnotation(Advisor.java:346)
           at org.jboss.aop.pointcut.Util.matchesClassExpr(Util.java:113)
           at org.jboss.aop.pointcut.TypeMatcher.visit(TypeMatcher.java:153)
           at org.jboss.aop.pointcut.ast.ASTClass.jjtAccept(ASTClass.java:43)
           at org.jboss.aop.pointcut.TypeMatcher.visit(TypeMatcher.java:73)
           at org.jboss.aop.pointcut.ast.ASTStart.jjtAccept(ASTStart.java:42)
           at org.jboss.aop.introduction.InterfaceIntroduction.matches(InterfaceIntroduction.java:233)
           at org.jboss.aop.AspectManager.applyInterfaceIntroductions(AspectManager.java:1685)
           at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:285)
           at java.security.AccessController.doPrivileged(Native Method)
           at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:271)
           at org.jboss.aop.AspectManager.initialiseClassAdvisor(AspectManager.java:587)
           at org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:575)
           at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.<clinit>(ClientConnectionFactoryDelegate.java)
           at sun.misc.Unsafe.ensureClassInitialized(Native Method)
           at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
           at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
           at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
           at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
           at java.lang.reflect.Field.getLong(Field.java:527)
           at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1559)
           at java.io.ObjectStreamClass.access$600(ObjectStreamClass.java:47)
           at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:381)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:373)
           at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:268)
           at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:504)
           at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
           at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
           at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
           at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
           at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
           at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
           at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
           at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
           at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
           at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
           at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:57)
           at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:637)
           at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
           at javax.naming.InitialContext.lookup(InitialContext.java:351)
           at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
           at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:173)
           at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:605)
           at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:932)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
           at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
           at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
           at $Proxy0.start(Unknown Source)
           at org.jboss.system.ServiceController.start(ServiceController.java:428)
           at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
           at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:179)
           at org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:262)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
           at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
           at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
           at $Proxy0.start(Unknown Source)
           at org.jboss.system.ServiceController.start(ServiceController.java:428)
           at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
           at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
           at $Proxy49.start(Unknown Source)
           at org.jboss.ejb.EjbModule.startService(EjbModule.java:395)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
           at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
           at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
           at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
           at $Proxy0.start(Unknown Source)
           at org.jboss.system.ServiceController.start(ServiceController.java:428)
           at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
           at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
           at $Proxy24.start(Unknown Source)
           at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:627)
           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:585)
           at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
           at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
           at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
           at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
           at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
           at $Proxy25.start(Unknown Source)
           at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
           at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:585)
           at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
           at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
           at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
           at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
           at $Proxy10.deploy(Unknown Source)
           at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
           at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
           at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
           at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
           at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)
          2006-09-15 14:37:18,755 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] innerStop
          2006-09-15 14:37:18,755 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Destroying DLQHandler
          2006-09-15 14:37:18,755 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Destroyed DLQHandler
          2006-09-15 14:37:18,755 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Waiting for reconnect internal 10000 ms
          2006-09-15 14:37:18,761 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Started jboss.j2ee:service=EJB,plugin=invoker,binding=singleton-message-driven-bean,jndiName=local/MDBXaExample@1013861286
          2006-09-15 14:37:18,761 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EJB,plugin=invoker,binding=singleton-message-driven-bean,jndiName=local/MDBXaExample@1013861286 dependent components: []
          2006-09-15 14:37:18,761 DEBUG [org.jboss.ejb.MessageDrivenContainer] Started jboss.j2ee:jndiName=local/MDBXaExample@1013861286,service=EJB
          2006-09-15 14:37:18,761 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:jndiName=local/MDBXaExample@1013861286,service=EJB dependent components: []
          2006-09-15 14:37:18,761 DEBUG [org.jboss.ejb.EjbModule] Started jboss.j2ee:service=EjbModule,module=messaging-xa-mdb.jar
          2006-09-15 14:37:18,761 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EjbModule,module=messaging-xa-mdb.jar dependent components: []
          2006-09-15 14:37:18,762 INFO [org.jboss.ejb.EJBDeployer] Deployed: file:/sandbox/konmad-sbox/dev/platform/jboss-4.0.3SP1/server/cmi2-no-messaging/deploy/cmi2/messaging-xa-mdb.jar
          2006-09-15 14:37:18,762 DEBUG [org.jboss.webservice.ServiceDeployer] handleNotification: org.jboss.deployment.SubDeployer.start,messaging-xa-mdb.jar
          2006-09-15 14:37:18,792 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: messaging-xa-mdb.jar
          2006-09-15 14:37:18,792 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/sandbox/konmad-sbox/dev/platform/jboss-4.0.3SP1/server/cmi2-no-messaging/deploy/cmi2/messaging-xa-mdb.jar
          2006-09-15 14:37:18,792 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/sandbox/konmad-sbox/dev/platform/jboss-4.0.3SP1/server/cmi2-no-messaging/deploy/cmi2/messaging-xa-mdb.jar -> file:/sandbox/konmad-sbox/dev/platform/jboss-4.0.3SP1/server/cmi2-no-messaging/deploy/cmi2/messaging-xa-mdb.jar
          2006-09-15 14:37:23,444 INFO [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - second pass <Fri, 15 Sep 2006 14:37:23>
          2006-09-15 14:37:23,444 INFO [com.arjuna.ats.arjuna.logging.arjLogger] AtomicActionRecoveryModule: Second pass
          2006-09-15 14:37:23,444 INFO [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
          2006-09-15 14:37:23,444 INFO [com.arjuna.ats.jta.logging.logger] Local XARecoveryModule - second pass
          2006-09-15 14:37:28,758 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying to reconnect to JMS provider
          2006-09-15 14:37:28,759 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Initializing
          2006-09-15 14:37:28,759 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Looking up provider adapter: java:/DefaultJMSProvider
          2006-09-15 14:37:28,759 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Provider adapter: org.jboss.jms.jndi.JNDIProviderAdapter@35703484
          2006-09-15 14:37:28,759 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Creating DLQHandler
          2006-09-15 14:37:28,764 INFO [STDOUT] Exception in thread "JMSContainerInvoker(MDBXaExample) Reconnect"
          2006-09-15 14:37:28,764 INFO [STDOUT] java.lang.NoSuchFieldError: dcl
          2006-09-15 14:37:28,765 INFO [STDOUT] at org.jboss.aop.deployment.JBossClassPool.isUnloadedClassLoader(JBossClassPool.java:46)
          2006-09-15 14:37:28,765 INFO [STDOUT] at org.jboss.aop.AspectManager.clearUnregisteredClassLoaders(AspectManager.java:620)
          2006-09-15 14:37:28,765 INFO [STDOUT] at org.jboss.aop.AspectManager.getRegisteredCLs(AspectManager.java:600)
          2006-09-15 14:37:28,765 INFO [STDOUT] at org.jboss.aop.AspectManager.registerClassLoader(AspectManager.java:679)
          2006-09-15 14:37:28,765 INFO [STDOUT] at org.jboss.aop.AspectManager.findClassPool(AspectManager.java:668)
          2006-09-15 14:37:28,765 INFO [STDOUT] at org.jboss.aop.annotation.PortableAnnotationElement.getClassFile(PortableAnnotationElement.java:253)
          2006-09-15 14:37:28,766 INFO [STDOUT] at org.jboss.aop.annotation.PortableAnnotationElement.isAnyAnnotationPresent(PortableAnnotationElement.java:235)
          2006-09-15 14:37:28,766 INFO [STDOUT] at org.jboss.aop.Advisor.hasAnnotation(Advisor.java:346)
          2006-09-15 14:37:28,766 INFO [STDOUT] at org.jboss.aop.pointcut.Util.matchesClassExpr(Util.java:113)
          2006-09-15 14:37:28,766 INFO [STDOUT] at org.jboss.aop.pointcut.TypeMatcher.visit(TypeMatcher.java:153)
          2006-09-15 14:37:28,766 INFO [STDOUT] at org.jboss.aop.pointcut.ast.ASTClass.jjtAccept(ASTClass.java:43)
          2006-09-15 14:37:28,766 INFO [STDOUT] at org.jboss.aop.pointcut.TypeMatcher.visit(TypeMatcher.java:73)
          2006-09-15 14:37:28,766 INFO [STDOUT] at org.jboss.aop.pointcut.ast.ASTStart.jjtAccept(ASTStart.java:42)
          2006-09-15 14:37:28,766 INFO [STDOUT] at org.jboss.aop.introduction.InterfaceIntroduction.matches(InterfaceIntroduction.java:233)
          2006-09-15 14:37:28,767 INFO [STDOUT] at org.jboss.aop.AspectManager.applyInterfaceIntroductions(AspectManager.java:1685)
          2006-09-15 14:37:28,767 INFO [STDOUT] at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:285)
          2006-09-15 14:37:28,767 INFO [STDOUT] at java.security.AccessController.doPrivileged(Native Method)
          2006-09-15 14:37:28,767 INFO [STDOUT] at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:271)
          2006-09-15 14:37:28,767 INFO [STDOUT] at org.jboss.aop.AspectManager.initialiseClassAdvisor(AspectManager.java:587)
          2006-09-15 14:37:28,767 INFO [STDOUT] at org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:575)
          2006-09-15 14:37:28,767 INFO [STDOUT] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.<clinit>(ClientConnectionFactoryDelegate.java)
          2006-09-15 14:37:28,768 INFO [STDOUT] at sun.misc.Unsafe.ensureClassInitialized(Native Method)
          2006-09-15 14:37:28,768 INFO [STDOUT] at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
          2006-09-15 14:37:28,768 INFO [STDOUT] at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
          2006-09-15 14:37:28,768 INFO [STDOUT] at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
          2006-09-15 14:37:28,768 INFO [STDOUT] at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
          2006-09-15 14:37:28,768 INFO [STDOUT] at java.lang.reflect.Field.getLong(Field.java:527)
          2006-09-15 14:37:28,768 INFO [STDOUT] at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1559)
          2006-09-15 14:37:28,769 INFO [STDOUT] at java.io.ObjectStreamClass.access$600(ObjectStreamClass.java:47)
          2006-09-15 14:37:28,769 INFO [STDOUT] at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:381)
          2006-09-15 14:37:28,769 INFO [STDOUT] at java.security.AccessController.doPrivileged(Native Method)
          2006-09-15 14:37:28,769 INFO [STDOUT] at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:373)
          2006-09-15 14:37:28,769 INFO [STDOUT] at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:268)
          2006-09-15 14:37:28,769 INFO [STDOUT] at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:504)
          2006-09-15 14:37:28,769 INFO [STDOUT] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
          2006-09-15 14:37:28,770 INFO [STDOUT] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
          2006-09-15 14:37:28,770 INFO [STDOUT] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
          2006-09-15 14:37:28,770 INFO [STDOUT] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
          2006-09-15 14:37:28,770 INFO [STDOUT] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
          2006-09-15 14:37:28,770 INFO [STDOUT] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
          2006-09-15 14:37:28,770 INFO [STDOUT] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
          2006-09-15 14:37:28,770 INFO [STDOUT] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
          2006-09-15 14:37:28,771 INFO [STDOUT] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
          2006-09-15 14:37:28,771 INFO [STDOUT] at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
          2006-09-15 14:37:28,771 INFO [STDOUT] at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:57)
          2006-09-15 14:37:28,771 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:637)
          2006-09-15 14:37:28,771 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
          2006-09-15 14:37:28,771 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:351)
          2006-09-15 14:37:28,771 INFO [STDOUT] at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
          2006-09-15 14:37:28,771 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
          2006-09-15 14:37:28,772 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:173)
          2006-09-15 14:37:28,772 INFO [STDOUT] at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:605)
          2006-09-15 14:37:28,772 INFO [STDOUT] at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:932)
          2006-09-15 14:37:28,772 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
          2006-09-15 14:37:28,772 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
          2006-09-15 14:37:28,772 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
          2006-09-15 14:37:28,772 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          2006-09-15 14:37:28,773 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
          2006-09-15 14:37:28,773 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          2006-09-15 14:37:28,773 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          2006-09-15 14:37:28,773 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          2006-09-15 14:37:28,773 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          2006-09-15 14:37:28,773 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          2006-09-15 14:37:28,773 INFO [STDOUT] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
          2006-09-15 14:37:28,774 INFO [STDOUT] at $Proxy0.start(Unknown Source)
          2006-09-15 14:37:28,774 INFO [STDOUT] at org.jboss.system.ServiceController.start(ServiceController.java:428)
          2006-09-15 14:37:28,774 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
          2006-09-15 14:37:28,774 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          2006-09-15 14:37:28,774 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
          2006-09-15 14:37:28,774 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          2006-09-15 14:37:28,774 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          2006-09-15 14:37:28,775 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          2006-09-15 14:37:28,775 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          2006-09-15 14:37:28,775 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          2006-09-15 14:37:28,775 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:179)
          2006-09-15 14:37:28,775 INFO [STDOUT] at org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:262)
          2006-09-15 14:37:28,775 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
          2006-09-15 14:37:28,775 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
          2006-09-15 14:37:28,776 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
          2006-09-15 14:37:28,776 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          2006-09-15 14:37:28,776 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
          2006-09-15 14:37:28,776 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          2006-09-15 14:37:28,776 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          2006-09-15 14:37:28,776 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          2006-09-15 14:37:28,776 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          2006-09-15 14:37:28,777 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          2006-09-15 14:37:28,777 INFO [STDOUT] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
          2006-09-15 14:37:28,777 INFO [STDOUT] at $Proxy0.start(Unknown Source)
          2006-09-15 14:37:28,777 INFO [STDOUT] at org.jboss.system.ServiceController.start(ServiceController.java:428)
          2006-09-15 14:37:28,777 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
          2006-09-15 14:37:28,777 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          2006-09-15 14:37:28,777 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
          2006-09-15 14:37:28,777 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          2006-09-15 14:37:28,778 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          2006-09-15 14:37:28,778 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          2006-09-15 14:37:28,778 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          2006-09-15 14:37:28,778 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          2006-09-15 14:37:28,778 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          2006-09-15 14:37:28,778 INFO [STDOUT] at $Proxy49.start(Unknown Source)
          2006-09-15 14:37:28,778 INFO [STDOUT] at org.jboss.ejb.EjbModule.startService(EjbModule.java:395)
          2006-09-15 14:37:28,779 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
          2006-09-15 14:37:28,779 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
          2006-09-15 14:37:28,779 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
          2006-09-15 14:37:28,779 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          2006-09-15 14:37:28,779 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
          2006-09-15 14:37:28,779 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          2006-09-15 14:37:28,779 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          2006-09-15 14:37:28,780 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          2006-09-15 14:37:28,780 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          2006-09-15 14:37:28,780 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          2006-09-15 14:37:28,780 INFO [STDOUT] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
          2006-09-15 14:37:28,780 INFO [STDOUT] at $Proxy0.start(Unknown Source)
          2006-09-15 14:37:28,780 INFO [STDOUT] at org.jboss.system.ServiceController.start(ServiceController.java:428)
          2006-09-15 14:37:28,780 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
          2006-09-15 14:37:28,781 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          2006-09-15 14:37:28,781 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
          2006-09-15 14:37:28,781 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          2006-09-15 14:37:28,781 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          2006-09-15 14:37:28,781 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          2006-09-15 14:37:28,781 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          2006-09-15 14:37:28,781 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          2006-09-15 14:37:28,782 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          2006-09-15 14:37:28,782 INFO [STDOUT] at $Proxy24.start(Unknown Source)
          2006-09-15 14:37:28,782 INFO [STDOUT] at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:627)
          2006-09-15 14:37:28,782 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          2006-09-15 14:37:28,782 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          2006-09-15 14:37:28,782 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          2006-09-15 14:37:28,782 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
          2006-09-15 14:37:28,782 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          2006-09-15 14:37:28,783 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          2006-09-15 14:37:28,783 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
          2006-09-15 14:37:28,783 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          2006-09-15 14:37:28,783 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
          2006-09-15 14:37:28,783 INFO [STDOUT] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
          2006-09-15 14:37:28,783 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          2006-09-15 14:37:28,783 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          2006-09-15 14:37:28,784 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          2006-09-15 14:37:28,784 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          2006-09-15 14:37:28,784 INFO [STDOUT] at $Proxy25.start(Unknown Source)
          2006-09-15 14:37:28,784 INFO [STDOUT] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
          2006-09-15 14:37:28,784 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
          2006-09-15 14:37:28,784 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
          2006-09-15 14:37:28,784 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
          2006-09-15 14:37:28,785 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          2006-09-15 14:37:28,785 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
          2006-09-15 14:37:28,785 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          2006-09-15 14:37:28,785 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          2006-09-15 14:37:28,785 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
          2006-09-15 14:37:28,785 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          2006-09-15 14:37:28,785 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
          2006-09-15 14:37:28,786 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          2006-09-15 14:37:28,786 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          2006-09-15 14:37:28,786 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          2006-09-15 14:37:28,786 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          2006-09-15 14:37:28,786 INFO [STDOUT] at $Proxy10.deploy(Unknown Source)
          2006-09-15 14:37:28,786 INFO [STDOUT] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
          2006-09-15 14:37:28,786 INFO [STDOUT] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
          2006-09-15 14:37:28,787 INFO [STDOUT] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
          2006-09-15 14:37:28,787 INFO [STDOUT] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
          2006-09-15 14:37:28,787 INFO [STDOUT] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)
          


          To me it looks like a classloader issue, but not sure.

          I'll appreciate if someone can have a look!

          Thanks
          Madhu

          • 2. Re: Remote JMS server
            Ovidiu Feodorov Master

            Madhu, you probably skipped step 1 from http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Enabling_access_to_remote_JBoss_Messaging_instance

            You need to copy jboss-messaging.jar in $JBOSS_HOME/server/your_config/lib

            Also, your "FactoryRef", "QueueFactoryRef" and "TopicFactoryRef" must be "/XAConnectionFactory", not "java:/XAConnectionFactory".

            Keep in mind that you're attempting remote access, and "java:/" is a local JNDI context.

            • 3. Re: Remote JMS server
              mskonda Apprentice

              Ovidiu, I have followed the steps mentioned. Unfortunately it doesn't work!

              1. When you copy just the jboss-messaging.jar (and remoting) and attempt to deploy the mdb, you get an NoClassFoundException about JoinPointInfo class. This class is present in jboss-messaging-client.jar. In order to rectify the NCFE exception, I have to add teh clinet jar too to lib.

              2. now, after adding the client jar, when you deploy MDB, you still get an exception(see below).

              10:59:26,979 WARN [JMSContainerInvoker] JMS provider failure detected:
              java.lang.NoSuchFieldError: dcl
               at org.jboss.aop.deployment.JBossClassPool.isUnloadedClassLoader(JBossClassPool.java:46)
               at org.jboss.aop.AspectManager.clearUnregisteredClassLoaders(AspectManager.java:620)
               at org.jboss.aop.AspectManager.getRegisteredCLs(AspectManager.java:600)
               at org.jboss.aop.AspectManager.registerClassLoader(AspectManager.java:679)
               at org.jboss.aop.AspectManager.findClassPool(AspectManager.java:668)
               at org.jboss.aop.annotation.PortableAnnotationElement.getClassFile(PortableAnnotationElement.java:253)
               at org.jboss.aop.annotation.PortableAnnotationElement.isAnyAnnotationPresent(PortableAnnotationElement.java:235)
               at org.jboss.aop.Advisor.hasAnnotation(Advisor.java:346)
               at org.jboss.aop.pointcut.Util.matchesClassExpr(Util.java:113)
               at org.jboss.aop.pointcut.TypeMatcher.visit(TypeMatcher.java:153)
               at org.jboss.aop.pointcut.ast.ASTClass.jjtAccept(ASTClass.java:43)
               at org.jboss.aop.pointcut.TypeMatcher.visit(TypeMatcher.java:73)
               at org.jboss.aop.pointcut.ast.ASTStart.jjtAccept(ASTStart.java:42)
               at org.jboss.aop.introduction.InterfaceIntroduction.matches(InterfaceIntroduction.java:233)
               at org.jboss.aop.AspectManager.applyInterfaceIntroductions(AspectManager.java:1685)
               at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:285)
               at java.security.AccessController.doPrivileged(Native Method)
               at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:271)
               at org.jboss.aop.AspectManager.initialiseClassAdvisor(AspectManager.java:587)
               at org.jboss.aop.AspectManager.getAdvisor(AspectManager.java:575)
               at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.<clinit>(ClientConnectionFactoryDelegate.java)
               at sun.misc.Unsafe.ensureClassInitialized(Native Method)
               at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
               at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
               at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
               at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
               at java.lang.reflect.Field.getLong(Field.java:527)
               at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1559)
               at java.io.ObjectStreamClass.access$600(ObjectStreamClass.java:47)
               at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:381)
               at java.security.AccessController.doPrivileged(Native Method)
               at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:373)
               at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:268)
               at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:504)
               at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
               at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
               at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
               at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
               at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
               at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
               at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
               at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
               at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
               at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
               at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:57)
               at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:637)
               at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
               at javax.naming.InitialContext.lookup(InitialContext.java:351)
               at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
               at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:173)
               at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:605)
               at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:932)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
               at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
               at $Proxy0.start(Unknown Source)
               at org.jboss.system.ServiceController.start(ServiceController.java:428)
               at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:179)
               at org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:262)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
               at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
               at $Proxy0.start(Unknown Source)
               at org.jboss.system.ServiceController.start(ServiceController.java:428)
               at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
               at $Proxy49.start(Unknown Source)
               at org.jboss.ejb.EjbModule.startService(EjbModule.java:395)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
               at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
               at $Proxy0.start(Unknown Source)
               at org.jboss.system.ServiceController.start(ServiceController.java:428)
               at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
               at $Proxy25.start(Unknown Source)
               at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:627)
               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:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
               at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
               at $Proxy26.start(Unknown Source)
               at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
               at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
               at $Proxy10.deploy(Unknown Source)
               at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
               at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
               at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
               at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
               at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)
              10:59:26,993 INFO [EJBDeployer] Deployed: file:/sandbox/konmad-sbox/dev/platform/jboss-with-tx-and-msg/jboss-4.0.3SP1/server/default/deploy/simple-mdb.jar
              


              I think, the steps outlined may not guarantee the remote jms server funtionality.

              Thanks
              Madhu

              • 4. Re: Remote JMS server
                Tim Fox Master

                Yes, just copying the jar into the lib directory won't work - JBoss Messaging uses different versions of aop and remoting to those used by JBoss AS 4.x - that's why we do a scoped deployment.

                (All these hassles due to scoped deployments will disappear when JBoss 5 is out :) )

                You need to either deploy the sar into your AS client machine - but this will give you a server too which you don't want in your case.

                Alternatively you should be able to package the jboss client jar inside your ear file, and scope your ear.

                I know you have tried this but had some problems with the structure - but I think it should work.

                • 5. Re: Remote JMS server
                  Ovidiu Feodorov Master

                  The procedure described in the wiki document has been tested with JBoss 4.0.4.GA and it worked. 4.0.4 uses the same AOP version as JBoss Messaging, so there was no need to scope the whole MDB deployment.

                  • 6. Re: Remote JMS server
                    Ovidiu Feodorov Master

                    If you need a more generic solution, scoping the whole MDB deployment is the way to go. I can assist you with that, if using JBoss 4.0.4 is not an option.

                    As Tim said, all these hassles will go away as soon as JBoss 5 is out, since we won't be using scoped deployments anymore.

                    • 7. Re: Remote JMS server
                      mskonda Apprentice

                      Ovidiu, unforutnately we have to stick to 4.0.3SP1 (one of the main reasons being availability of JBossTS).

                      Regarding scoping the ear file, I tried (with Tim's input) but not sucessful. I encountered the following error:

                      Warning: The message driven bean must declare one onMessage() method.
                      ....
                      


                      Someone posted a while ago in forums at http://www.jboss.org/index.html?module=bb&op=viewtopic&t=58037
                      mentioning that error could be due to scoping (see the last message) although I haven't pursuaded further (Part of the error has been fixed in 4.0.2 http://jira.jboss.com/jira/browse/JBAS-1532).

                      Having said that, I'm ready to try once again with your input.

                      Thanks
                      Madhu

                      • 8. Re: Remote JMS server
                        Ovidiu Feodorov Master

                        I've amended http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Enabling_access_to_remote_JBoss_Messaging_instance
                        so it's more general now (it doesn't apply to JBoss 4.0.4 anymore)

                        I also created a completely separated document that explains how to deploy a scoped MDB: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Deploying_a_scoped_MDB_container.

                        I have tested the latter with 4.0.4. I have not tested it with 4.0.3SP1, it could require additional dependencies, but you can extrapolate based on the document.

                        • 9. Re: Remote JMS server
                          mskonda Apprentice

                          I have scoped an MDB with four jars mentioned in the doc and deployed. It complains about ClassNotFoundException on JBossConnectionFactory.

                          Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.client.JBossConnectionFactory (no security manager: RMI class loader disabled)
                          


                          The scoped MDB has already has the access to jboss-messaging.jar file in which the JBossConnectionFactory file is present. This concludes me that scoping might have problmes working on JBoss-4.0.3SP1.

                          I included the jboss-messaging.jar in the lib directory to check whether the class files are picked up. The above CNFE is gone, however, you get another CNFE on JoinPointInfo class:
                          java.lang.NoClassDefFoundError: org/jboss/aop/JoinPointInfo
                          


                          This class is part of jboss-aop.jar but again, inspite of being scoped in the ear, it was not found.

                          So, I think, scoping of ear has issues in SP1

                          Thanks
                          Madhu

                          • 10. Re: Remote JMS server
                            Tim Fox Master

                            I know you are not using 4.0.4 in your project, but can you try it on 4.0.4 then we can isolate whether the problem is related to 4.0.3?

                            • 11. Re: Remote JMS server
                              mskonda Apprentice

                              I tested on 4.0.4, looks like the problem still exists!

                              When I scope the MDB jar and deployed to server, I get NCFE on JBossConnectionFactory!!

                              javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.client.JBossConnectionFactory (no security manager: RMI class loader disabled)]
                               at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728)
                               at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
                               at javax.naming.InitialContext.lookup(InitialContext.java:351)
                               at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:182)
                               at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
                              
                              


                              Just to be on the safeside, here are my artifacts:

                              jboss-app.xml
                              <?xml version="1.0" encoding="UTF-8"?>
                              <jboss-app>
                               <loader-repository>com.madhusudhan:loader=simple-mdb.ear
                               <loader-repository-config>java2ParentDelegaton=false</loader-repository-config>
                               </loader-repository>
                              </jboss-app>
                              

                              Meta-inf
                              Manifest-Version: 1.0
                              Ant-Version: Apache Ant 1.6.5
                              Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.)
                              Java-Version: 1.5.0_06
                              Classpath: lib/jboss-aop.jar,lib/jboss-messaging.jar,lib/jboss-remoting.jar,lib/jboss-serialization.jar
                              


                              Inside the ear, I have jboss-aop.jar, jboss-remoting.jar, jboss-serialization.jar, jboss-messaging and mdb.jar.

                              *ds.xml


                              <?xml version="1.0" encoding="UTF-8"?>
                              
                              <connection-factories>
                              
                               <!-- ==================================================================== -->
                               <!-- JMS Stuff -->
                               <!-- ==================================================================== -->
                              
                               <!-- The JMS provider loader -->
                               <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
                               name="jboss.mq:service=JMSProviderLoader,name=JMSProvider">
                               <attribute name="ProviderName">DefaultJMSProvider</attribute>
                               <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
                               <attribute name="FactoryRef">/XAConnectionFactory</attribute>
                               <attribute name="QueueFactoryRef">/XAConnectionFactory</attribute>
                               <attribute name="TopicFactoryRef">/XAConnectionFactory</attribute>
                               <attribute name="Properties">
                               java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
                               java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
                               java.naming.provider.url=adl-cmi01:19104
                               </attribute>
                               </mbean>
                              
                              
                               <mbean code="org.jboss.jms.asf.ServerSessionPoolLoader"
                               name="jboss.messaging:service=ServerSessionPoolMBean,name=StdJMSPool">
                               <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends>
                               <attribute name="PoolName">StdJMSPool</attribute>
                               <attribute name="PoolFactoryClass">org.jboss.jms.asf.StdServerSessionPoolFactory</attribute>
                               </mbean>
                              
                               <!-- JMS XA Resource adapter, use this to get transacted JMS in beans -->
                               <tx-connection-factory>
                               <jndi-name>JmsXA</jndi-name>
                               <xa-transaction/>
                               <rar-name>jms-ra.rar</rar-name>
                               <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
                               <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
                               <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>
                               <max-pool-size>20</max-pool-size>
                               <security-domain-and-application>JmsXARealm</security-domain-and-application>
                               </tx-connection-factory>
                              
                              </connection-factories>
                              


                              Just let me know if anyone want a deployable mdb jar. I can send by email if they wish.

                              Thanks
                              Madhu

                              • 12. Re: Remote JMS server
                                Tim Fox Master

                                jboss-aop.jar, jboss-remoting.jar, jboss-serialization.jar need to be in the lib directory, mdb.jar doesn't.

                                Have you followed the instructions Ovidiu created on http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Deploying_a_scoped_MDB_container

                                Can you send me and Ovidiu your ear file?

                                I will have a quick look, but Ovidiu will take over when he comes online.

                                Thx

                                • 13. Re: Remote JMS server
                                  mskonda Apprentice

                                  The structure of my ear is as follows:

                                  +-META-INF
                                  | |
                                  | +-- MANIFEST.MF
                                  | +-- application.xml
                                  | +-- jboss-app.xml
                                  |
                                  +---lib
                                  | |
                                  | +-- jboss-messaging.jar
                                  | +-- jboss-aop.jar
                                  | +-- jboss-remoting.jar
                                  | +-- jboss-serialization.jar
                                  |
                                  +-- mdb.jar
                                  |
                                  +-- MANIFEST.MF: Class-Path: lib/jboss-aop.jar,lib/jboss-messaging.jar,lib/jboss-remoting.jar,lib/jboss-serialization.jar
                                  +-- ejb-jar.xml
                                  +-- jboss.xml
                                  +-- <SimpleMDB.class>

                                  I am sending the ear to you and ovidiu.

                                  • 14. Re: Remote JMS server
                                    Ovidiu Feodorov Master

                                    For 4.0.3SP1, additional libraries are needed to be included with the EAR. I've updated http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Deploying_a_scoped_MDB_container to reflect this.

                                    I have tested the procedure with 4.0.3SP1 and it works. When you repeat the attempt, make sure that you follow exactly the steps described in the document.

                                    1 2 Previous Next