I've three jboss instances on different machine in the same network:
1. Jboss (A) running a web application
2. Jboss (B) running some ejbs
3. Jboss (C) running some ejbs
Jboss (B) and Jboss (C) are in the same partition.
In a servlet, running in the first jboss intance (A), I call an ejb
deployed in the cluster (B,C) using autodiscovery (using jnp.port,
jnp.partitionName etc..).
You suppose the Jboss C responds to this call (made from servlet).
If the server C goes down the next call to this ejb throws this error :
java.rmi.ConnectException: Connection refused to host: serverC; nested
exception is:
java.net.ConnectException: Connection refused
at
sun.rmi.transport.tcp.TCPEndpoint.newSocket()Ljava.net.Socket;(Optimized Method)
at
sun.rmi.transport.tcp.TCPChannel.createConnection()Lsun.rmi.transport.Connection;(Optimized
Method)
at
sun.rmi.transport.tcp.TCPChannel.newConnection()Lsun.rmi.transport.Connection;(Optimized
Method)
at
sun.rmi.server.UnicastRef.invoke(Ljava.rmi.Remote;Ljava.lang.reflect.Method;[Ljava.lang.Object;J)Ljava.lang.Object;(Optimized
Method)
at
org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(Optimized
Method)
at
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(JRMPInvokerProxy.java:118)
at
org.jboss.invocation.InvokerInterceptor.invokeInvoker(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(InvokerInterceptor.java:227)
at
org.jboss.invocation.InvokerInterceptor.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(InvokerInterceptor.java:167)
at
org.jboss.proxy.TransactionInterceptor.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(TransactionInterceptor.java:46)
at
org.jboss.proxy.SecurityInterceptor.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(SecurityInterceptor.java:55)
at
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(Lorg.jboss.invocation.Invocation;)Ljava.lang.Object;(StatelessSessionInterceptor.java:97)
at
org.jboss.proxy.ClientContainer.invoke(Ljava.lang.Object;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(ClientContainer.java:86)
Anyone could help me ?
BEST REGARDS.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880963#3880963
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880963
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user