-
1. Re: OC4J as windows services
SunilSharma Dec 18, 2013 6:08 PM (in response to Ibag)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
-
2. Re: OC4J as windows services
Ibag Dec 19, 2013 5:48 AM (in response to SunilSharma)Thanks Sunil,
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?
-
3. Re: OC4J as windows services
SunilSharma Dec 20, 2013 1:40 PM (in response to Ibag)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
-
4. Re: OC4J as windows services
SriniVEERAVALLI Dec 20, 2013 3:41 PM (in response to SunilSharma)1 person found this helpfulMake 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
-
5. Re: OC4J as windows services
Ibag Dec 23, 2013 2:57 AM (in response to SriniVEERAVALLI)Thanks Srini,
I was waiting for this. so I have to use Administrator(windows user) to run the command.
-
6. Re: OC4J as windows services
SunilSharma Dec 23, 2013 1:16 PM (in response to Ibag)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
-
7. Re: OC4J as windows services
Ibag Dec 24, 2013 1:48 AM (in response to SunilSharma)Okay...Thank You Sunil. Let me try this and keep you posted.