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 How to stop the server ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "How to stop the server ??" Watch "How to stop the server ??" New topic
Author

How to stop the server ??

shao zhimin
Greenhorn

Joined: Aug 07, 2002
Posts: 16
I use unbind and rebind to stop and restart the server in my server GUI. but when i stop the server, i still can book and search operation without error and the remote database still running . How to stop the server? Is lock the database, or not? Please help me!!
Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
Hi,
You apparently need not to stop Server. But yes you have to give provision for locking database. After locking, you need not to unlock database.
But you can do If you want to do. My opinion is to keep it simple just try to retain it with specs. Dont take to much stress. Thats all.
gurpreet
shao zhimin
Greenhorn

Joined: Aug 07, 2002
Posts: 16
Thanks Gurpreet for your reply. Do you use GUI for server side? What logic to be implemented when you want to close the server?
Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
Hi
Yes, I used Server GUI with following components.
1. Shutdown Server button
2. TextArea with a message notifying about no. of users currently logged into database. And if none is logged then it will say something like "You can shutdown your Server".
3. Lock dataasbe button
4. On menu a Server Help file embedded in JEditorPane.

 
 
subject: How to stop the server ??