[jboss-user] [JBoss Messaging] - Re: JBoss Messaging & Persistence (Failed to route Reference
Stephen.Campbell
do-not-reply at jboss.com
Thu Jun 21 11:40:05 EDT 2007
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
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056564#4056564
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056564
More information about the jboss-user
mailing list