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_09jrebinclientjvm.dll” -XX:MaxPermSize=128m -Xmx512m “-Djava.class.path=d:OracleBIoc4j_bij2eehomeoc4j.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.