Posted By:
Eric_Lindauer
Posted On:
Monday, January 24, 2005 03:40 PM
I'm just about to release my application, a networked chess site called www.achess.com. The application uses EJB method calls for client --> server communication, and RMI method calls for server --> client communication. I've been writing and testing this application on a local server for weeks, and everything performs smoothly. Now that I've deployed the application remotely (on Linux 2.4.20-8) I find that a single RMI call, which does nothing on the server, takes around 3 minutes to complete! I notice this also when I make EJB calls that include an RMI exported object, such as myRemoteObject.register (new MyExportedRMIObject ()); It's not network lag, as EJB calls not involving an RMI object complete normally. It
More>>
I'm just about to release my application, a networked chess site called www.achess.com. The application uses EJB method calls for client --> server communication, and RMI method calls for server --> client communication.
I've been writing and testing this application on a local server for weeks, and everything performs smoothly. Now that I've deployed the application remotely (on Linux 2.4.20-8) I find that a single RMI call, which does nothing on the server, takes around 3 minutes to complete! I notice this also when I make EJB calls that include an RMI exported object, such as myRemoteObject.register (new MyExportedRMIObject ());
It's not network lag, as EJB calls not involving an RMI object complete normally. It's not that the method call is doing three minutes worth of work on the server... there seems to be something more fundamental going on here.
I understand that this is a very vague description. If you have any suggestions for even how I might begin to debug this problem, I'd be in your debt.
Thanks so much in advance.
Sincerely,
Eric Lindauer
<<Less