This is a very simplistic approach but I personally like having a simple button on my Windows Quick Launch bar to invoke things.
One of this things is to quickly launch my local Oracle BI EE environment and also to shut it down (to preserve my valuable RAM). This is what the windows cmd script behind my "Start OBIEE" button looks like.
start D:\OracleBI\oc4j_bi\bin\oc4j.cmd -start
sleep 30
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"
For this to work you should get a sleep.exe or use some other command to wait for 30 seconds to allow the oc4j to start up.
When the script is complete, I can start working in Answers without having to log in.
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
have a nice day
@lex
Friday, July 17, 2009
Subscribe to:
Post Comments (Atom)
0 Kommentare:
Post a Comment