1 Reply Latest reply: Oct 23, 2012 2:04 PM by n_shah18 RSS

    oc4j as service on windows server.

    n_shah18
      Hi experts
      I am trying to making oc4j as automatic service on windows server 2008 ,
      I research the forum and found some steps , i followed that but , it not working for me kindly help
      step i followed..
      I only installed developer 10g on my local machine and downloaded oc4j Standalone Version 10.1.2.0.2.
      1. Download the oc4j_client.zip for 10.1.2 from www.otn.oracle.com.
      2. Unzip oc4j_client.zip file into d:\oc4jclient. Download the ojdl.jar file and place it in the c:\oc4jclient folder.
      after that I unzipped oc4j Standalone file into c:\oc4jclient.

      at the end I followed metalink document How to Run OC4J 10.1.3 As a Windows Service? [ID 742424.1]
      1. Download JDK 1.5 and install it
      2. Download JavaService-2.0.10 from:
      http://forge.objectweb.org/project/showfiles.php?group_id=137
      3. From command line enter the following command:
      javaservice -install “Oracle BI EE OC4J” “C:\Program Files (x86)\Java\jdk1.5.0_15\jre\bin\server\jvm.dll”
      -XX:MaxPermSize=128m “-Djava.class.path=C:\oc4j\j2ee\home\pc4j.jar”
      -start oracle.oc4j.loader.boot.BootStrap -err "c:\log\oc4j.err.txt -description “Oracle BI EE OC4J Service”



      *error i got*

      {code}
      C:\>javaservice -install "Oracle BI EE OC4J" "C:\Program Files (x86)\Java\jdk1.5
      .0_15\jre\bin\server\jvm.dll"
      'javaservice' is not recognized as an internal or external command,
      operable program or batch file.

      C:\>-XX:MaxPermSize=128m "-Djava.class.path=C:\oc4j\j2ee\home\pc4j.jar"
      The filename, directory name, or volume label syntax is incorrect.

      C:\>-start oracle.oc4j.loader.boot.BootStrap -err "c:\log\oc4j.err.txt -descript
      ion "Oracle BI EE OC4J Service"
      '-start' is not recognized as an internal or external command,
      operable program or batch file.
      thanks