setProductionModeEnabled(true) does not set Production Mode when creating domain via WLST script (Doc ID 2275904.1)

Last updated on JUNE 17, 2017

Applies to:

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

Symptoms

After running a WLST to create a domain, the domain is created in Development mode and not Production Mode.
Script uses cmo.setProductionModeEnabled(true) to set domain to Production Mode.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms