wood burning stoves 2.0*
The moose likes Websphere and the fly likes Gracefull shutdown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Gracefull shutdown" Watch "Gracefull shutdown" New topic
Author

Gracefull shutdown

Johannes Postma
Ranch Hand

Joined: Jan 22, 2002
Posts: 51
Is it possible to stop the server with a gracefull shutdown (WebSphere 5)?


Johannes<br /> <br />SCJP, SCJD, SCWCD, SCDJWS, SCEA, ICSA (IBM 340)
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 363
gracefull shutdown???


Please explain. What problem are you having shutting it down?


No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

I assume you mean this:

Have a look in the WAS_HOME\bin directory - there's a bunch of useful batch files in there.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Johannes Postma
Ranch Hand

Joined: Jan 22, 2002
Posts: 51
If you stop the server, will the current httpsessions be destroyed?

In my company we have made an application for WebSphere 3.5. This application ensures that no new httpsessions will be created on a particalur server. When all session are invalid, the server stops. The application is called "Gracefull shutdown". I was wondering if this functionality is now part of WebSphere 5.
David Hibbs
Ranch Hand

Joined: Dec 19, 2002
Posts: 374
Originally posted by William Duncan:

Please explain. What problem are you having shutting it down?


And tell us what platform you're on.


"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30146
    
150

Johannes,
You could use a session listener to track how many open sessions there are. When there aren't any left, the listener could call an xmlconfig file. The XML config file could actually shut the server.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Gracefull shutdown
 
Similar Threads
Hadoop in the cloud
Configuration Wizard Weblogics 8.1
WA #1.....word association
Scheduled Task
Not able to resume command promt after using swings