Hi All,

I have a client application which is accessing a Remote EJB deployed over JBoss 
AS 4.0.4 RC1 and JBoss AS 4.0.3 SP1. The client sends and recieves some large 
chunks of data to and from the server. But the following exception has started 
to come on client very frequently. Can we increase The Time out? Is the time 
out occurring during the reciept or sending of data or during the ping pong 
between server and client?

How can we solve this problem? What is the cause of this problem?

java.rmi.ConnectException: Failed to communicate; nested exception is:
        java.net.SocketTimeoutException: Read timed out
        at 
org.jboss.invocation.pooled.interfaces.PooledInvokerProxy.invoke(PooledInvokerProxy.java:382)
        at 
org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
        at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
        at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
        at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
        at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
        at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
        ... 8 more
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.io.BufferedInputStream.fill(Unknown Source)
        at java.io.BufferedInputStream.read(Unknown Source)
        at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
        at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source)
        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown 
Source)
        at java.io.ObjectInputStream.readObject0(Unknown Source)
        at java.io.ObjectInputStream.readObject(Unknown Source)
        at 
org.jboss.invocation.pooled.interfaces.PooledInvokerProxy.invoke(PooledInvokerProxy.java:366)
        ... 14 more

If any body finds the solution of this problem, please tell us.

Thanks
Nishant Saini
http://www.simplyjava.com

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

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

Reply via email to