aspose file tools*
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
Author

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
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Server Time out