Posted By:
Anonymous
Posted On:
Tuesday, May 15, 2007 08:16 AM
Hi, i'm trying to write a RMI application with custom rmi factory. (like this: http://java.sun.com/j2se/1.4.2/docs/guide/rmi/socketfactory/index.html). Everythink is work well for a few minutes. But a few minutes later when client calls a remote method, client waits one minute and takes a "java.net.SocketTimeoutException: Read timed out". if i export stub without my own rmiclientsocketfactory and rmiserverclientfactory, everythink is working excellent. i've tried both windows and linux platform, and with my socketfactories my client is running only a few minutes and then takes a read timed out exception. any idea? thanks for your reply.
More>>
Hi,
i'm trying to write a RMI application with custom rmi factory. (like this: http://java.sun.com/j2se/1.4.2/docs/guide/rmi/socketfactory/index.html).
Everythink is work well for a few minutes. But a few minutes later when client calls a remote method, client waits one minute and takes a "java.net.SocketTimeoutException: Read timed out".
if i export stub without my own rmiclientsocketfactory and rmiserverclientfactory, everythink is working excellent. i've tried both windows and linux platform, and with my socketfactories my client is running only a few minutes and then takes a read timed out exception.
any idea?
thanks for your reply.
<<Less