Difference between revisions of "WebLogic 12c Startup as Windows Service Scripts"
Jump to navigation
Jump to search
(Created page with "* Install/create Windows Service <pre> echo off SETLOCAL set DOMAIN_NAME=base_domain set USERDOMAIN_HOME=F:\Oracle\Middleware\user_projects\domains\base_domain set SERVER_NAME=Ad...") |
|||
Line 1: | Line 1: | ||
* Install/create Windows Service | * Install/create Windows Service | ||
+ | ** Create a file called WebLogic_Admin_WinSvc_Install.cmd with the following content. Run it. It will create a new Windows Service called "wlsvc based_domain_AdminServer. | ||
<pre> | <pre> | ||
echo off | echo off | ||
Line 15: | Line 16: | ||
* Delete the existing Windows Service | * Delete the existing Windows Service | ||
+ | ** Create a file called WebLogic_Admin_WinSvc_Uninstall.cmd with the following content. This will remove the existing Windows Service. | ||
<pre> | <pre> | ||
echo off | echo off |
Revision as of 09:10, 5 August 2013
- Install/create Windows Service
- Create a file called WebLogic_Admin_WinSvc_Install.cmd with the following content. Run it. It will create a new Windows Service called "wlsvc based_domain_AdminServer.
echo off SETLOCAL set DOMAIN_NAME=base_domain set USERDOMAIN_HOME=F:\Oracle\Middleware\user_projects\domains\base_domain set SERVER_NAME=AdminServer set WL_HOME=F:\Oracle\Middleware\wlserver_12.1 set PRODUCTION_MODE=true set MEM_ARGS=-Xms128m -Xmx512m call "F:\oracle\Middleware\user_projects\domains\base_domain\bin\setDomainEnv.cmd" call "F:\Oracle\Middleware\wlserver_12.1\server\bin\installSvc.cmd" ENDLOCAL
- Delete the existing Windows Service
- Create a file called WebLogic_Admin_WinSvc_Uninstall.cmd with the following content. This will remove the existing Windows Service.
echo off SETLOCAL set DOMAIN_NAME=base_domain set USERDOMAIN_HOME=F:\Oracle\Middleware\user_projects\domains\base_domain set SERVER_NAME=AdminServer call "F:\Oracle\Middleware\wlserver_12.1\server\bin\uninstallSvc.cmd" ENDLOCAL