Domain Mode and JDK

Domain Mode

Use this section to specify whether you want to run WebLogic in Production mode or Development mode.

Option Description

Development

In this mode, the security configuration is relatively relaxed. Username and password are required to deploy applications.

Production

In this mode, the security configuration is relatively stringent, requiring a username and password to deploy applications and to start the Administration Server. Before putting a domain into production, familiarize yourself with procedures for securing a production environment. More


The following table provides more details on the differences between development mode and production mode:

Differences Between Development and Production Modes

Feature Development Mode Production Mode

SSL

You can use the demonstration digital certificates and the demonstration keystores provided by the WebLogic Server security services. With these certificates, you can design your application to work within environments secured by SSL. More

You must not use the demonstration digital certificates and the demonstration keystores. If you do so, a warning message is displayed.

Deploying applications

WebLogic Server instances can deploy and update applications that reside in the domain_name/autodeploy directory automatically.

Oracle recommends that you use this method only in a single-server development environment. More

The auto-deployment feature is disabled. You must use the WebLogic Server Administration Console, the weblogic.deployer tool, or the WebLogic Scripting Tool.

Log file rotation

By default, when you start the WebLogic Server instance, the server automatically renames (rotates) its local server log file as SERVER-NAME.log.n. For the remainder of the server session, messages accumulate in the log file until the file grows to a size of 500 kilobytes. More

The default value of the the Limit number of retained files setting in Logging Configuration is true. This limits the number of log files that the server instance creates to store old messages.

The server rotates the local log file after the size of the file reaches 5000 kilobytes.

When the server is configured for production mode, by default, all versions of the log files are kept. Administrators may want to customize the number of log files that are retained.

The default value of the Limit number of retained files setting in Logging Configuration is false. The server creates new log files indefinitely, and you must clean up those files as needed.

boot.properties

A boot.properties file is created, which allows you to boot the server without specifying a username and password.

A boot.properties file is not created.


JDK

Use the JDK section to select the JDK for the domain. Select only a JDK that is supported on the platform you are using. For a list of the JDKs that are supported for a specific platform, see "Oracle Fusion Middleware Supported System Configurations" on Oracle Technology Network.

Option Description

JDK

Lists the JDK that was used when you installed WebLogic Server. The default JDK is Oracle Hotspot SDK version, but you may have installed and used another JDK during installation.

Other JDK

Select this option to use a JDK other than the one that you ised when you installed WebLogic Server. Use the Browse button to navigate to the directory where the JDK resides.

If you select the JDK that you used when you installed WebLogic Server, the Configuration Wizard creates server startup scripts to invoke that JDK. If you select a JDK that you did not use when you installed WebLogic Server, the Configuration Wizard does not configure the startup scripts; you must change the startup scripts manually. More


"Ensuring the Security of Your Production Environment" in Securing a Production Environment for Oracle WebLogic Server

"Change to Production Mode" in the Oracle WebLogic Server Administration Console Online Help

"Deploying Applications and Modules with weblogic.deployer" in Deploying Applications to Oracle WebLogic Server

"Configuring SSL" in Administering Security for Oracle WebLogic Server

"Rotate Log Files" in the Oracle WebLogic Server Administration Console Online Help

Tuning Performance of Oracle WebLogic Server