3 Replies Latest reply on Apr 23, 2010 10:31 AM by nikos dim

    Example queue failed

    Igor Zolnikov Newbie

      Hello!

       

      Please, help with following issue.

       

      Context

       

      JBoss_4_2_3_GA date=200807181439

      JBoss Messaging 1.4.5.GA

      jboss-remoting-2_2_3_SP1

      jboss.bind.address = 0.0.0.0

       

       

      Starting JBoss AS

       

      You can see 192.168.2.54:-1.

       

      2010-03-19 19:14:47,240 INFO  [org.jboss.jms.server.ServerPeer] JBoss Messaging 1.4.5.GA server [0] started
      2010-03-19 19:14:47,446 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector bisocket://192.168.2.54:-1 has leasing enabled, lease peri
      od 10000 milliseconds
      2010-03-19 19:14:47,446 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@42bc5245 st
      arted
      2010-03-19 19:14:47,448 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
      2010-03-19 19:14:47,448 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
      2010-03-19 19:14:47,450 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector bisocket://192.168.2.54:-1 has leasing enabled, lease period 10000 milliseconds
      2010-03-19 19:14:47,450 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@4d885088 started
      2010-03-19 19:14:47,450 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector bisocket://192.168.2.54:-1 has leasing enabled, lease period 10000 milliseconds
      2010-03-19 19:14:47,450 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@420a52f started
      

       

       

      Result of jboss-messaging-1.4.5.GA/examples/queue

       

      run:
           [java] Queue /queue/testQueue exists
           [java] 19:30:26,709 ERROR @main [JBossConnectionFactory] Failed to download and/or install client side AOP stack
           [java] org.jboss.jms.exception.MessagingNetworkFailureException
           [java]     at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:240)
           [java]     at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:205)
           [java]     at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
           [java]     at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:248)
           [java]     at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientConnectionFactoryDelegate.java)
           [java] java.lang.RuntimeException: Failed to download and/or install client side AOP stack
           [java]     at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:75)
           [java]     at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:192)
           [java]     at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:199)
           [java]     at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87)
           [java]     at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87)
           [java]     at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82)
           [java]     at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82)
           [java]     at org.jboss.example.jms.queue.QueueExample.example(QueueExample.java:72)
           [java]     at org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:148)
           [java]     at org.jboss.example.jms.queue.QueueExample.example(QueueExample.java:72)
           [java]     at org.jboss.example.jms.queue.QueueExample.main(QueueExample.java:134)
           [java]     at org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:148)
           [java] Caused by: org.jboss.jms.exception.MessagingNetworkFailureException
           [java]     at org.jboss.example.jms.queue.QueueExample.main(QueueExample.java:134)
           [java]     at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:240)
           [java] Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [bisocket://192.168.2.54//?JBM_clientMaxPoolSize=200&clientLeasePeriod=10000&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&failureDisconnectTimeout=0&marshaller=org.jboss.jms.wireformat.JMSWireFormat&numberOfRetries=10&socket.check_connection=false&stopLeaseOnFailure=true&timeout=0&unmarshaller=org.jboss.jms.wireformat.JMSWireFormat&useClientConnectionIdentity=true&validatorPingPeriod=10000&validatorPingTimeout=5000]
           [java]     at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:205)
           [java]     at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:640)
           [java]     at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
           [java]     at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:458)
           [java]     at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$getClientAOPStack$aop(ClientConnectionFactoryDelegate.java:248)
           [java]     at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:141)
           [java]     at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPStack(ClientConnectionFactoryDelegate.java)
           [java]     at org.jboss.remoting.Client.invoke(Client.java:1925)
           [java]     at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:75)
           [java]     at org.jboss.remoting.Client.invoke(Client.java:786)
           [java]     at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:192)
           [java]     at org.jboss.remoting.Client.invoke(Client.java:774)
           [java]     ... 5 more
           [java]     at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
           [java] Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [bisocket://192.168.2.54//?JBM_clientMaxPoolSize=200&clientLeasePeriod=10000&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&failureDisconnectTimeout=0&marshaller=org.jboss.jms.wireformat.JMSWireFormat&numberOfRetries=10&socket.check_connection=false&stopLeaseOnFailure=true&timeout=0&unmarshaller=org.jboss.jms.wireformat.JMSWireFormat&useClientConnectionIdentity=true&validatorPingPeriod=10000&validatorPingTimeout=5000]
           [java]     ... 10 more
           [java]     at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:640)
           [java] Caused by: java.lang.IllegalArgumentException: port out of range:-1
           [java]     at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:458)
           [java]     at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)