• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How To Stop the WebLogic Server?

 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check BEA's documentation:

Shutting Down a Server
 
Daniel Gee
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you try logging in and trying again?
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Those who dance are thought mad by those who hear not the music. This tiny ad plays the bagpipes:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic