I have been trying to get the Jboss Messaging issue resolved with no success.

I am a client but maintain the Messaging Queue on my end. Provider is remote 
and will post messages to my queue. I just changed the default Queue Name after 
configuring jboss-messaging-1.0.1.SP2 into jboss-4.0.5.GA. The queue seems to 
start up fine and I am able to run the examples from the same machine without 
any issue. Changed persistance to Oracle persistance.

Now when I run the examples on a remote machine , I get an exception as shown 
below. Can someone help me what am I doing wrong.  The test I am running is the 
Queue example provided with the jboss messaging. Any help would greatly 
appreciated.

     [java] Queue /queue/ipptMsgStatusQueue exists
     [java] 12:21:50,247 ERROR @main [JBossConnectionFactory] Failed to config 
client side AOP
     [java] org.jboss.remoting.CannotConnectException: Can not get connection 
to server.  Problem establishing socket connection for locator - InvokerLocator 
[socket://127.0.0.1:14457/?clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
     [java]     at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:323)
     [java]     at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:125)
     [java]     at org.jboss.remoting.Client.invoke(Client.java:607)
     [java]     at org.jboss.remoting.Client.invoke(Client.java:599)
     [java]     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.invoke(ClientConnectionFactoryDelegate.java:199)
     [java]     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.invokeNext(ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.java)
     [java]     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPConfig(ClientConnectionFactoryDelegate.java)
     [java]     at 
org.jboss.jms.client.JBossConnectionFactory.ensureAOPConfigLoaded(JBossConnectionFactory.java:233)
     [java] java.lang.RuntimeException: Failed to config client side AOP
     [java]     at 
org.jboss.jms.client.JBossConnectionFactory.ensureAOPConfigLoaded(JBossConnectionFactory.java:251)
     [java]     at 
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:196)
     [java]     at 
org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:96)
     [java]     at 
org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:91)
     [java]     at 
org.jboss.example.jms.queue.QueueExample.example(QueueExample.java:72)
     [java]     at 
org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:58)
     [java]     at 
org.jboss.example.jms.queue.QueueExample.main(QueueExample.java:134)
     [java] Caused by: org.jboss.remoting.CannotConnectException: Can not get 
connection to server.  Problem establishing socket connection for locator - 
InvokerLocator 
[socket://127.0.0.1:14457/?clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
     [java]     at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:323)
     [java]     at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:125)
     [java]     at org.jboss.remoting.Client.invoke(Client.java:607)
     [java]     at org.jboss.remoting.Client.invoke(Client.java:599)
     [java]     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.invoke(ClientConnectionFactoryDelegate.java:199)
     [java]     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.invokeNext(ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.java)
     [java]     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPConfig(ClientConnectionFactoryDelegate.java)
     [java]     at 
org.jboss.jms.client.JBossConnectionFactory.ensureAOPConfigLoaded(JBossConnectionFactory.java:233)
     [java]     ... 6 more
     [java] Caused by: java.net.ConnectException: Connection refused
     [java]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [java]     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) 
    [java]     at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
     [java]     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
     [java]     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
     [java]     at java.net.Socket.connect(Socket.java:516)
     [java]     at java.net.Socket.connect(Socket.java:466)
     [java]     at java.net.Socket.(Socket.java:366)
     [java]     at java.net.Socket.(Socket.java:179)
     [java]     at 
org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:183)
     [java]     at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:701)
     [java]     at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:319)
     [java]     ... 13 more

     [java] #####################
     [java] ###    FAILURE!   ###
     [java] #####################
     [java]     at 
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:196)
     [java]     at 
org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:96)
     [java]     at 
org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:91)
     [java]     at 
org.jboss.example.jms.queue.QueueExample.example(QueueExample.java:72)
     [java]     at 
org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:58)
     [java]     at 
org.jboss.example.jms.queue.QueueExample.main(QueueExample.java:134)
     [java] Caused by: java.net.ConnectException: Connection refused
     [java]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [java]     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) 
    [java]     at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
     [java]     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
     [java]     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
     [java]     at java.net.Socket.connect(Socket.java:516)
     [java]     at java.net.Socket.connect(Socket.java:466)
     [java]     at java.net.Socket.(Socket.java:366)
     [java]     at java.net.Socket.(Socket.java:179)
     [java]     at 
org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:183)
     [java]     at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:701)
     [java]     at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:319)
     [java]     ... 13 more

BUILD FAILED
/home/bg0523/jboss/messaging/jboss-messaging-1.0.1.SP2/examples/queue/build.xml:80:
 Java returned: 1

Total time: 4 seconds

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003939#4003939

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003939
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to