Home News Products Online Demo Shop Contact CSCare Inc.

Sales & Ordering

OC4J - Oracle9iAS Containers for J2EE - how to run it as service with JWinSvc

Oracle9iAS Containers for J2EE (OC4J) is an application server available from http://otn.oracle.com/tech/java/oc4j/.

In order to install OC4J as service with JWinSvc, please follow these steps:

  1. Copy JWinSvc.exe into the "\J2ee\home" subdirectory of the OC4J root directory (e.g. $ORACLE_HOME\oc4j\j2ee\home).
  2. OC4J can be then installed as NT service with JWinSvc by running the following command from the "\j2ee\home" subdirectory.
    jwinsvc OC4J /install /start java -jar oc4j.jar
  3. To uninstall OC4J as NT service with JWinSvc, run the following command from the "\j2ee\home" subdirectory:
    jwinsvc OC4J /uninstall
JWinSvc 1.3c has been tested with OC4J versions 9.0.3 and 9.0.4.
Trap Console JWinSvc