[jboss-user] [JBoss Messaging] - Failed to download and/or install client side AOP stack
stefa975
do-not-reply at jboss.com
Wed Aug 22 08:14:33 EDT 2007
Hi,
when setting the attribute clientConnectPort on bisocket, you can't download the AOP stack.
<mbean code="org.jboss.remoting.transport.Connector"
| name="jboss.messaging:service=Connector,transport=bisocket"
| display-name="Bisocket Transport Connector">
| <attribute name="Configuration">
| <config>
| <invoker transport="bisocket">
| <attribute name="marshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
| <attribute name="unmarshaller" isParam="true">org.jboss.jms.wireformat.JMSWireFormat</attribute>
| <attribute name="dataType" isParam="true">jms</attribute>
| <attribute name="socket.check_connection" isParam="true">false</attribute>
| <attribute name="timeout" isParam="true">0</attribute>
| <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
| <attribute name="serverBindPort">4457</attribute>
| <attribute name="clientConnectPort">4700</attribute>
| <attribute name="leasePeriod">10000</attribute>
| <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
| <attribute name="serverSocketClass" isParam="true">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
| <attribute name="numberOfRetries" isParam="true">1</attribute>
| <attribute name="numberOfCallRetries" isParam="true">1</attribute>
| <attribute name="clientMaxPoolSize" isParam="true">50</attribute>
| </invoker>
| <handlers>
| <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
| </handlers>
| </config>
| </attribute>
| </mbean>
|
Here is the stacktrace.
2007-08-22 09:44:23,510 DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker - SocketClientInvoker[9980d5, bisocket://172.31.10.228:4700] setting maxPoolSize to 50
| 2007-08-22 09:44:23,510 DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker - SocketClientInvoker[9980d5, bisocket://172.31.10.228:4700] setting client socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper
| 2007-08-22 09:44:23,510 DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker - SocketClientInvoker[9980d5, bisocket://172.31.10.228:4700] setting shouldCheckConnection to false
| 2007-08-22 09:44:23,510 DEBUG org.jboss.remoting.transport.socket.SocketClientInvoker - SocketClientInvoker[9980d5, bisocket://172.31.10.228:4700] setting timeout to 0
| 2007-08-22 09:44:23,510 DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker - SocketClientInvoker[9980d5, bisocket://172.31.10.228:4700] constructed
| 2007-08-22 09:44:23,510 DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker - SocketClientInvoker[9980d5, bisocket://172.31.10.228:4700] setting maxPoolSize to 50
| 2007-08-22 09:44:23,510 DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker - SocketClientInvoker[9980d5, bisocket://172.31.10.228:4700] setting client socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper
| 2007-08-22 09:44:23,510 DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker - SocketClientInvoker[9980d5, bisocket://172.31.10.228:4700] setting shouldCheckConnection to false
| 2007-08-22 09:44:23,510 DEBUG org.jboss.remoting.transport.socket.SocketClientInvoker - SocketClientInvoker[9980d5, bisocket://172.31.10.228:4700] setting timeout to 0
| 2007-08-22 09:44:23,510 DEBUG org.jboss.remoting.MicroRemoteClientInvoker - SocketClientInvoker[9980d5, bisocket://172.31.10.228:4700] connecting
| 2007-08-22 09:44:23,510 DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker - SocketClientInvoker[9980d5, bisocket://172.31.10.228:4700] added new pool ([]) as ServerAddress[172.31.10.228:4700, NO enableTcpNoDelay timeout 0 ms]
| 2007-08-22 09:44:23,510 DEBUG org.jboss.remoting.MicroRemoteClientInvoker - SocketClientInvoker[9980d5, bisocket://172.31.10.228:4700] connected
| 2007-08-22 09:44:24,692 DEBUG org.jboss.remoting.transport.socket.MicroSocketClientInvoker - SocketClientInvoker[9980d5, bisocket://172.31.10.228:4700] got Exception java.net.ConnectException: Connection refused: connect, creation attempt took 992 ms
| 2007-08-22 09:44:24,692 WARN org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate - Server0 was broken, loading AOP from next delegate
| org.jboss.jms.exception.MessagingNetworkFailureException
| at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:221)
| 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.delegate.ClientClusteredConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientClusteredConnectionFactoryDelegate$getClientAOPStack$aop(ClientClusteredConnectionFactoryDelegate.java:108)
| at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.getClientAOPStack(ClientClusteredConnectionFactoryDelegate.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 se.police.rps.sis.testframework.jms.JmsClusterTest.send(JmsClusterTest.java:41)
| at se.police.rps.sis.testframework.jms.JmsClusterTest.main(JmsClusterTest.java:281)
| Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [bisocket://172.31.10.228:4700/?clientMaxPoolSize=50&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.wireformat.JMSWireFormat&numberOfCallRetries=1&numberOfRetries=1&serverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper&socket.check_connection=false&timeout=0&unmarshaller=org.jboss.jms.wireformat.JMSWireFormat]
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:530)
| at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:353)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
| 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)
| ... 11 more
| Caused by: java.net.ConnectException: Connection refused: connect
| at java.net.PlainSocketImpl.socketConnect(Native Method)
| at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
| at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
| at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
| at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
| at java.net.Socket.connect(Socket.java:507)
| at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:187)
| at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.createSocket(BisocketClientInvoker.java:360)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:801)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:526)
| ... 17 more
| 2007-08-22 09:44:24,712 ERROR org.jboss.jms.client.JBossConnectionFactory - Failed to download and/or install client side AOP stack
| org.jboss.jms.exception.MessagingNetworkFailureException: Failed to download and/or install client side AOP stack
| at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientClusteredConnectionFactoryDelegate$getClientAOPStack$aop(ClientClusteredConnectionFactoryDelegate.java:116)
| at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.getClientAOPStack(ClientClusteredConnectionFactoryDelegate.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 se.police.rps.sis.testframework.jms.JmsClusterTest.send(JmsClusterTest.java:41)
| at se.police.rps.sis.testframework.jms.JmsClusterTest.main(JmsClusterTest.java:281)
| java.lang.RuntimeException: Failed to download and/or install client side AOP stack
| at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:199)
| at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87)
| at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82)
| at se.police.rps.sis.testframework.jms.JmsClusterTest.send(JmsClusterTest.java:41)
| at se.police.rps.sis.testframework.jms.JmsClusterTest.main(JmsClusterTest.java:281)
| Caused by: org.jboss.jms.exception.MessagingNetworkFailureException: Failed to download and/or install client side AOP stack
| at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientClusteredConnectionFactoryDelegate$getClientAOPStack$aop(ClientClusteredConnectionFactoryDelegate.java:116)
| at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.getClientAOPStack(ClientClusteredConnectionFactoryDelegate.java)
| at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:75)
| at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:192)
| ... 4 more
|
Any idea why?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076797#4076797
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076797
More information about the jboss-user
mailing list