DBA Tips Archive for Oracle

  


Starting / Stopping OC4J

by Jeff Hunter, Sr. Database Administrator


Introduction

The following article documents the commands to start and stop an OC4J instance.

Starting / Stopping OC4J

To start OC4J, enter the following command from the prompt:
% cd $OC4J_HOME/j2ee/home
% java -jar oc4j.jar
Point your web browser to the following URL to test the installation of OC4J:
http://localhost:8888
To stop OC4J, use the -shutdown option of the admin.jar tool. Open another terminal window and enter the following command:
% cd $OC4J_HOME/j2ee/home
% java -jar admin.jar ormi://localhost admin manager -shutdown


Copyright (c) 1998-2017 Jeffrey M. Hunter. All rights reserved.

All articles, scripts and material located at the Internet address of http://www.idevelopment.info is the copyright of Jeffrey M. Hunter and is protected under copyright laws of the United States. This document may not be hosted on any other site without my express, prior, written permission. Application to host any of the material elsewhere can be made by contacting me at jhunter@idevelopment.info.

I have made every effort and taken great care in making sure that the material included on my web site is technically accurate, but I disclaim any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on it. I will in no case be liable for any monetary damages arising from such loss, damage or destruction.

Last modified on
Sunday, 01-Dec-2002 00:00:00 EST
Page Count: 7790