WLS_Forms Managed Server Not Starting When Set As A Windows Service
(Doc ID 2478063.1)
Last updated on APRIL 19, 2023
Applies to:
Oracle Forms - Version 12.2.1.0.0 and laterOracle Forms for OCI - Version 12.2.1.4.0 and later
Information in this document applies to any platform.
Symptoms
Attempting to configure WLS_FORMS as a Windows Service, but when starting WLS_FORMS from the Microsoft Management Console, the following error occurs:
The wlsvc <DOMAIN>_WLS_FORMS server on <HOSTNAME> started and then stopped. Some services stop automatically if they are not in use by other services or programs.
The managed server script created is like the following:
SETLOCAL
set MW_HOME=C:\Oracle\Middleware\Oracle_Home
set DOMAIN_NAME=base_domain
set USERDOMAIN_HOME=C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain
set SERVER_NAME=WLS_FORMS
set JAVA_OPTIONS=-Dweblogic.Stdout="C:\Oracle\Middleware\Oracle_Home\user_projects\domains\FormsDomain\stdout.txt" -Dweblogic.Stderr="C:\Oracle\Middleware\Oracle_Home\user_projects\domains\FormsDomain\stderr.txt"
set WL_HOME=C:\Oracle\Middleware\Oracle_Home\wlserver
set PRODUCTION_MODE=true
set MEM_ARGS=-Xms128m -Xmx512m
call "C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\bin\setDomainEnv.cmd"
call "C:\Oracle\Middleware\Oracle_Home\wlserver\server\bin\installSvc.cmd"
ENDLOCAL
This documentation was used to create the managed server script (FMW 12.2.1.2):
Setting Up a WebLogic Server Instance as a Windows Service
Fusion Middleware Administering Server Startup and Shutdown for Oracle WebLogic Server
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |