2 Replies Latest reply on Jan 9, 2003 4:15 AM by paulm

    RMI Connection timeout?

    paulm

      Hi,

      We are receiving the below exception when accessing an EJB from a remote client. It only occurrs when the EJB performs a query that takes > ~50s and returns a large amount of data. From the exception, it seems that the RMI connection is timing out. I am wondering if there is a way to increase this timout?

      java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.io.InterruptedIOException: Read timed outjava.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.io.InterruptedIOException: Read timed out
      java.io.InterruptedIOException: Read timed out
      at java.net.SocketInputStream.socketRead(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.DataInputStream.readByte(Unknown Source)
      at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
      at sun.rmi.server.UnicastRef.invoke(Unknown Source)
      at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown Source)
      at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:357)
      at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:123)
      at $Proxy7.find(Unknown Source)
      ...


      Thanks in advance for any help.

      Cheers,

      Paul.