Oracle‎ > ‎OBIEE‎ > ‎

OBIEE 11g Weblogic Services

Create and delete scripts for Weblogic Windows Services in OBIEE 11g (11.1.1.6). Probably applies to other versions too.
Create the scripts as .cmd files in the domain home location for example: D:\Oracle\OBIEE\Middleware\user_projects\domains\bifoundation_domain

Create Admin Server script:
SETLOCAL
set DOMAIN_NAME=bifoundation_domain
set USERDOMAIN_HOME=D:\Oracle\OBIEE\Middleware\user_projects\domains\bifoundation_domain
set SERVER_NAME=AdminServer
set PRODUCTION_MODE=true
cd %USERDOMAIN_HOME%
set WLS_USER=weblogic
set WLS_PW=xxxxxx
call %USERDOMAIN_HOME%\bin\setDomainEnv.cmd
call "D:\Oracle\OBIEE\Middleware\wlserver_10.3\server\bin\installSvc.cmd"
ENDLOCAL

Create bi_server1 script

SETLOCAL
set DOMAIN_NAME=bifoundation_domain
set USERDOMAIN_HOME=D:\Oracle\OBIEE\Middleware\user_projects\domains\bifoundation_domain
set SERVER_NAME=bi_server1
set PRODUCTION_MODE=true
set ADMIN_URL=http://localhost:7001
cd %USERDOMAIN_HOME%
set WLS_USER=weblogic
set WLS_PW=xxxxxxx
call %USERDOMAIN_HOME%\bin\setDomainEnv.cmd
call "D:\Oracle\OBIEE\Middleware\wlserver_10.3\server\bin\installSvc.cmd"
ENDLOCAL

Uninstall Admin Server script
echo off
SETLOCAL
set DOMAIN_NAME=bifoundation_domain
set SERVER_NAME=AdminServer
set WL_HOME=D:\Oracle\OBIEE\Middleware\wlserver_10.3
call %WL_HOME%\server\bin\uninstallSvc.cmd
ENDLOCAL

Uninstall bi_server1 script
echo off
SETLOCAL
set DOMAIN_NAME=bifoundation_domain
set SERVER_NAME=bi_server1
set WL_HOME=D:\Oracle\OBIEE\Middleware\wlserver_10.3
call %WL_HOME%\server\bin\uninstallSvc.cmd
ENDLOCAL

JVM Memory.
In order for the service to start the Java heap sizes need to be increased. Assuming a 64bit OS, run regedit and drill down on the Services and increase the Xmx to say 2048 and Xms to 1024.

Lovely :D

Service Debug
If the service fails to start the registry hive where the memory was adjusted above also has a "Log" key, enter a log file path and file name value where you would like the log file to endup. eg: c:\temp\obieesrvc.log.

This will log all start up messages, really handy, remember to remove the value once the service is running properly.
Comments