10 Replies Latest reply on Nov 13, 2012 9:10 PM by alax

    Failed to download and/or install client side AOP stack / Co

    pdestrais

      Hi,

      I just installed the latest JBoss messaging 1.2 as a replacement to JBossMQ.
      In our application, in the processing of an MDB, we are creating a acknowledgement message that we submit on a queue.
      When the message is created on the queue (through Spring's JMSTemplate), we get this error :

      2007-03-02 15:36:46,290 ERROR [org.jboss.jms.client.JBossConnectionFactory] Failed to download and/or install client side AOP stack
      org.jboss.jms.util.MessagingNetworkFailureException: Failed to connect client
      at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createClient(ClientConnectionFactoryDelegate.java:288)
      at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:222)
      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:199)
      at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:88)
      at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:83)
      at org.springframework.jms.core.JmsTemplate.createConnection(JmsTemplate.java:760)
      at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:420)
      at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:477)
      at com.notary.app.taxsocnot.notice.jms.XmlSenderImpl.send(XmlSenderImpl.java:42)
      at com.notary.app.taxsocnot.notice.jms.XmlSenderImpl.send(XmlSenderImpl.java:37)
      at com.notary.app.taxsocnot.notice.service.NoticeManagerImpl.sendNotificationAck(NoticeManagerImpl.java:608)
      at com.notary.app.taxsocnot.notice.service.NoticeManagerImpl.receiveNotification(NoticeManagerImpl.java:544)
      at com.notary.app.taxsocnot.notice.service.NoticeManagerImpl$$FastClassByCGLIB$$7e317016.invoke()
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:685)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:623)
      at com.notary.app.taxsocnot.notice.service.NoticeManagerImpl$$EnhancerByCGLIB$$d5118cf3.receiveNotification()
      at com.notary.app.taxsocnot.notice.service.impl.NoticeFacadeImpl.processNotification(NoticeFacadeImpl.java:95)
      at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source)
      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:287)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
      at $Proxy65.processNotification(Unknown Source)
      at com.notary.app.taxsocnot.notice.service.ejb.ReceivePRNOTIFBean.onMessage(ReceivePRNOTIFBean.java:72)
      at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source)
      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:211)
      at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.RuntimeException: Couldn't find valid client invoker class for transport 'bisocket'
      at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:333)
      at org.jboss.remoting.Client.(Client.java:178)
      at org.jboss.remoting.Client.(Client.java:157)
      at org.jboss.remoting.Client.(Client.java:126)
      at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createClient(ClientConnectionFactoryDelegate.java:282)
      ... 68 more

      Being new to Jboss messaging, I'm wondering if this could be a configuration problem (and if yes, what it could be) or if this is an issue.

      Thanks for your help.

      Philippe

        • 1. Re: Failed to download and/or install client side AOP stack
          chipschoch

          I upgraded from JBossMessaging 1.01 to 1.2 today and I go the exact same message when I tried to run my messaging service. I have no clue as to the problem. If anyone can shed some light, please do.

          • 2. Re: Failed to download and/or install client side AOP stack
            chipschoch

            I added jboss-aop-jdk50-client.jar and jboss-aspect-jdk50-client.jar to the server lib directory, so my service wouild have access to them, and restarted jboss. Now I got a different exception:

            2007-03-06 12:38:28,575 ERROR [STDERR] Exception in thread "Thread-3"
            2007-03-06 12:38:28,606 ERROR [STDERR] java.lang.IllegalAccessError: tried to access class org.jboss.aop.LoadInterceptedClassesStrategy from class org.jboss.aop.AspectManager
            2007-03-06 12:38:28,606 ERROR [STDERR] at org.jboss.aop.AspectManager.(AspectManager.java:173)
            2007-03-06 12:38:28,606 ERROR [STDERR] at org.jboss.aop.AspectManager$2.run(AspectManager.java:276)
            2007-03-06 12:38:28,606 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
            2007-03-06 12:38:28,606 ERROR [STDERR] at org.jboss.aop.AspectManager.instance(AspectManager.java:262)
            2007-03-06 12:38:28,606 ERROR [STDERR] at org.jboss.aop.AspectManager.instance(AspectManager.java:255)
            2007-03-06 12:38:28,840 ERROR [STDERR] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.(ClientConnectionFactoryDelegate.java)
            2007-03-06 12:38:28,840 ERROR [STDERR] at sun.misc.Unsafe.ensureClassInitialized(Native Method)
            2007-03-06 12:38:28,840 ERROR [STDERR] at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
            2007-03-06 12:38:28,840 ERROR [STDERR] at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.lang.reflect.Field.getLong(Field.java:527)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1586)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:408)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.io.ObjectStreamClass.(ObjectStreamClass.java:400)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:297)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:531)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
            2007-03-06 12:38:28,840 ERROR [STDERR] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)

            • 3. Re: Failed to download and/or install client side AOP stack
              pdestrais

              Hi,

              I found the problem using a separate standalone client application.
              The jbossall-client jar was still in the classpath of my queue client.
              Suppressing this jar solved the problem.

              Philippe

              • 4. Re: Failed to download and/or install client side AOP stack

                Hello,

                I have exactly the same error when I start my messaging node on JBoss 4.2.1GA. I installed JBoss Messaging 1.2. Could you tell me how to resolve it ?

                Thanks

                Delphine

                • 5. Re: Failed to download and/or install client side AOP stack
                  hj82

                  Had the same issues, but when i upgraded the messaging-client library to version 1.4.0.CR2 the problem disappeared. :)

                  • 6. Re: Failed to download and/or install client side AOP stack

                    I can't upgrade the version of JBoss Messaging. Now I have the error when I call QueueConnectionFactory.createQueueConnection().

                    Does anyone know how to solve it ?

                    Thanks

                    Delphine

                    • 7. Re: Failed to download and/or install client side AOP stack / Co
                      emrehe

                      me too, don't know how to resolve it.

                      As Philippe said, i tried to remove jbossall-client.jar, but problem is still there :-(

                      • 8. Re: Failed to download and/or install client side AOP stack / Co
                        maheath

                        Did anyone solve this? I'm upgrading from JBoss 4.2.2 to 5.1.0. I'm getting this error message when I'm trying to create a connection to a Queue on a remote server.

                        • 9. Re: Failed to download and/or install client side AOP stack / Co
                          zhyy22145

                          try to remove all jboss client jars but jbossall-client.jar !!

                          it help me solve the same problem !!!

                          good luck!

                          • 10. Re: Failed to download and/or install client side AOP stack / Co
                            alax

                            I remove all jboss client jars ,but it does not work!!