My Oracle Support Banner

PRODUCTION_MODE and MEM_ARGS Parameters are Not Reflected to InstallSvc.cmd (Doc ID 2857458.1)

Last updated on MARCH 27, 2024

Applies to:

Oracle WebLogic Server - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

Server-Specific Script is needed to register WebLogic Server instance as Windows Service.
PRODUCTION_MODE and MEM_ARGS that are mentioned in the following document are not reflected to Windows Service.
Because these parameters does not pass to -cmdline: in installSvc.cmd.

Creating a Server-Specific Script

set PRODUCTION_MODE=[true]
When the PRODUCTION_MODE variable is set to true, the server instance starts in production mode. When not specified, or when set to false, the server starts in development mode. See Domain Mode and JDK in Creating WebLogic Domains Using the Configuration Wizard.


set MEM_ARGS=[-XmsNumberm] [-XmxNumberm]
where Numberm is a numerical value in megabytes (MB). The-XmsNumberm argument establishes a minimum heap size for the JVM and the -XmxNumberm sets a maximum heap size.

 

Changes

 

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
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.