Thursday, March 29, 2012

Managed Weblogic Server as a Windows Service

Create a cmd file using the text below,
change the settings to suit your environment.

-----------------------------------------------------
echo off
SETLOCAL

set DOMAIN_NAME=niall_domain
set USERDOMAIN_HOME=D:\Work\envs\WLS11g\user_projects\domains\niall_domain
set SERVER_NAME=mgd_1
set PRODUCTION_MODE=false

set WL_HOME=D:\Work\envs\WLS11g\wlserver_10.3
set WLS_USER=weblogic
set WLS_PW=welcome1

set ADMIN_URL=http://localhost:7001

set MEM_ARGS=-Xms40m -Xmx250m

call %WL_HOME%\server\bin\installSvc.cmd

-------------------------------------------------------
This will install your managed server as a windows service.

Complete example from me is available HERE

No comments: