twitter
    !! Tell us what you want to Learn / Know !!

Domain


A logically related group of WebLogic resources controlled by an admin server.

Modes of Domain:
           You can configure servers in your domain to start in one of two modes, development or production. You use development mode while you are developing your applications. Development mode uses a relaxed security configuration and enables you to auto-deploy applications. You use production mode when your application is running in its final form. A production domain uses full security and may use clusters or other advanced features. 
The runtime mode is a domain-wide setting. As each Managed Server starts, it refers to the mode of the Administration Server to determine its runtime mode. By default, all servers run in development mode. If you configure the domain to run in production mode, the Administration Server saves this setting to the domain's config.xml file.

Difference between Development and Production modes:
  • In development mode, the default JDK is the sun jdk.In production mode, the default JDK is the Oracle Jrockit.
  • In development mode, the auto-deployment feature is enabled. In production mode, the auto-deployment feature is disabled.
  • In development mode, the maximum connections allocated to the JDBC connection pool is 15. In production mode, the maximum connections allocated to the JDBC connection pool is 25.
  • In development mode, maximum 15 threads will be allocated. In production mode, maximum 25 threads will be allocated.
  • In development mode, log rotation happens during every  server startup. In production mode, the log rotation happens when the log size reaches to 5000k / time.
  • In development mode, Admin Server uses an automatically created boot.properties during startup. In production mode Admin Server prompts for username and password during startup.
  • In development mode lock & edit is optional, in production it is mandatory.

Creating a domain:
Let us see how to create a domain.
Navigate to the following location
C:\bea\wlserver_10.3\common\bin

Double click the config.cmd file.


The Following screens will guide you through the domain creation.


Click next to continue.

Enter the user name and password for the domain.


Select the start mode and jdk


Select No to create only admin server.


Enter the name and location for your domain.


Click create to create the domain


Navigate to the following location
BEA_HOME\user_projects\domains
The domain you have created will be present in this location.

0 comments:

Post a Comment