P
Pete
I have noticed a problem where if I run my server locally on my PC
the server seems to run forever. This is the command I use locally:
java -Djava.rmi.server.logCalls=true
-Djava.rmi.server.disableHttp=true -cp c:\radical ecomm/eCommServer
If I restart it with the command like:
java -Djava.rmi.server.logCalls=true
-Djava.rmi.server.disableHttp=true -Djava.rmi.server.hostname=x.x.x.x
-cp c:\radical ecomm/eCommServer
It runs fine, but 5 minutes after there is no activity, the server
ends without producing any errors or any messages.
If I start it with the following command:
java -Djava.rmi.server.logCalls=true -Djava.rmi.dgc.leaseValue=9000000
-Djava.rmi.server.disableHttp=true -Djava.rmi.server.hostname=x.x.x.x
-cp c:\radical ecomm/eCommServer
It runs fine also, but 2.5 hours after the last activity from my
client, it ends the same way.
I know I am misunderstanding what I'm doing, but I need help in
determining what I need to do to make this run basically forever
unless I want to stop it.
My understanding was that it is a server process and it should run
forever. I don't understand what is different between when I run it
locally and when I run it attached to the Internet.
Can anyone shed some light on this?
Thanks!
the server seems to run forever. This is the command I use locally:
java -Djava.rmi.server.logCalls=true
-Djava.rmi.server.disableHttp=true -cp c:\radical ecomm/eCommServer
If I restart it with the command like:
java -Djava.rmi.server.logCalls=true
-Djava.rmi.server.disableHttp=true -Djava.rmi.server.hostname=x.x.x.x
-cp c:\radical ecomm/eCommServer
It runs fine, but 5 minutes after there is no activity, the server
ends without producing any errors or any messages.
If I start it with the following command:
java -Djava.rmi.server.logCalls=true -Djava.rmi.dgc.leaseValue=9000000
-Djava.rmi.server.disableHttp=true -Djava.rmi.server.hostname=x.x.x.x
-cp c:\radical ecomm/eCommServer
It runs fine also, but 2.5 hours after the last activity from my
client, it ends the same way.
I know I am misunderstanding what I'm doing, but I need help in
determining what I need to do to make this run basically forever
unless I want to stop it.
My understanding was that it is a server process and it should run
forever. I don't understand what is different between when I run it
locally and when I run it attached to the Internet.
Can anyone shed some light on this?
Thanks!