File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes to stop remote server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "to stop remote server" Watch "to stop remote server" New topic
Author

to stop remote server

joey phillip
Ranch Hand

Joined: Jan 22, 2001
Posts: 40
To stop the remote server i am giving ctrl+C . I didn't implement anything for stopping the server.
any suggessions?
- joey

Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
Hmmm...I never even thought of this. I'm doing the exact same. One thing is, you know you don't want to give clients the ability to stop the server. Hmmm...it seems reasonable to leave it like that, but I would be interested in hearing what people passed did.
Matt
Aron J. Skantz
Greenhorn

Joined: Oct 12, 2000
Posts: 26
May i speak, even though i havn't passed yet?
I've implemented the server server to prompt someone to type 'STOP' to shutdown. This gives me time to clean up a bit. The cleaning up can be achived in a couple of other ways, but I've seen SUN use this method in one of their tech-letters.
But then again, the criterias say nothing about how to do this, so do the simplest (ctrl+c) or motivate something about usability and use 'STOP' or similar..
Regards,
Aron
 
 
subject: to stop remote server
 
Threads others viewed
How to stop the server ??
Ant script to start/stop the tomcat server in the remote linux machine
NX: (contractors)Server start/stop.
Different Server creation through WSAD
How do I stop watching a topic that has been locked?
developer file tools