I have two jboss 4.0 servers running in a cluster. There are session beans 
deployed which write to jbossMQ queue.

Due to the HA-Singleton only one of the server holds the queues. So it works 
fine when the sessions beans from that server write to the queue. However the 
session beans from the other server errors out as it can't get the context.

How can I get around this. Are there any code samples ? Thank you for all the 
help.


2007-03-07 17:31:37,110 DEBUG [org.jnp.interfaces.NamingContext] Failed to 
connect to localhost:1100
javax.naming.CommunicationException: Failed to connect to server localhost:1100 
[Root exception is javax.naming.ServiceUnavailableException: Failed to connect 
to server localhost:1100 [Root exception is java.net.ConnectException: 
Connection refused: connect]]
        at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)


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

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

Reply via email to