1 2 Previous Next 16 Replies Latest reply on Sep 18, 2012 2:13 AM by zhyy22145

    JBoss Messaging & Persistence (Failed to route Reference[?]:

    stephen.campbell

      Hi Guys,

      Having a problem here using JBM with persistence. To give you a quick recap on what i am doing here it is.

      I have a service that needs to use a persisted JMS queue, on each attempt a call to an outside party fails i need to change the delay time.

      Eg after 1 attempt delay 10mins before retrying
      after 2 attempts delay 20mins before retrying

      I had this working with JBM in a way that i send the message to a queue, an MDB reads the message off and attempts to call the 3rd party service, if that call fails, i rather than rollback (as the message needs to be delayed rather than having a queue delay) resend the message back to the queue.

      When using postgres to persist the queue and try to resend the message i get the following error.

      2007-06-19 17:08:29,752 WARN [BeanUtility][david@bt.com][2BFF7033-A746-664D-069B-238E97E2CEAC][myApp] - Exception occured in sending message, attempting to resend message for the 1 time
      2007-06-19 17:08:29,752 INFO [STDOUT][david@bt.com][2BFF7033-A746-664D-069B-238E97E2CEAC][myApp] - The connection Factory i am looking for is : /XAConnectionFactory
      2007-06-19 17:08:29,973 ERROR [ChannelSupport][david@bt.com][2BFF7033-A746-664D-069B-238E97E2CEAC][myApp] - Failed to handle message
      java.lang.ExceptionInInitializerError
       at org.jboss.messaging.core.ChannelSupport.checkAndSchedule(ChannelSupport.java:807)
       at org.jboss.messaging.core.ChannelSupport.handleInternal(ChannelSupport.java:741)
       at org.jboss.messaging.core.ChannelSupport.handle(ChannelSupport.java:157)
       at org.jboss.messaging.core.local.PagingFilteredQueue.handle(PagingFilteredQueue.java:114)
       at org.jboss.messaging.core.plugin.postoffice.DefaultPostOffice.route(DefaultPostOffice.java:333)
       at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:685)
       at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:316)
       at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:80)
       at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_6145266547759487588.invokeNext(SessionAdvised$send_6145266547759487588.java)
       at org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:152)
       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:121)
       at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_6145266547759487588.invokeNext(SessionAdvised$send_6145266547759487588.java)
       at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
       at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_6145266547759487588.invokeNext(SessionAdvised$send_6145266547759487588.java)
       at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
       at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(SessionSendRequest.java:88)
       at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:125)
       at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
       at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
       at org.jboss.remoting.Client.invoke(Client.java:1544)
       at org.jboss.remoting.Client.invoke(Client.java:530)
       at org.jboss.remoting.Client.invoke(Client.java:518)
       at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:184)
       at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:155)
       at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$send$aop(ClientSessionDelegate.java:446)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
       at org.jboss.jms.client.container.SessionAspect.handleSend(SessionAspect.java:621)
       at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect28.invoke(SessionAspect28.java)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
       at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:91)
       at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
       at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:171)
       at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
       at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:71)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
       at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
       at org.jboss.jms.client.delegate.ClientSessionDelegate.send(ClientSessionDelegate.java)
       at org.jboss.jms.client.container.ProducerAspect.handleSend(ProducerAspect.java:243)
       at org.jboss.aop.advice.org.jboss.jms.client.container.ProducerAspect46.invoke(ProducerAspect46.java)
       at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
       at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:171)
       at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
       at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
       at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:71)
       at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
       at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
       at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
       at org.jboss.jms.client.delegate.ClientProducerDelegate.send(ClientProducerDelegate.java)
       at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:164)
       at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:207)
       at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:145)
       at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:136)
       at com.bt.capabilities.messaging.external.mdb.BeanUtility.resend(BeanUtility.java:68)
       at com.bt.capabilities.messaging.external.mdb.BeanUtility.checkIfLast(BeanUtility.java:111)
       at com.bt.capabilities.messaging.external.mdb.SendMessageBean.onMessage(SendMessageBean.java:117)
       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.invocation.Invocation.performCall(Invocation.java:359)
       at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
       at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
       at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
       at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
       at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
       at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
       at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
       at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
       at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
       at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
       at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
       at org.jboss.ejb.Container.invoke(Container.java:954)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)
       at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
       at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:153)
       at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:791)
       at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect14.invoke(SessionAspect14.java)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
       at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:171)
       at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
       at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:71)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
       at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
       at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
       at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
       at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
       at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.RuntimeException: Cannot instantiate class org.jboss.util.timeout.TimeoutPriorityQueueImpl
       at org.jboss.util.timeout.TimeoutFactory.<init>(TimeoutFactory.java:128)
       at org.jboss.jms.server.MessagingTimeoutFactory.createFactory(MessagingTimeoutFactory.java:76)
       at org.jboss.jms.server.MessagingTimeoutFactory.<init>(MessagingTimeoutFactory.java:51)
       at org.jboss.jms.server.MessagingTimeoutFactory.<clinit>(MessagingTimeoutFactory.java:41)
       ... 98 more
      Caused by: java.lang.ClassCastException: org.jboss.util.timeout.TimeoutPriorityQueueImpl
       at org.jboss.util.timeout.TimeoutFactory.<init>(TimeoutFactory.java:124)
       ... 101 more
      2007-06-19 17:08:29,983 ERROR [ExceptionUtil][david@bt.com][2BFF7033-A746-664D-069B-238E97E2CEAC][myApp] - SessionEndpoint[25] send [a6e5iq-zrffi-f34kk6dg-1-f34kmdy7-12]
      javax.jms.JMSException: Failed to route Reference[61952]:RELIABLE to retryMessage
       at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:687)
       at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:316)
       at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:80)
       at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_6145266547759487588.invokeNext(SessionAdvised$send_6145266547759487588.java)
       at org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:152)
       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:121)
       at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_6145266547759487588.invokeNext(SessionAdvised$send_6145266547759487588.java)
       at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
       at org.jboss.jms.server.endpoint.advised.SessionAdvised$send_6145266547759487588.invokeNext(SessionAdvised$send_6145266547759487588.java)
       at org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
       at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(SessionSendRequest.java:88)
       at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:125)
       at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
       at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
       at org.jboss.remoting.Client.invoke(Client.java:1544)
       at org.jboss.remoting.Client.invoke(Client.java:530)
       at org.jboss.remoting.Client.invoke(Client.java:518)
       at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:184)
       at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:155)
       at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$send$aop(ClientSessionDelegate.java:446)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
       at org.jboss.jms.client.container.SessionAspect.handleSend(SessionAspect.java:621)
       at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect28.invoke(SessionAspect28.java)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
       at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:91)
       at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
       at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:171)
       at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
       at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:71)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
       at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java)
       at org.jboss.jms.client.delegate.ClientSessionDelegate.send(ClientSessionDelegate.java)
       at org.jboss.jms.client.container.ProducerAspect.handleSend(ProducerAspect.java:243)
       at org.jboss.aop.advice.org.jboss.jms.client.container.ProducerAspect46.invoke(ProducerAspect46.java)
       at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
       at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:171)
       at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
       at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
       at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:71)
       at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
       at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
       at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
       at org.jboss.jms.client.delegate.ClientProducerDelegate.send(ClientProducerDelegate.java)
       at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:164)
       at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:207)
       at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:145)
       at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:136)
       at com.bt.capabilities.messaging.external.mdb.BeanUtility.resend(BeanUtility.java:68)
       at com.bt.capabilities.messaging.external.mdb.BeanUtility.checkIfLast(BeanUtility.java:111)
       at com.bt.capabilities.messaging.external.mdb.SendMessageBean.onMessage(SendMessageBean.java:117)
       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.invocation.Invocation.performCall(Invocation.java:359)
       at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:495)
       at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
       at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:116)
       at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
       at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
       at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
       at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
       at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
       at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
       at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
       at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
       at org.jboss.ejb.Container.invoke(Container.java:954)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)
       at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)
       at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
       at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:153)
       at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:791)
       at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect14.invoke(SessionAspect14.java)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
       at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:171)
       at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
       at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:71)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
       at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)
       at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)
       at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)
       at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
       at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
       at java.lang.Thread.run(Thread.java:595)
      2007-06-19 17:08:30,603 ERROR [BeanUtility][david@bt.com][2BFF7033-A746-664D-069B-238E97E2CEAC][myApp] - Exception occurred: javax.jms.JMSException: Failed to route Reference[61952]:RELIABLE to retryMessage


      Another couple of strange things i have noticed are:-

      I am sending String Properties in the Message header, the original post works fine, but again the resend fails.
      However if i remove the headers everything works fine when using hypersonic as a persistence store but again fails when using postgres?

      I have tried googling the damn thing over an over but cant find a single solution.

      Any ideas?

        • 1. Re: JBoss Messaging & Persistence (Failed to route Reference
          timfox

          Please, please, please always state the versions of the software you are using when making a report.

          JBM version

          JBAS version

          JDK version

          OS

          etc

          • 2. Re: JBoss Messaging & Persistence (Failed to route Reference
            stephen.campbell

            Hi Tim,

            Sorry,
            The versions are as follows

            JBM - 1.2.0SP1
            jbOSS - 4.0.4
            OS - WinXp (but eventually Linux)
            JDK - 1.5.12

            If there is anything else let me know

            Regards,
            Stephen

            • 3. Re: JBoss Messaging & Persistence (Failed to route Reference
              timfox

              I am not 100% sure but it looks like a scoping issue.

              Most scoping issues were resolved in JBM 1.3.0

              • 4. Re: JBoss Messaging & Persistence (Failed to route Reference
                stephen.campbell

                Hi Tim,
                Ok, so I have given up on getting 1.2.0sp1 working and moved onto 1.3.0. The other config remains the same, just to recap

                Jboss version - 4.0.4 (we are a part of a bigger project and the other components use 4.0.4 so we cant move)
                JBM version - 1.3.0 (non-clustered)
                Operating Sys - winXP - eventually Linux
                Java SDK - 1.5.12

                So what have I done

                Deleted my existing jboss version and reinstalled the again
                Ran the release-admin script from JBM 1.3.0
                Followed the final steps
                Extra steps for using JBM with 4.0.x release - replacing the jars ()

                I have not deployed anything to my server at this point but when I try to start Jboss I get the following error

                org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
                 at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
                 at org.jboss.system.ServiceController.install(ServiceController.java:226)
                 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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy4.install(Unknown Source)
                 at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
                 at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                 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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy8.deploy(Unknown Source)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                 at sun.reflect.GeneratedMethodAccessor2.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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                 at $Proxy0.start(Unknown Source)
                 at org.jboss.system.ServiceController.start(ServiceController.java:417)
                 at sun.reflect.GeneratedMethodAccessor9.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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy4.start(Unknown Source)
                 at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
                 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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy5.deploy(Unknown Source)
                 at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                 at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                 at org.jboss.Main.boot(Main.java:200)
                 at org.jboss.Main$1.run(Main.java:464)
                 at java.lang.Thread.run(Thread.java:595)
                Caused by: java.lang.reflect.UndeclaredThrowableException
                 at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
                 at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
                 at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
                 ... 81 more
                Caused by: java.lang.NoClassDefFoundError: org/jboss/aop/ClassPoolFactory
                 at java.lang.Class.getDeclaredConstructors0(Native Method)
                 at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
                 at java.lang.Class.getConstructor0(Class.java:2671)
                 at java.lang.Class.getConstructor(Class.java:1629)
                 at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1232)
                 at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
                 at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
                 at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
                 ... 83 more
                
                And
                
                14:46:51,736 ERROR [ExceptionUtil] ServerPeer[0] startService
                java.lang.NoClassDefFoundError: org/jboss/aop/AspectXmlLoader
                 at org.jboss.jms.server.ServerPeer.loadServerAOPConfig(ServerPeer.java:1252)
                 at org.jboss.jms.server.ServerPeer.startService(ServerPeer.java:216)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                 at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
                 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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
                 at $Proxy0.start(Unknown Source)
                 at org.jboss.system.ServiceController.start(ServiceController.java:417)
                 at org.jboss.system.ServiceController.start(ServiceController.java:435)
                 at org.jboss.system.ServiceController.start(ServiceController.java:435)
                 at org.jboss.system.ServiceController.start(ServiceController.java:435)
                 at org.jboss.system.ServiceController.start(ServiceController.java:435)
                 at org.jboss.system.ServiceController.start(ServiceController.java:435)
                 at org.jboss.system.ServiceController.start(ServiceController.java:435)
                 at sun.reflect.GeneratedMethodAccessor9.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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy4.start(Unknown Source)
                 at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                 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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy41.start(Unknown Source)
                 at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
                 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                 at sun.reflect.GeneratedMethodAccessor57.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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy8.deploy(Unknown Source)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                 at sun.reflect.GeneratedMethodAccessor2.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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                 at $Proxy0.start(Unknown Source)
                 at org.jboss.system.ServiceController.start(ServiceController.java:417)
                 at sun.reflect.GeneratedMethodAccessor9.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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy4.start(Unknown Source)
                 at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
                 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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy5.deploy(Unknown Source)
                 at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                 at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                 at org.jboss.Main.boot(Main.java:200)
                 at org.jboss.Main$1.run(Main.java:464)
                 at java.lang.Thread.run(Thread.java:595)
                14:46:51,746 WARN [ServiceController] Problem starting service jboss.messaging:service=ServerPeer
                java.lang.NoClassDefFoundError: org/jboss/aop/AspectXmlLoader
                 at org.jboss.jms.server.ServerPeer.loadServerAOPConfig(ServerPeer.java:1252)
                 at org.jboss.jms.server.ServerPeer.startService(ServerPeer.java:216)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                 at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
                 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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
                 at $Proxy0.start(Unknown Source)
                 at org.jboss.system.ServiceController.start(ServiceController.java:417)
                 at org.jboss.system.ServiceController.start(ServiceController.java:435)
                 at org.jboss.system.ServiceController.start(ServiceController.java:435)
                 at org.jboss.system.ServiceController.start(ServiceController.java:435)
                 at org.jboss.system.ServiceController.start(ServiceController.java:435)
                 at org.jboss.system.ServiceController.start(ServiceController.java:435)
                 at org.jboss.system.ServiceController.start(ServiceController.java:435)
                 at sun.reflect.GeneratedMethodAccessor9.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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy4.start(Unknown Source)
                 at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                 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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy41.start(Unknown Source)
                 at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
                 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                 at sun.reflect.GeneratedMethodAccessor57.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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy41.start(Unknown Source)
                 at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
                 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                 at sun.reflect.GeneratedMethodAccessor57.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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy8.deploy(Unknown Source)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                 at sun.reflect.GeneratedMethodAccessor2.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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                 at $Proxy0.start(Unknown Source)
                 at org.jboss.system.ServiceController.start(ServiceController.java:417)
                 at sun.reflect.GeneratedMethodAccessor9.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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy4.start(Unknown Source)
                 at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
                 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
                 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:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy5.deploy(Unknown Source)
                 at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
                 at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
                 at org.jboss.Main.boot(Main.java:200)
                 at org.jboss.Main$1.run(Main.java:464)
                 at java.lang.Thread.run(Thread.java:595)


                The only way I can get the server to start up is by not replacing the jboss-aop jar

                Now jboss starts up

                When I deploy my code everything looks fine, however when I try and send a message to the queue I get the following error

                14:59:15,275 INFO [STDOUT] 14:59:15,275 ERROR [SimpleMessageClient]
                 JNDI lookup failed: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.jms.client.delegate.DelegateSupport;
                 local class incompatible: stream classdesc serialVersionUID = -1362079381836473747,
                 local class serialVersionUID = -1723908125830723356]


                Ok so I thought that my code still has the 1.2.0 jboss messaging client packaged up in it so, I repackaged with the trimmed down version and got this error

                15:11:33,646 ERROR [JBossConnectionFactory] Failed to download and/or install client side AOP stack
                org.jboss.jms.exception.MessagingJMSException: Failed to invoke
                 at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:247)
                 at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:202)
                 at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:157)
                 at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:227)
                 at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientConnectionFactoryDelegate.java)
                 at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:67)
                 at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:192)
                 at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87)
                 at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82)
                 at com.bt.capabilities.messaging.SimpleMessageClient.sendToQueue(SimpleMessageClient.java:69)
                 at com.bt.capabilities.messaging.MessagingService.sendMessage(MessagingService.java:173)
                 at com.bt.capabilities.messaging.ws.MessagingOneWayServiceImpl.sendMessage(MessagingOneWayServiceImpl.java:73)
                 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:334)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
                 at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:72)
                 at com.bt.capabilities.logging.aspects.LoggingAspect.traceInbound(LoggingAspect.java:16)
                 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.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:566)
                 at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:556)
                 at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:57)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
                 at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)
                 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
                 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:209)
                 at $Proxy84.sendMessage(Unknown Source)
                 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:334)
                 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
                 at $Proxy84.sendMessage(Unknown Source)
                 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.codehaus.xfire.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:54)
                 at org.codehaus.xfire.service.binding.ServiceInvocationHandler.sendMessage(ServiceInvocationHandler.java:271)
                 at org.codehaus.xfire.service.binding.ServiceInvocationHandler$1.run(ServiceInvocationHandler.java:84)
                 at org.codehaus.xfire.service.binding.ServiceInvocationHandler.execute(ServiceInvocationHandler.java:132)
                 at org.codehaus.xfire.service.binding.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:107)
                 at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
                 at org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64)
                 at org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38)
                 at org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.java:301)
                 at org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:130)
                 at org.codehaus.xfire.spring.remoting.XFireServletControllerAdapter.handleRequest(XFireServletControllerAdapter.java:67)
                 at org.codehaus.xfire.spring.remoting.XFireExporter.handleRequest(XFireExporter.java:48)
                 at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
                 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
                 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:728)
                 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
                 at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                 at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                 at java.lang.Thread.run(Thread.java:595)
                Caused by: java.lang.ClassCastException: org.jboss.jms.wireformat.ConnectionFactoryGetClientAOPStackRequest
                 at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:112)
                 at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
                 at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
                 at org.jboss.remoting.Client.invoke(Client.java:1550)
                 at org.jboss.remoting.Client.invoke(Client.java:530)
                 at org.jboss.remoting.Client.invoke(Client.java:518)
                 at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:186)
                 ... 79 more
                15:11:33,666 ERROR [SimpleMessageClient] Exception occurred: java.lang.RuntimeException: Failed to download and/or install client side AOP stack


                The code I am using looks like this

                public class SimpleMessageClient implements ISimpleMessageClient {
                 private static Log log = LogFactory.getLog(SimpleMessageClient.class);
                 public final static String INITIAL = "jms.initial";
                 public final static String URL = "jms.url";
                 public final static String PKGS = "jms.pkgs";
                 public final static String QUEUE = "jms.queue";
                 public final static String CONNECTION_FACTORY = "jms.connectionfactory";
                
                 public void sendToQueue(Vector<URI> telUris, String from, String msg, boolean oneWay, String groupId) {
                
                 String[] uris = new String[telUris.size()];
                 if (telUris.size() > 0) {
                 for (int i = 0; i < telUris.size(); i++) {
                 uris = telUris.get(i).toString();
                 }
                 }
                
                 MessageDetails msgDetail = new MessageDetails(uris, from, msg, oneWay, groupId);
                 Connection queueConnection = null;
                 Session queueSession = null;
                 Queue queue = null;
                 MessageProducer queueSender = null;
                 ObjectMessage message = null;
                
                 try {
                 InitialContext ic = createInitialContext();
                
                 ConnectionFactory cf = (ConnectionFactory) ic.lookup("/ConnectionFactory");
                 if (cf == null)
                 throw new SmsException("queueConnectionFactory is null");
                
                 log.debug(ic.lookup("/ConnectionFactory"));
                 queue = (Queue) ic.lookup(/queue/retryMessage));
                
                 queueConnection = cf.createConnection();
                 queueSession = (Session) queueConnection.createSession(false, Session.AUTO_ACKNOWLEDGE);
                 queueSender = queueSession.createProducer(queue);
                
                 message = queueSession.createObjectMessage(msgDetail);
                 queueSender.send(message);
                 } catch (NamingException e) {
                 log.error("JNDI lookup failed: " + e.toString());
                 } catch (Exception e) {
                 log.error("Exception occurred: " + e.toString());
                 } finally {
                 if (queueConnection != null) {
                 try {
                 queueConnection.close();
                 } catch (JMSException e) {
                 }
                 } // if
                 } // finally
                 } // main
                
                 InitialContext createInitialContext() throws NamingException {
                 Properties props = new Properties();
                 props.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
                 props.setProperty("java.naming.provider.url", "localhost");
                 props.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
                 InitialContext ic = new InitialContext(props);
                 return ic;
                 }
                
                 } // class


                I am really lost on this one, keep going round in circles, any idea what I am doing wrong?

                Regards,
                Stephen

                • 5. Re: JBoss Messaging & Persistence (Failed to route Reference
                  clebert.suconic

                  You are missing adding/updating jboss-aop at /lib


                  Look at instalation guide... there is a statement saying that if you want to using JBM and JBAS 4.0.4 you would have to do it at your own risk as you would need to update some libraries.

                  And that's what you have to do.... either update/install these libraries at jbas/server/lib or start using JBAS 4.2


                  • 6. Re: JBoss Messaging & Persistence (Failed to route Reference
                    stephen.campbell

                    HI Clebert,

                    From my previous post you can see that i DID replace the jboss-aop.jar but the server did not boot up.

                    The only way i could get the server to start (without my own code) was to not replace that jar.


                    Take a look at the error i posted, is there a step i or the installation guide is missing?

                    I followed it to the letter ???

                    Regards,
                    Stephen

                    • 7. Re: JBoss Messaging & Persistence (Failed to route Reference
                      timfox

                      As Clebert has said, we don't make any guarantees about JBM working in JBAS 4.0.x - the target platform is JBAS 4.2.0.

                      However you can probably get it to work given enough tweaking.

                      Things to check:

                      1) Don't deploy your application scoped

                      2) Don't include ANY jars in your .ear or .jar

                      If the worse comes to the worse you can always do a scoped deployment like you did for 1.2.0.

                      • 8. Re: JBoss Messaging & Persistence (Failed to route Reference
                        clebert.suconic

                        It looks like you have a different jboss-messaging-client.jar somewhere. this serialVersionUID clash is a sign that you have different jar versions somewhere.

                        14:59:15,275 INFO [STDOUT] 14:59:15,275 ERROR [SimpleMessageClient]
                         JNDI lookup failed: javax.naming.CommunicationException [Root exception is java.io.InvalidClassExc
                        eption: org.jboss.jms.client.delegate.DelegateSupport;
                         local class incompatible: stream classdesc serialVersionUID = -1362079381836473747,
                         local class serialVersionUID = -1723908125830723356]
                        
                        


                        • 9. Re: JBoss Messaging & Persistence (Failed to route Reference
                          stephen.campbell

                          Hi Clebert,

                          Thats what i thought, as my code had the old 1.2.0 Client jar (5MB) so i repackaged my code with the client jar that comes with 1.3.0 (0.5mb) once i done this i not longet get the

                          14:59:15,275 INFO [STDOUT] 14:59:15,275 ERROR [SimpleMessageClient]
                           JNDI lookup failed: javax.naming.CommunicationException [Root exception is java.io.InvalidClassExc
                          
                          eption: org.jboss.jms.client.delegate.DelegateSupport;
                           local class incompatible: stream classdesc serialVersionUID = -1362079381836473747,
                           local class serialVersionUID = -1723908125830723356]


                          error

                          i know get the following error,

                          15:11:33,646 ERROR [JBossConnectionFactory] Failed to download and/or install client side AOP stack
                          org.jboss.jms.exception.MessagingJMSException: Failed to invoke
                           at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:247)
                           at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:202)
                           at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:157)
                           at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delega
                          te$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:227)
                           at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientCon
                          nectionFactoryDelegate.java)
                           at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:67)
                           at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFacto
                          ry.java:192)
                           at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:
                          87)
                           at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:
                          82)
                           at com.bt.capabilities.messaging.SimpleMessageClient.sendToQueue(SimpleMessageClient.java:69
                          )
                           at com.bt.capabilities.messaging.MessagingService.sendMessage(MessagingService.java:173)
                           at com.bt.capabilities.messaging.ws.MessagingOneWayServiceImpl.sendMessage(MessagingOneWaySe
                          rviceImpl.java:73)
                           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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:334
                          )
                           at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
                          thodInvocation.java:181)
                           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
                          cation.java:148)
                           at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocat
                          ionProceedingJoinPoint.java:72)
                           at com.bt.capabilities.logging.aspects.LoggingAspect.traceInbound(LoggingAspect.java:16)
                           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.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(Abs
                          tractAspectJAdvice.java:566)
                           at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJA
                          dvice.java:556)
                           at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:57)
                           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
                          cation.java:170)
                           at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationIn
                          terceptor.java:95)
                           at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
                          cation.java:170)
                           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:209)
                           at $Proxy84.sendMessage(Unknown Source)
                           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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:334
                          )
                           at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
                           at $Proxy84.sendMessage(Unknown Source)
                           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.codehaus.xfire.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:54)
                           at org.codehaus.xfire.service.binding.ServiceInvocationHandler.sendMessage(ServiceInvocation
                          Handler.java:271)
                           at org.codehaus.xfire.service.binding.ServiceInvocationHandler$1.run(ServiceInvocationHandle
                          r.java:84)
                           at org.codehaus.xfire.service.binding.ServiceInvocationHandler.execute(ServiceInvocationHand
                          ler.java:132)
                           at org.codehaus.xfire.service.binding.ServiceInvocationHandler.invoke(ServiceInvocationHandl
                          er.java:107)
                           at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
                           at org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64)
                           at org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38)
                           at org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.ja
                          va:301)
                           at org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController
                          .java:130)
                           at org.codehaus.xfire.spring.remoting.XFireServletControllerAdapter.handleRequest(XFireServl
                          etControllerAdapter.java:67)
                           at org.codehaus.xfire.spring.remoting.XFireExporter.handleRequest(XFireExporter.java:48)
                           at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControlle
                          rHandlerAdapter.java:45)
                           at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
                           at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:728)
                           at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396
                          )
                           at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
                           at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                           at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
                          ava:252)
                           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                          
                           at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
                          ava:202)
                           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                          
                           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja
                          va:175)
                           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                           at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Htt
                          p11BaseProtocol.java:664)
                           at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                           at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                           at java.lang.Thread.run(Thread.java:595)
                          Caused by: java.lang.ClassCastException: org.jboss.jms.wireformat.ConnectionFactoryGetClientAOPStack
                          Request
                           at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandle
                          r.java:112)
                           at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
                           at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
                          
                           at org.jboss.remoting.Client.invoke(Client.java:1550)
                           at org.jboss.remoting.Client.invoke(Client.java:530)
                           at org.jboss.remoting.Client.invoke(Client.java:518)
                           at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:186)
                           ... 79 more
                          15:11:33,666 ERROR [SimpleMessageClient] Exception occurred: java.lang.RuntimeException: Failed to d
                          ownload and/or install client side AOP stack


                          Tim talked about try to do a scoped deployment for 1.3 like i did for 1.2, i had a look at the user guide and it doesnt mention anything about doing a scoped deployment, pardon my ignorance but what is the difference and how do i do one?

                          Apologies, if i am doing you guys heads in, first one to try this in my team so everyone is looking to me for answers :os

                          Regards,
                          Stephen

                          • 10. Re: JBoss Messaging & Persistence (Failed to route Reference
                            clebert.suconic

                            You must have another error somewhere else...

                            This error (cannot download) is a consequence of another error.. you have to look at your logs.


                            Anyway... We don't really support JBM 1.3 on JBAS 4.0... can't you use JBAS 4.2 for this? (It's much better anyway)

                            • 11. Re: JBoss Messaging & Persistence (Failed to route Reference
                              stephen.campbell

                              Hi Clebert,

                              the cannot download error seems to be caused by the following

                              15:11:33,646 ERROR [JBossConnectionFactory] Failed to download and/or install client side AOP stack
                              org.jboss.jms.exception.MessagingJMSException: Failed to invoke
                               at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:247)
                               at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:202)
                               at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:157)
                               at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delega
                              te$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:227)
                               at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientCon
                              nectionFactoryDelegate.java)
                               at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:67)
                               at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFacto
                              ry.java:192)
                               at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:
                              87)
                               at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:
                              82)
                               at com.bt.capabilities.messaging.SimpleMessageClient.sendToQueue(SimpleMessageClient.java:69
                              )
                               at com.bt.capabilities.messaging.MessagingService.sendMessage(MessagingService.java:173)
                               at com.bt.capabilities.messaging.ws.MessagingOneWayServiceImpl.sendMessage(MessagingOneWaySe
                              rviceImpl.java:73)
                               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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:334
                              )
                               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
                              thodInvocation.java:181)
                               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
                              cation.java:148)
                               at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocat
                              ionProceedingJoinPoint.java:72)
                               at com.bt.capabilities.logging.aspects.LoggingAspect.traceInbound(LoggingAspect.java:16)
                               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.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(Abs
                              tractAspectJAdvice.java:566)
                               at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJA
                              dvice.java:556)
                               at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:57)
                               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
                              cation.java:170)
                               at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationIn
                              terceptor.java:95)
                               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
                              cation.java:170)
                               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:209)
                               at $Proxy84.sendMessage(Unknown Source)
                               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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:334
                              )
                               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
                               at $Proxy84.sendMessage(Unknown Source)
                               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.codehaus.xfire.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:54)
                               at org.codehaus.xfire.service.binding.ServiceInvocationHandler.sendMessage(ServiceInvocation
                              Handler.java:271)
                               at org.codehaus.xfire.service.binding.ServiceInvocationHandler$1.run(ServiceInvocationHandle
                              r.java:84)
                               at org.codehaus.xfire.service.binding.ServiceInvocationHandler.execute(ServiceInvocationHand
                              ler.java:132)
                               at org.codehaus.xfire.service.binding.ServiceInvocationHandler.invoke(ServiceInvocationHandl
                              er.java:107)
                               at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
                               at org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64)
                               at org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38)
                               at org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.ja
                              va:301)
                               at org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController
                              .java:130)
                               at org.codehaus.xfire.spring.remoting.XFireServletControllerAdapter.handleRequest(XFireServl
                              etControllerAdapter.java:67)
                               at org.codehaus.xfire.spring.remoting.XFireExporter.handleRequest(XFireExporter.java:48)
                               at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControlle
                              rHandlerAdapter.java:45)
                               at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
                               at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:728)
                               at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396
                              )
                               at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
                               at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                               at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
                              ava:252)
                               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                              
                               at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
                              ava:202)
                               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                              
                               at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                               at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                               at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja
                              va:175)
                               at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                               at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                               at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                               at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Htt
                              p11BaseProtocol.java:664)
                               at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                               at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                               at java.lang.Thread.run(Thread.java:595)
                              Caused by: java.lang.ClassCastException: org.jboss.jms.wireformat.ConnectionFactoryGetClientAOPStack
                              Request
                               at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandle
                              r.java:112)
                               at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
                               at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
                              
                               at org.jboss.remoting.Client.invoke(Client.java:1550)
                               at org.jboss.remoting.Client.invoke(Client.java:530)
                               at org.jboss.remoting.Client.invoke(Client.java:518)
                               at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:186)
                               ... 79 more
                              15:11:33,666 ERROR [SimpleMessageClient] Exception occurred: java.lang.RuntimeException: Failed to d
                              ownload and/or install client side AOP stack


                              The problem is that in our project there are a number of components all running on Jboss 4.0.4, we hope to upgrade from this but need to be carefull as all components would need to test against the new version.

                              Ideally we would like to upgrade when JBM becomes the default JMS provider, i heard rumours that 4.2.1 might roll this in?

                              Any ideas on a set release date for 4.2.1 (if the rumours are true) or JBoss 5.0?

                              Regards,
                              Stephen

                              • 12. Re: JBoss Messaging & Persistence (Failed to route Reference
                                clebert.suconic

                                That's the same exception you sent before, right? Look for some other error.

                                The problem is that in our project there are a number of components all running on Jboss 4.0.4, we hope to upgrade from this but need to be carefull as all components would need to test against the new version.



                                If you are that concerned about your environment... when you upgrade those versions (aop, remoting.. all that kind of stuff).. you are creating something else but JBAS 4.0.4. If you have standardized your environment based in some tests you did in the past.. .you are modifying the environment you originally worked on.

                                You will need to test all of your other components anyway... I bet you would save time migrating to JBAS 4.2.


                                Any ideas on a set release date for 4.2.1 (if the rumours are true) or JBoss 5.0?


                                I know as much as you.. the roadmaps are pubilc on http://jira.jboss.org

                                • 13. Re: JBoss Messaging & Persistence (Failed to route Reference
                                  timfox

                                   

                                  "Stephen.Campbell" wrote:

                                  Thats what i thought, as my code had the old 1.2.0 Client jar (5MB) so i repackaged my code with the client jar that comes with 1.3.0 (0.5mb) once i done this i not longet get the


                                  No, as I said in my previous post, you should NOT package any jars into your .ear or .jar.


                                  • 14. Re: JBoss Messaging & Persistence (Failed to route Reference
                                    timfox

                                    Yes, you will make your life a lot easier by moving to 4.2.0

                                    1 2 Previous Next