jQuery in Action, 3rd edition
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
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: 17276

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

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
It is sorta covered in the JavaRanch Style Guide.
subject: Server Time out
It's not a secret anymore!