Starting or stopping WebSphere Application Server
You can start or stop the application server using a command-line script. Restarting an application server involves stopping the server, then starting it.
Procedure
- To start or stop an application
server on a Unix based platform:
- Ensure that your database management system is started.
- Type the following commands in a terminal window:
Where:su - non_root_user cd WC_profiledir/bin
- non_root_user
- is the non-root user ID created before installing WebSphere Commerce.
- WC_profiledir
- is the directory for WebSphere Application Server profile used for WebSphere Commerce.
- Do one of the following:
- To start an application server, enter the following command:
./startServer.sh application_server_name
- To stop an application server, enter the following command:
./stopServer.sh application_server_name
- application_server_name
- is the name of the application server you want to start or stop.
Note: If WebSphere Application Server administrative security is enabled, you will also need to supply credentials for the WebSphere Application Server commands.Application server name Description server1 Default WebSphere Application Server application server If the WebSphere Commerce node or WebSphere Commerce Payments node is federated into a WebSphere Application Server Network Deployment cell, you cannot start WebSphere Commerce or WebSphere Commerce Payments using this command. For instructions on starting WebSphere Commerce or WebSphere Commerce Payments when they are federated into a WebSphere Application Server Network Deployment cell, refer to Starting or stopping an application server under WebSphere Application Server Network Deployment.
- To start an application server, enter the following command:
- To start or stop an application server
on a Windows platform:
- Log on using a Windows user ID with Administrator authority.
- Start a command prompt session.
- Issue the following command:
is the directory for WebSphere Application Server profile used for WebSphere Commerce.cd WAS_profiledir/bin
- Do one of the following:
- To start an application server, enter the following command:
./startServer.bat application_server_name
- To stop an application server, enter the following command:
./stopServer.bat application_server_name
- application_server_name
- is the name of the application server you want to start or stop.
Note: If WebSphere Application Server administrative security is enabled, you will also need to supply credentials for the WebSphere Application Server commands.Application server name Description server1 Default WebSphere Application Server application server If the WebSphere Commerce node or WebSphere Commerce Payments node is federated into a WebSphere Application Server Network Deployment cell, you cannot start WebSphere Commerce or WebSphere Commerce Payments using this command. For instructions on starting WebSphere Commerce or WebSphere Commerce Payments when they are federated into a WebSphere Application Server Network Deployment cell, refer to Starting or stopping an application server under WebSphere Application Server Network Deployment.
- To start an application server, enter the following command:
- To start or stop an application server
on a iSeries platform:
- Start a Qshell session.
- Do one of the following:
- To start an application server, enter the following command:
WC_profiledir/bin/startServer application_server_name
- To stop an application server, enter the following command:
WC_profiledir/bin/stopServer application_server_name
- To start an application server, enter the following command:
- WC_profiledir
- is the directory for WebSphere Application Server profile used for WebSphere Commerce.
- application_server_name
- is the name of the application server you want to start or stop.