This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IBM Websphere 4.0 console commands

 
Leo Padal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
We are using IBM Webspphere 4.0 Advanced edition on a Windows 2000 machine. I was wondering if nayone knew about command line options to start and stop the application server from command line.
We are using ANT to deploy a java web application on the WAS 4.0 server. These are thefollowing steps
1. If the server is started then stop it.
2. copy the EAR file to a particular location.
3. Restart the application server.

I am hoping to write a batch file which will do the above things.

Thanks in advance!
Sachin
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sachin,
You can use wsadmin to start/stop the server from the command line or a batch/shell file.
 
Leo Padal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can you use WSAdmin to start stop particular nodes of Application server from command line. An example or actual command to be used will be highly appreciated.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Leo,
Oops. I meant wscp. (wsadmin is for WAS 5.0) I'll look for a concrete example.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic