This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Server Time out

 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know, I never let the server sit idle for that long
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic