Two Laptop Bag*
The moose likes Websphere and the fly likes How to start and stop websphere instance from command prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to start and stop websphere instance from command prompt" Watch "How to start and stop websphere instance from command prompt" New topic
Author

How to start and stop websphere instance from command prompt

Makarand Parab
Ranch Hand

Joined: Dec 10, 2004
Posts: 121
My requirement is when i execute a batch file, it should stop a particular instance on the Websphere application server, update the config xml present in the application and then restart the particular server instance.
Can anyone tell me what are the commands in windows to start and stop particular instance on the Websphere application server. I am able to update the config file using java/xml.
I don't want to stop the whole application server such that all the applications running on it are down. I have to bring only one application down and then after udpating the config file in that application i have to bring that application up.

Thanks in advance

Regards
Makarand Parab
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to start and stop websphere instance from command prompt
 
Similar Threads
Restart webapp in WS3.5
How many instance of ejb created for a table
Attn.Kyle:Problem while configuring WPS with Sun One Directory Server!!
Regarding J2ee application..
custom 404 and 500 error pages in was 6.0