[jboss-user] [JBoss Messaging] - Re: Upgrading AS5 to use messaging 1.4.2.GA
rnicholson10
do-not-reply at jboss.com
Fri Feb 6 16:17:26 EST 2009
I've built the libraries for AS5, once more everything works locally and so does the bridge but only locally. If the bridge is connecting to a remote server then we once more have problems.
If I kill the remote jboss instance that the bridge points too it behaves as you expect:
| 2009-02-06 20:50:38,957 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-18) null Failed to set up connections
| javax.naming.CommunicationException: Could not obtain connection to any of these urls: 172.16.8.52:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server 172.16.8.52:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 172.16.8.52:1099 [Root exception is java.net.ConnectException: Connection refused]]]
| at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1727)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:680)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
| at javax.naming.InitialContext.lookup(Unknown Source)
| at org.jboss.jms.server.bridge.JNDIFactorySupport.createObject(JNDIFactorySupport.java:66)
| at org.jboss.jms.server.bridge.JNDIDestinationFactory.createDestination(JNDIDestinationFactory.java:45)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjects(Bridge.java:939)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjectsWithRetry(Bridge.java:1206)
| at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:68)
| at org.jboss.jms.server.bridge.Bridge$FailureHandler.run(Bridge.java:1552)
| at java.lang.Thread.run(Unknown Source)
| Caused by: javax.naming.CommunicationException: Failed to connect to server 172.16.8.52:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 172.16.8.52:1099 [Root exception is java.net.ConnectException: Connection refused]]
| at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:311)
| at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1698)
| ... 10 more
| Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server 172.16.8.52:1099 [Root exception is java.net.ConnectException: Connection refused]
| at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:281)
| ... 11 more
| Caused by: java.net.ConnectException: Connection refused
| at java.net.PlainSocketImpl.socketConnect(Native Method)
| at java.net.PlainSocketImpl.doConnect(Unknown Source)
| at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
| at java.net.PlainSocketImpl.connect(Unknown Source)
| at java.net.SocksSocketImpl.connect(Unknown Source)
| at java.net.Socket.connect(Unknown Source)
| at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:97)
| at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:82)
| at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:277)
| ... 11 more
| 2009-02-06 20:50:38,958 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-18) null Failed to set up connections, will retry after a pause of 5000 ms
|
But once this instance is available then neither of the queue's appear to be bound as far as the bridge is concerned (speQueue is local, speQueueB is remote):
| 2009-02-06 20:49:03,329 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-33) null Failed to set up connections
| javax.naming.NameNotFoundException: speQueueB not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:399)
| at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
| at sun.rmi.transport.Transport$1.run(Unknown Source)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.rmi.transport.Transport.serviceCall(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
| at java.lang.Thread.run(Unknown Source)
| at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
| at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
| at sun.rmi.server.UnicastRef.invoke(Unknown Source)
| at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
| at javax.naming.InitialContext.lookup(Unknown Source)
| at org.jboss.jms.server.bridge.JNDIFactorySupport.createObject(JNDIFactorySupport.java:66)
| at org.jboss.jms.server.bridge.JNDIDestinationFactory.createDestination(JNDIDestinationFactory.java:45)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjects(Bridge.java:939)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjectsWithRetry(Bridge.java:1206)
| at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:68)
| at org.jboss.jms.server.bridge.Bridge$FailureHandler.run(Bridge.java:1552)
| at java.lang.Thread.run(Unknown Source)
| 2009-02-06 20:49:03,329 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-33) null Failed to set up connections, will retry after a pause of 5000 ms
| 2009-02-06 20:49:05,448 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-18) null Failed to set up connections
| javax.naming.NameNotFoundException: speQueue not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:399)
| at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
| at sun.rmi.transport.Transport$1.run(Unknown Source)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.rmi.transport.Transport.serviceCall(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
| at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
| at java.lang.Thread.run(Unknown Source)
| at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
| at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
| at sun.rmi.server.UnicastRef.invoke(Unknown Source)
| at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
| at javax.naming.InitialContext.lookup(Unknown Source)
| at org.jboss.jms.server.bridge.JNDIFactorySupport.createObject(JNDIFactorySupport.java:66)
| at org.jboss.jms.server.bridge.JNDIDestinationFactory.createDestination(JNDIDestinationFactory.java:45)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjects(Bridge.java:939)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjectsWithRetry(Bridge.java:1206)
| at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:68)
| at org.jboss.jms.server.bridge.Bridge$FailureHandler.run(Bridge.java:1552)
| at java.lang.Thread.run(Unknown Source)
| 2009-02-06 20:49:05,448 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-18) null Failed to set up connections, will retry after a pause of 5000 ms
|
And we still have null references in the logs even when the bridge is running locally.
Any ideas what to try next?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207858#4207858
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207858
More information about the jboss-user
mailing list