Wednesday, October 16, 2013

How to convert OC4J as windows Service

Integrate OC4J as a Windows Service

I have seen several posts in Form, How to convert OC4j as a windows Service.

Please follow the steps.

1.      This deployment procedure assumes that your OBIEE is installed on a Windows Server.  Before renaming , take the backup Oc4j  , c:\OracleBI\oc4j_bi\bin directory.  This assumes that the original oc4j.cmd file existed in the above said folder. Now, Rename the exiting oc4j file.

Now, locate the javaservice.exe file in your windows server.  You can download java exe file as mention belwo link.

Now copy and paste this following command to your command prompt window and hit “Enter”.

"C:\javaservice.exe" -install "OC4J" "C:\Program Files\Java\jdk1.6.0_21\jre\bin\client\jvm.dll" -XX:MaxPermSize=64m -Xmx256m "-Djava.class.path=c:\OracleBI\oc4j_bi\j2ee\home\oc4j.jar" -start oracle.oc4j.loader.boot.BootStrap -description "Oracle BI OC4J Service"
For you reference please find the screen shot like below.

I assume you are installing OBIEE in D drive and javaservice.exe is located in C:\ javaservice.exe  folder and your jvm.dll  is available in C:\Program Files\Java\jdk1.6.0_12\jre\bin\client\ folder. Also check the location of your oc4j.jar file location as shown in the above command.
If the service was successfully started, the following message “ The OC4J automatic service was successfully installed” should be returned after you pressed “Enter”.
Now,go to your services using control panel and you should be seeing “Oracle BI OC4J Service” in the list of registered services.

Satya Ranki Reddy

No comments:

Post a Comment