try this go to this URL OW2 Forge: Project Filelist and download the javaservice.exe and then create a windows service by running the javaservice.exe which you downloaded and add this in there
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"
let me know how it goes, you need to have the jdk1.6+ installed
what i would need pertaining to this, which ID i am supposed to use to run the script? is it mandatory to use an admin Id to create this as windows service?
just follow my suggestion, download the file and add the service details as i suggested but make sure you change the paths accordingly.
No its not mandatory to run the process under Admin account you can run with any user as this will be windows service which any user can start or stop as required
mark if its helpful
1 person found this helpful
Make sure your DOS command is running as Administrator and also you need to use java service software specific to OS bit ie 32 or 64
I was waiting for this. so I have to use Administrator(windows user) to run the command.
Nope, you just need to right click on command prompt and select run as administrator. You don't need to use windows Administrator user account to run this command
Okay...Thank You Sunil. Let me try this and keep you posted.