Thursday, January 9, 2014

Single Click to startup/shutdown OBIEE 10g

I am so lazy to startup/shutdown my obiee instance services, so found below solution.

Open a notepad and type following commands and save with any name .bat extension (lets say StartOBIEE.bat). Once you double click it, it will start services in a sequence.

This is the start up script:

start D:\OracleBI\oc4j_bi\bin\oc4j.cmd -start
sleep 40
net start "Oracle BI Server"
net start "Oracle BI Java Host"
net start "Oracle BI Presentation Server"
start iexplore "http://localhost:9704/analytics/saw.dll?Answers&NQUser=Administrator&NQPassword=Administrator"


Open a notepad and type following commands and save with any name .bat extension (lets say StopOBIEE.bat). Once you double click it, it will stop services in a sequence.

This is the shutdown script:

net stop "Oracle BI Presentation Server"
net stop "Oracle BI Java Host"
net stop "Oracle BI Server"
C:\jdk\bin\java.exe -jar D:\OracleBI\oc4j_bi\j2ee\home\admin.jar ormi://localhost:23791 oc4jadmin oc4jadmin -shutdown force

No comments:

Post a Comment