This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to stop the server ??
 
Similar Threads
Windows Resizable?
Stopping Web sphere server in RAD
Thread
JBoss -5.0.0 installation fails
Access is denied , Unable to open the service "Tomcat6"