2 Replies Latest reply on Jun 23, 2010 9:47 AM by Kobi Ianko

    jms over http -  [JBossConnectionFactory] Failed to download and/or install client side AOP stack

    Kobi Ianko Apprentice

      following the wiki page: http://community.jboss.org/wiki/EJBJMSandJNDIoverHTTPwithUnifiedInvoker

       

      tring this line at the client side:

      conFactory = (ConnectionFactory)initialContext.lookup(connectionFactoryName)

       

      throws an exception:

       

      12:24:14,059 ERROR [JBossConnectionFactory] Failed to download and/or install client side AOP stack
      org.jboss.jms.exception.MessagingNetworkFailureException
          at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:240)
          at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:205)
          at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
          at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:237)
          at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientConnectionFactoryDelegate.java)
          at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:75)
          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.allot.nms.common.messaging.client.MessagingManager.setupSub(MessagingManager.java:69)
          at com.allot.nms.common.messaging.client.MessagingManager.setMessageListener(MessagingManager.java:87)
          at com.allot.nms.common.messaging.client.MessagingHelper.setMessageListener(MessagingHelper.java:101)
          at com.allot.nms.client.model.alarms.AlarmsModelController.reload(AlarmsModelController.java:128)
          at com.allot.nms.client.ui.frm.Controller.reloadAllDataFromServer(Controller.java:485)
          at com.allot.nms.client.ui.frm.Controller.access$200(Controller.java:95)
          at com.allot.nms.client.ui.frm.Controller$DataLoader.run(Controller.java:1260)
          at java.lang.Thread.run(Unknown Source)
      Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker after 1 attempt(s)
          at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:249)
          at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:161)
          at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:165)
          at org.jboss.remoting.Client.invoke(Client.java:1724)
          at org.jboss.remoting.Client.invoke(Client.java:629)
          at org.jboss.remoting.Client.invoke(Client.java:617)
          at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
          ... 15 more
      Caused by: java.lang.IllegalArgumentException: Invalid packet type: 1013478509
          at org.jboss.jms.wireformat.PacketSupport.createPacket(PacketSupport.java:379)
          at org.jboss.jms.wireformat.JMSWireFormat.read(JMSWireFormat.java:290)
          at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:570)
          at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:369)
          at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:231)
          ... 21 more

       

       

      any ideas?