Weblogic 10.3.3 domain configuration on Linux


Weblogic 10.3.3 domain configuration

In this tutorials, we are going to configure WebLogic Server 11gR1 (10.3.3) domain on a Linux(32-bit) platform.

Note: same steps will work for any 10.3.x weblogic versions


What is a weblogic server domain?

A domain is the basic administration unit for Weblogic Server instances. A domain consists of an Administration Server and Managed application servers and resources. The main configuration file in the domain is config.xml, which is located in the domain directory (DOMAIN_HOME) under config directory.

Weblogic domain can have multiple servers in a cluster or multiple clusters. A domain can have an Administration Server which can act as an Administration Server and managed server. This architecture is mostly used by the developers in developing and deploying applications in their local environments.


Production and Development Modes

Weblogic domain can be configured in two different modes:

1. Development Mode

2. Production Mode

In the development mode of configuration, Weblogic server domain has minimum security and is used for the development of application purposes. In this mode, you can also auto-deploy the application.

Productions Mode is the final mode of the domain configuration, where deployed the application will be used directly by the customers. This is the most important mode with maximum security.

Now as we have a general idea on Oracle Weblogic Server Domain, let`s see what will be covered in this Weblogic Server Domain tutorial.

On Linux Server, go to the weblogic platform home (/usr/local/weblogic103 – as setup in platform installation tutorials). Under the /usr/local/weblogic103/wlserver_10.3/common/bin look for file name "config.sh".

1. Execute the config file to configure WLS Domain.

./config.sh
Unable to instantiate GUI, defaulting to console mode.


<------------------- Fusion Middleware Configuration Wizard -------------------->

Welcome:
-------------

Choose between creating and extending a domain. Based on your selection, the Configuration Wizard guides you through the steps to generate a new or extend an
existing domain.

 ->1|Create a new WebLogic domain
    |    Create a WebLogic domain in your projects directory.

   2|Extend an existing WebLogic domain
    |    Use this option to add new components to an existing domain and modify configuration settings.


Enter index number to select OR [Exit][Next]> Next
                

2. Select the source from which the domain will be created.

<------------------- Fusion Middleware Configuration Wizard -------------------->

Select Domain Source:
-------------------------

Select the source from which the domain will be created. You can create the domain by selecting from the required components or by selecting from a list of existing domain templates.

 ->1|Choose Weblogic Platform components
    |    You can choose the Weblogic component(s) that you want supported in your domain.

   2|Choose custom template
    |    Choose this option if you want to use an existing  template. This could be a custom created template using the Template Builder.

Enter index number to select OR [Exit][Previous][Next]> Next
                

3. Select the domain template.

<------------------- Fusion Middleware Configuration Wizard -------------------->

Application Template Selection:
-----------------------------------

    Available Templates
    |_____Basic WebLogic Server Domain - 10.3.3.0 [wlserver_10.3]x
    |_____WebLogic Advanced Web Services for JAX-RPC Extension - 10.3.3.0 [wlserver_10.3] [2]
    |_____WebLogic Advanced Web Services for JAX-WS Extension - 10.3.3.0 [wlserver_10.3] [3]

Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]>Next
                

4. Editing the domain information.

<------------------- Fusion Middleware Configuration Wizard -------------------->

Edit Domain Information:
-----------------------------

    |  Name  |    Value    |
   _|________|_____________|
   1| *Name: | base_domain |

Enter value for "Name" OR [Exit][Previous][Next]> devdomain

<------------------- Fusion Middleware Configuration Wizard -------------------->

Edit Domain Information:
-----------------------------

    |  Name  |   Value    |
   _|________|____________|
   1| *Name: | devdomain |

Use above value or select another option:
    1 - Modify "Name"
    2 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> Next

<------------------- Fusion Middleware Configuration Wizard -------------------->
                

5. Select the target domain directory for this domain.

Select the target domain directory for this domain:
-----------------------------------------------------------

    "Target Location" = [Enter new value or use default "/usr/local/weblogic103/user_projects/domains"]

Enter new Target Location OR [Exit][Previous][Next]> Next

<------------------- Fusion Middleware Configuration Wizard -------------------->
                

6. Configure Administrator UserName and Password.

<------------------- Fusion Middleware Configuration Wizard -------------------->

Configure Administrator User Name and Password:
------------------------------------------------------------

Create a user to be assigned to the Administrator role. This user is the default administrator used to start development mode servers.

    |          Name           |                  Value                  |
   _|_________________________|_________________________________________|
   1|         *Name:          |                weblogic                 |
   2|     *User password:     |                                         |
   3| *Confirm user password: |                                         |
   4|      Description:       | This user is the default administrator. |

Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "User password"
    3 - Modify "Confirm user password"
    4 - Modify "Description"

Enter option number to select OR [Exit][Previous][Next]> 2

<------------------- Fusion Middleware Configuration Wizard -------------------->

Configure Administrator User Name and Password:
------------------------------------------------------------

Create a user to be assigned to the Administrator role. This user is the default administrator used to start development mode servers.

    |          Name           |                  Value                  |
   _|_________________________|_________________________________________|
   1|         *Name:          |                weblogic                 |
   2|     *User password:     |                ********                 |
   3| *Confirm user password: |                                         |
   4|      Description:       | This user is the default administrator. |

Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "User password"
    3 - Modify "Confirm user password"
    4 - Modify "Description"
    5 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> 3

<------------------- Fusion Middleware Configuration Wizard -------------------->

Configure Administrator User Name and Password:
------------------------------------------------------------

Create a user to be assigned to the Administrator role. This user is the default administrator used to start development mode servers.

    |          Name           |                  Value                  |
   _|_________________________|_________________________________________|
   1|         *Name:          |                weblogic                 |
   2|     *User password:     |               **********                |
   3| *Confirm user password: |               **********                |
   4|      Description:       | This user is the default administrator. |

Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "User password"
    3 - Modify "Confirm user password"
    4 - Modify "Description"
    5 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> Next

<------------------- Fusion Middleware Configuration Wizard -------------------->
                

7. Select Domain configuration mode.

Domain Mode Configuration:
--------------------------------

Enable Development or Production Mode for this domain.

 ->1|Development Mode

   2|Production Mode

Enter index number to select OR [Exit][Previous][Next]> 1

<------------------- Fusion Middleware Configuration Wizard -------------------->
            

8. Select Java SDK from the below options.

Java SDK Selection:
-------------------------

 ->1|JRockit SDK 1.6.0_17 @ /usr/local/weblogic103/jrockit_160_17_R28.0.0-679
   2|Sun SDK 1.6.0_18 @ /usr/local/weblogic103/jdk160_18
   3|Other Java SDK

Enter index number to select OR [Exit][Previous][Next]> 1

<------------------- Fusion Middleware Configuration Wizard -------------------->
                

9. Select Optional selection. For this tutorial, we will only configure the Administration Server, rest all weblogic server resources will be configured from the weblogic administration console.

Select Optional Configuration:
------------------------------------

   1|Administration Server [x]
   2|Managed Servers, Clusters and Machines [ ]
   3|RDBMS Security Store [ ]

Enter index number to select OR [Exit][Previous][Next]> Next

<------------------- Fusion Middleware Configuration Wizard -------------------->

Configure the Administration Server:
-------------------------------------------

Enter administration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the Administration
Console which is used to perform administrative tasks.

    |       Name       |        Value        |
   _|__________________|_____________________|
   1|      *Name:      |     AdminServer     |
   2| *Listen address: | All Local Addresses |
   3|   Listen port:   |        7001         |
   4| SSL listen port: |         N/A         |
   5|   SSL enabled:   |        false        |

Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "Listen address"
    3 - Modify "Listen port"
    4 - Modify "SSL enabled"

Enter option number to select OR [Exit][Previous][Next]> 2

<------------------- Fusion Middleware Configuration Wizard -------------------->

Configure the Administration Server:
-------------------------------------------

Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the Administration
Console which is used to perform administrative tasks.

    |       Name        |    Value    |
   _|__________________ |_____________|
   1|      *Name:       | AdminServer |
   2| *Listen address:  |  localhost  |
   3|   Listen port:    |    7001     |
   4| SSL listen port:  |     N/A     |
   5|   SSL enabled:    |    false    |

Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "Listen address"
    3 - Modify "Listen port"
    4 - Modify "SSL enabled"
    5 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> Next

<------------------- Fusion Middleware Configuration Wizard -------------------->

                

10. Weblogic domain progress.

Creating Domain...

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]

**** Domain Created Successfully! ****
                

Weblogic 10.3.3 Domain Configuration on Linux : Completed