Adding WebLogic Admin Server or Managed Server Process to Windows Services
To add the WebLogic Admin Console process to Windows Services:
Change the directory to:
For WebLogic Server 10.3.6.0:
<MW_HOME>\wlserver_10.3\server\bin
For WebLogic Server 12c:
<ORACLE_HOME>\wlserver\server\bin
Create a CreateWLSSvc.cmd file and add the following lines, where you should add your own values for the bolded values:
SETLOCAL set DOMAIN_NAME=E1_Apps set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\E1_Apps set SERVER_NAME=[AdminServer or Managed Server Name] set PRODUCTION_MODE=true set JAVA_VENDOR=Oracle set JAVA_HOME=C:\Oracle\JDK_1.7 set JAVA_OPTIONS=-XX:MaxPermSize=350m -Xms32m -Xmx1024m -Djava.xml.rpc.ServiceFactory=oracle.j2ee.ws.client.ServiceFactoryImpl call "%USERDOMAIN_HOME%\bin\setDomainEnv.cmd" call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd" ENDLOCAL
Note: The JD Edwards EnterpriseOne One View reporting functionality requires that the JAVA_OPTIONS be set.Save the file, ensuring that it has no extension (such as
.txt
).Adjust the service name in the
installSvc.cmd
file as described in these steps:Open the
installSvc.cmd
file and scroll to the bottom to locate this Comment line:rem *** Install the service
In the section following the above line, change the bolded values as shown in this example:
"%WL_HOME%\server\bin\beasvc" -install -svcname:"Oracle WebLogic %DOMAIN_NAME%_%SERVER_NAME%" -javahome:"%JAVA_HOME%" -execdir:"%USERDOMAIN_HOME%" -maxconnectretries:"%MAX_CONNECT_RETRIES%" -host:"%HOST%" -port:"%PORT%" -extrapath:"%EXTRAPATH%" -password:"%WLS_PW%" -cmdline:%CMDLINE%
In the above example, the default service name is changed to
Oracle WebLogic <domain><server>
.Note: The default service name is:beasvc <domain><server>
Execute your
CreateWLSSvc.cmd
script as Administrator and check the Windows Services window. For example:The uninstall service script is located in the same directory:
<MW_HOME>\wlserver_10.3\server\bin