Following the last post on stopping oc4j from automatic running, you may want to run oc4j as a service, so that is can be added to a batch file that starts all the analytics services.
So, to Run OC4J as a windows service
If you want to run oc4j as a windows service download the open source tool named JavaService.exe from http://javaservice.objectweb.org/ which can create Windows Services for Java Programs, adjust and execute the following command:
javaservice -install "Oracle BI: OC4J Service" "D:\jdk1.5.0_09\jre\bin\client\jvm.dll" -XX:MaxPermSize=128m -Xmx512m "-Djava.class.path=d:\OracleBI\oc4j_bi\j2ee\home\oc4j.jar" -start oracle.oc4j.loader.boot.BootStrap -description "Oracle BI Oc4J Service"
Now you can add to your 'net start' commands batch file.
Credit to Andreass in the Majendi team for this.
UPDATE: Venkat has also blogged on this subject, including some screen shots.
Made it to Pro level on OTN forums
-
Even though I’m hanging on the bottom of Top 10 users, I still managed to
make it to Pro Level today Now I have a nice silver icon to my name (or
maybe it’...
3 days ago
3 comments:
This is really helpful. Thanks a lot.
Adrian - Such a small world :-). I have now updated my blog entry to reflect yours.
Thanks for this good information.
Just for information.
You have also a 64 bit version of javaservice which is available only with the release V2.0.7.
An other good way is to create a schedule task on startup.
Post a Comment