Several shortcuts for starting and stopping a WebSphere server

Source: Internet
Author: User

Develop WebSphere applicationsProgramIt is often necessary to start and stop the server, but the hidden path of the program is too deep. It takes half a day to start and stop the server. Here are several shortcuts for starting and stopping servers in windows. You can put shortcuts on the menu for convenient use. The command line is faster to start than to start on the graphic user interface.

Save the file content to the corresponding file, create shortcuts for the three files, and then drag the shortcuts to the Windows Background to start quickly. During use, you can start or stop the instance by clicking the mouse twice.

Start the server, file startserver. bat

 
@ Echo start server [server1], profilename [cmdrv01] @ echo offcd/d: \ Program Files \ IBM \ rational \ SDP \ 6.0 \ runtimes \ base_v6 \ profiles \ invalid rv01 \ bincmd/C startserver server1-profilename restart rv01 @ echo on @ echo startup completed @ echo offpause

Stop the server, file stopserver. bat

 
@ Echo stop server [server1], profilename [cmdrv01] @ echo offcd/d: \ Program Files \ IBM \ rational \ SDP \ 6.0 \ runtimes \ base_v6 \ profiles \ invalid rv01 \ bincmd/C stopserver server1-profilename invalid rv01 @ echo on @ echo stop done @ echo offpause

Restart the server and file restartserver. bat

 
@ Echo restart server [server1], profilename [cmdrv01] @ echo offcd/d: \ Program Files \ IBM \ rational \ SDP \ 6.0 \ runtimes \ base_v6 \ profiles \ invalid rv01 \ bincmd/C stopserver server1cmd/C startserver server1-profilename restart rv01 @ echo on @ echo restart complete @ echo offpause

You can modify the RV path and profile name based on the actual environment of your machine.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.