RMI Server shuts itself down if there is no requests
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Deniz_Durmus
Posted On:   Tuesday, January 24, 2012 09:49 PM

How to enable RMI Server for running forever? Hello; Here is the brief story of the situation: I have an RMI server and client on different machines. Basically, when I start my RMI server up and run clients on other machine, I can get the information I need. This part is perfect. But on the other hand, if I stop sending requests from clients for some amout of time, RMI server (or JVM?) shuts itself down and I have to start RMI server manually once again. I wanna know what is causing this problem and how to fix it. Is it because of JVM, that I should put some params while starting up my RMI server? Or is it because of my java code? Thank you in advance, deniz    More>>

How to enable RMI Server for running forever?


Hello;

Here is the brief story of the situation:

I have an RMI server and client on different machines. Basically, when I start my RMI server up and run clients on other machine, I can get the information I need. This part is perfect. But on the other hand, if I stop sending requests from clients for some amout of time, RMI server (or JVM?) shuts itself down and I have to start RMI server manually once again. I wanna know what is causing this problem and how to fix it. Is it because of JVM, that I should put some params while starting up my RMI server? Or is it because of my java code?

Thank you in advance,

deniz

   <<Less

Re: RMI Server shuts itself down if there is no requests

Posted By:   Deniz_Durmus  
Posted On:   Monday, January 30, 2012 12:48 AM

I dunno if anyone cares about this forum or the post but i found a solution on my own... just adding a sleep statement is ok with the loop...

thanks for anyone who read the post... i dont think anyone other than me checking here though...
About | Sitemap | Contact