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.