We can use either the command line or the Oracle Enterprise Manager Application
Server Control console to start and stop single sign-on components. The console offers
the benefit that you can stop or start several components at once. The command line
requires several commands for the same tasks.
Using the Application Server Control Console
Use these steps to stop and start single sign-on components with the console:
1. Go to the standalone console for the infrastructure instance of Oracle Enterprise
Manager that you want to administer. This is effected by entering the host name of
the computer hosting the OracleAS instance and the port number of Oracle
Enterprise Manager. The default port number is 1810, but it may be configured in
increments of one, up to 1816.
2. Log in using the credentials of an OracleAS administrator.
3. From the Standalone Instances section of the Farm page, choose the appropriate
OracleAS instance.
4. From the System Components list of the Application Server page, select the check
boxes for the components that you want to stop, start, or restart; then click the
appropriate button at the top of the list. n-On Middle Tier
Using the Command Line
You can issue separate commands to stop and start just the Oracle HTTP Server or the
entire single sign-on middle tier. Another command stops and starts just the OC4J_
SECURITY instance. Still another command stops and starts all infrastructure
components.
Stopping and Starting the Oracle HTTP Server:
Issue these two commands to stop and then start the Oracle HTTP Server:
ORACLE_HOME/opmn/bin/opmnctl stopproc process-type=HTTP_Server
ORACLE_HOME/opmn/bin/opmnctl startproc process-type=HTTP_Server
You can also stop and start the server by issuing this command:
ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=HTTP_Server
Stopping and Starting the OC4J_SECURITY Instance
Issue these two commands to stop and then start the OC4J_SECURITY instance:
ORACLE_HOME/opmn/bin/opmnctl stopproc process-type=OC4J_SECURITY
ORACLE_HOME/opmn/bin/opmnctl startproc process-type=OC4J_SECURITY
You can also stop and start the OC4J_SECURITY instance by issuing this command:
ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=OC4J_SECURITY
Stopping and Starting the Single Sign-On Middle Tier
To stop and then start the single sign-on middle tier, stop and start both the Oracle
HTTP Server and the OC4J_SECURITY instance:
ORACLE_HOME/opmn/bin/opmnctl stopproc process-type=HTTP_Server
ORACLE_HOME/opmn/bin/opmnctl startproc process-type=HTTP_Server
ORACLE_HOME/opmn/bin/opmnctl stopproc process-type=OC4J_SECURITY
ORACLE_HOME/opmn/bin/opmnctl startproc process-type=OC4J_SECURITY