Oracle‎ > ‎

EPM Weblogic Admin Service

Create the default/generic EPM Weblogic Admin Service on Windows 2003 and Windows 2008 servers usually on the first foundation node.

Create a text file in the location:
D:\Oracle\Middleware\user_projects\domains\EPMSystem\CreateAdminService.bat

Edit the text file, the contents should look like this:
SETLOCAL
set DOMAIN_NAME=EPMSystem
set USERDOMAIN_HOME=D:\Oracle\Middleware\user_projects\domains\EPMSystem
set SERVER_NAME=AdminServer
set PRODUCTION_MODE=true
cd %USERDOMAIN_HOME%
set WLS_USER=epm_admin
set WLS_PW=<PASSWORD>
call %USERDOMAIN_HOME%\bin\setDomainEnv.cmd
call "D:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd"
ENDLOCAL
Correct the paths and epm_admin password information

Run the batch file and it should create the service: beasvc EPMSystem_AdminServer

Check out the registry if any start-up parameters need checking like Xms and Xmx. Also additional startup logging can be enabled here, very handy for troubleshooting failing Weblogic Services, it takes a parameter like D:\WLAdminDebug.log , Remember to delete this entry once debugging the service.

HKLM\SYSTEM\CurrentControlSet\services\beasvc EPMSystem_AdminServer

To Delete the Service create a new batch file called: D:\Oracle\Middleware\user_projects\domains\EPMSystem\RemoveAdminService.bat
The file contents should look like this:
echo off
SETLOCAL
set DOMAIN_NAME=EPMSystem
set SERVER_NAME=AdminServer
set WL_HOME=D:\Oracle\Middleware\wlserver_10.3
call %WL_HOME%\server\bin\uninstallSvc.cmd
ENDLOCAL
Once run the service should disappear from the list of Windows Services.
Comments