aspose file tools*
The moose likes BEA/Weblogic and the fly likes How To Stop the WebLogic Server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "How To Stop the WebLogic Server?" Watch "How To Stop the WebLogic Server?" New topic
Author

How To Stop the WebLogic Server?

Daniel Gee
Ranch Hand

Joined: Aug 29, 2003
Posts: 202
I am using the WebLogic 8.1.

I have configured a domain; therefore, there is startWeblogic.cmd to start running the server. I also have a shortcut to start the server.

But, there is no stopWeblogic.cmd. After I click on the Logout, the server is still running. I have to use Ctrl + C to close the server. Are there other ways to stop the server?
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
Check BEA's documentation:

Shutting Down a Server
Daniel Gee
Ranch Hand

Joined: Aug 29, 2003
Posts: 202
Thanks for the link. But, my WebLogic 8.1 functions wierd.

I saw the instructions in the WebLogic doc:

In the left pane, expand the Servers folder and select a server. (See Figure 331-1.)
In the right pane, select Control �> Start/Stop.
Select one of the following:
Shutdown this server.
This command initiates a graceful shutdown, which gives WebLogic Server subsystems time to complete certain application processing currently in progress. For more information, refer to Controlling Graceful Shutdowns.

Force shutdown this server.
This command initiates a forced shutdown, in which the server instructs subsystems to immediately drop in-work requests. For more information, refer to "Forced Shutdown."

I expanded the Servers folder in the left pane and click on the name of my server. I was prompted a WebLogic Server Administration Console window. It asks my user name and password to sign in.

I do not have a right pane for me to select Control �> Start/Stop

What is going on?
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
Did you try logging in and trying again?
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Hi,

you can also create a stopWeblogic.sh/cmd script and use weblogic admin tool to shutdown server if you prefer:



You may replace server url, username and password to fit your environment.
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
You may also notice that FORCESHUTDOWN statement will drop any client session prior stopping the server.
Of course you may also use the console to stop the server.
Daniel Gee
Ranch Hand

Joined: Aug 29, 2003
Posts: 202
Thanks a lot. It was because I did not configure a Shutdown class and the shutdown grace period was at the default value, which was 0. It means that the server hangs forever. Now, things have been fixed and I am able to stop the server in a normal way.
 
wood burning stoves
 
subject: How To Stop the WebLogic Server?