Forums Register Login

About unexportObject

+Pie Number of slices to send: Send
Hi:
When I execute the statement.

The server didn't stop. There seem to be a thread running. But the return value of this statement is true. After about 15 minutes, the server stopped.
Could you tell me what's the matter?
+Pie Number of slices to send: Send
Not sure. It could be that RMI still had a lease timer running or something -- after all, this call doesn't say "stop the server", it says "stop accepting calls for this object". What's wrong with System.exit(0)?
- Peter
+Pie Number of slices to send: Send
Hi Peter
If I code in this way.

The server will be stopped immediately. But I am wondering if it is legal.
+Pie Number of slices to send: Send
I also think this is the lease timer of the DGC but why do you want to stop the server?
Hey! Wanna see my flashlight? It looks like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 905 times.
Similar Threads
Assertions Doubt
Assert Doubt
Doing a vlookup in java
Coding Tricks
Assertion
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 01:21:47.