wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Server Time out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Server Time out " Watch "Server Time out " New topic

Server Time out

Kalichar Rangantittu
Ranch Hand

Joined: Jan 15, 2002
Posts: 240
I am having a problem where my server suddenly exits out.
In my main server start up I create a RemoteImpl and bind it using rebind. My server then stays active for some time. After 10-15 mins the server just exits out.
I think this is with the leasing and unreferenced. Why is this happening? Any work arounds?

Never be satisfied with anything less than the best and you will surely pass the test...
Kalichar Rangantittu
Ranch Hand

Joined: Jan 15, 2002
Posts: 240
When the server starts I rebind the serverImpl, however, after sometime it seems to be unreferenced and exit, why???
Just because there is no client referencing it, does not mean a bound object should be GCD. This is wierd. I need help...Come on guru's of java...Give me a tip...
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

Don't know, I never let the server sit idle for that long

Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
jQuery in Action, 2nd edition
subject: Server Time out
Similar Threads
RMI server stops
how to download files from a remote server via java code?
DB Connection object tracking
Outputting data to file on server