Setting Up the Service

Oracle WebLogic Server provides a WebLogic Windows service program, called beasvc.exe. You can execute this from within a script or call on the master script provided by Oracle for this purpose, called the installSvc.cmd script, which is a wrapper for beasvc.exe. Follow these steps to set up a WebLogic Server instances as a Windows service. This example shows how to start an Admin Server as a Windows service.

1. Change to the WL_HOME\server\bin directory.

2. Create a text file with the following contents and name it createSvc.cmd:

 echo off SETLOCAL set DOMAIN_NAME=medrec set USERDOMAIN_HOME=C:\MyOra\middleware\wlserver_10.3\samples\ domains\medrec set SERVER_NAME=MedRecServer set PRODUCTION_MODE=false set JAVA_VENDOR=sun ...

Get Oracle WebLogic Server 11g Administration Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.