Friday, 14 December 2012

Weblogic List the admin accounts

Weblogic Server : List the admin accounts

1. create a .py file, suppose admindisplay.py and copy below contents


import os
import sys
username='weblogic'
password='weblogic123'
url='t3://localhost:40510'
domain='JJTU_Domain1'
groupName='Administrators'
connect(username, password, url)
cd('SecurityConfiguration/'+domain+'/DefaultRealm/myrealm/AuthenticationProviders/DefaultAuthenticator')
ListUsersInGroups=cmo.listAllUsersInGroup(groupName,'*',0)
print ListUsersInGroups

Note - Change username, password, host, port and domain name accordingly

2. go to your_domain/bin and run setDomainEnv script

3. execute the admindisplay.py script like below ( see command in red )

--------------------------------------------------------------------------

C:\Oracle\Middleware2\user_projects\domains\JJTU_Domain1\bin>java weblogic.WLST admin.py

( Output )

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Connecting to t3://localhost:40510 with userid weblogic ...
Successfully connected to Admin Server 'JJTU_AdminServer' that belongs to domain 'JJTU_Domain1'.

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

array(java.lang.String,['weblogic', 'administrator'])

--------------------------------------------------------------------------------

Weblogic Server ear file directory structure


Weblogic Server : Directory Structure Of  ear ( Enterprise Applications ) File


In weblogic, Archived file with extension .ear also called enterprises application is a group of other java enterprises modules such as web applications ( .war archive ), EJB's ( .jar archive ) etc. it has it's own descriptor file called application.xml which contains information about the different kind of modules packaged or available inside that particular .ear file or you can say, it's a standard J2EE configuration file that specifies which modules are in the J2EE application. 

Apart from application.xml, one more weblogic descriptor file is there for ear file called weblogic-application.xml but optional if you are not using any WebLogic Server extensions. weblogic-application.xml file is the WebLogic Server-specific deployment descriptor extension for the application.xml Java EE deployment descriptor and this is where you configure features such as shared Java EE libraries referenced in the application and EJB caching.

Both weblogic-application.xml & application.xml located in the META-INF


So, an EAR file contains - 

1. META-INF ( containing application.xml,weblogic-application.xml & MANIFEST.MF )
2. APP-INF  ( containing folder "lib" and "classes", explained later )
3. Web Module ( war archive file )
4. EJB Module ( jar archive file )


See the diagram below 







1. META-INF ( containing application.xml,weblogic-application.xml & MANIFEST.MF )

The META-INF/ directory can contain the following files :

application.xml, as I have explained above, contains information about the different kind of modules packaged or available inside that particular .ear file or you can say, it's a standard J2EE configuration file that specifies which modules are in the J2EE application. 

 weblogic-application.xml file is the WebLogic Server-specific deployment descriptor extension for the application.xml Java EE deployment descriptor and this is where you configure features such as shared Java EE libraries referenced in the application and EJB caching. it's an optional file if you are not using any WebLogic Server extensions.

MANIFEST.MF is also an optional file that can be used to specify additional meta-information for the EAR.
( for more details visit http://docs.oracle.com/javase/1.4.2/docs/guide/jar/jar.html#JAR )

2. APP-INF  ( containing folder "lib" and "classes", explained later )

APP-INF folder is used to place the common modules used between all of your application archived in a particular ear file. For example, suppose you have archived two war files like myapp1.war and myapp2.war in a ear file called myentapp.ear, and there are few functionality common on both web archive file so instead of creating and archiving separate ejb's for both web app, you can archive common ejb's in a jar file like shared.jar and place that file inside APP-INF/lib folder.

 In the same way, if you have some common class files for both war files then you can place then inside APP-INF/classes.


3. Web Module ( war archive file )

See my this post - http://weblogicserveradministration.blogspot.com/2010/10/deployment-creating-war-file-and.html


4. EJB Module ( jar archive file )

EJB deployment descriptors are defined in ejb-jar,xml.
Weblogic related descriptors are defined in weblogic-ejb-jar.xml.
Further, class files are located under main jar folder.


How to create a EAR file 


To create an ear ( Enterprises Application ) - 

1. Create a temporary staging directory anywhere on your hard drive.

2. Copy the Web archives (WAR files) and EJB archives (JAR files) into the staging directory.

3. Create a META-INF subdirectory in the staging directory

4. Set up your shell environment by running setDomainEnv script inside domain/bin folder

5. Create the application.xml deployment descriptor file that describes the enterprise   
     application in the META-INF directory. 

6. Optionally create the weblogic-application.xml file manually in the META-INF directory if 
    needed.

7. Create the Enterprise Archive (EAR file) for the application, using a jar command such as:

     jar cvf application.ear -C your_staging_dir



Other My Related Posts


1. WAR File Directory Structure, Creating war file
2. WAR Files Overview
3. Packaging Weblogic Deployment Files
4. Create jar, war and ear Files
5. Difference Between jar, war and ear Files






Wednesday, 12 December 2012

Weblogic Server HTTP session replication ( JDBC database replication )


Weblogic Server HTTP session replication ( JDBC based database replication )

Assuming you have -

Oracle Databases  Installed
Weblogic Installed and two managed servers created in a cluster
Web server installed


Download the shoppingcart.war web application



1. Create a database user for jdbc session handling

connect with database
connect / as sysdba
sql> create user weblogic identified by webl0gic;
sql> grant connect,resource to weblogic;

Test user -

$ sqlplus weblogic/webl0gic
sql>
( if you got sql> prompt then you are good to go )

2. connect with weblogic user and create below table - 

create table wl_servlet_sessions
  ( wl_id VARCHAR2(100) NOT NULL,
    wl_context_path VARCHAR2(100) NOT NULL,
    wl_is_new CHAR(1),
    wl_create_time NUMBER(20),
    wl_is_valid CHAR(1),
    wl_session_values LONG RAW,
    wl_access_time NUMBER(20),
    wl_max_inactive_interval INTEGER,
   PRIMARY KEY (wl_id, wl_context_path) );


Run below command, it will give you 0 records

$ sqlplus weblogic/webl0gic

sql> select count(*) from WL_SERVLET_SESSIONS;

  COUNT(*)
----------
         0

3. Create a datasource with name  "dizzyworldDS"  from weblogic console and target to  
     your managed Servers.

Note : - Don't use XA driver


4. Configuring a Web Application for JDBC Replication

Edit the shoppingcart/WEB-INF/weblogic.xml file again, add <session-descriptor> element as follows:


<session-descriptor>

   <persistent-store-type>jdbc</persistent-store-type>


   <persistent-store-pool>dizzyworldDS</persistent-store-pool>


   <persistent-store-table>WL_SERVLET_SESSIONS</persistent-store-table>


</session-descriptor>


Re-create shoppingcart.war again or you can deploy shoppingcart folder in open exploded format.

5. Deploy shoppingcart application on your cluster ( on both managed servers )

6. Configure your webserver to redirect /shoppingcart request to your clustered managed 
     server

     Below is the configuration for apache httpd.conf file 

     <Location /shoppingcart>

     WLLogFile c:/temp/wlproxy.log

     SetHandler weblogic-handler

     WebLogicCluster localhost:40511,localhost:40512

     </Location>


( replace host and port according to your configuration ) 

restart your webserver after above configuration

Testing JDBC Replication


To validate your session replication settings, perform the following steps:

1. Access shoppingcart application

   http://webserver_host:webserevr_port/shoppingcart

   Example : http://localhost:80/shoppingcart

   2. Add several items to your shopping cart.
    3. Return to SQL Plus and inspect the latest contents of the WL_SERVLET_SESSIONS    
        table.

        SQL> select * from WL_SERVLET_SESSIONS;

    A row should exist and the value of the WL_CONTEXT_PATH column should be    
    shoppingcart.war.


    SQL> select * from WL_SERVLET_SESSIONS;

    WL_ID
    --------------------------------------------------------------------------------
    WL_CONTEXT_PATH
     --------------------------------------------------------------------------------
    W WL_CREATE_TIME W W WL_ACCESS_TIME WL_MAX_INACTIVE_INTERVAL
    - -------------- - - -------------- ------------------------
    1775QH9pFJy0MTpGcLTcN6TcVLhqQPm2ngvw0BFpDQnpTjKGWynp
    shoppingcart
    0     1.3553E+12 1 7     1.3553E+12                     3600

4. Use server output log file to determine which server is currently hosting the session. Kill    
    this server.

    in my case, session was create on first managed server, below are the logs

        within welcome.jsp
        within viewShoppingCart servlet
        Your shopping cart includes: 
Item: box of 12 pens (black) price: 4.99
Item: box of 12 pens (blue) price: 4.99
Item: leather adjustable chair price: 139.99
Item: 100 Post-It notes price: 7.99
Item: box of 12 pens (red) price: 4.99

       Once confirmed, I have killed this ( first ) managed server

      
5.  Again I went to same earlier accessed shoppingcart url and added few more items

     This time i have verified the logs of my second managed servers and confirmed further 
      items on same shippingcart was added via that server

      within shoppingcart.jsp
      within shopping cart servlet
      added new element: package of 5 legal pads
      within welcome.jsp
      within shoppingcart.jsp
      within shopping cart servlet
     added new element: corner computer desk
     within welcome.jsp
      within viewShoppingCart servlet
       Your shopping cart includes: 
Item: box of 12 pens (black) price: 4.99
Item: box of 12 pens (blue) price: 4.99
Item: leather adjustable chair price: 139.99
Item: 100 Post-It notes price: 7.99
Item: box of 12 pens (red) price: 4.99
Item: package of 5 legal pads price: 15.99
Item: corner computer desk price: 199.99

   and when I use the application to view your shopping cart again, and confirm that its    
   contents are still the same.



you are done, cheers!!!


My Blog Other Related Posts


In-Memory session replication
Managing User Sessions With Coherence 




Reference :- http://oracle.com






Saturday, 8 December 2012

Oracle Web Cache For Weblogic Server


Oracle Web Cache For Weblogic Server

Oracle Web Cache is the primary caching mechanism provided with Oracle Fusion Middleware. Caching improves the performance, scalability, and availability of Web sites that run on Oracle Fusion Middleware by storing frequently accessed URLs in memory.

By storing frequently accessed URLs in memory, Oracle Web Cache eliminates the need to repeatedly process requests for those URLs on the application Web server and database tiers. Unlike legacy proxies that handle only static objects, Oracle Web Cache caches both static and dynamically generated content from one or more application Web servers. Because Oracle Web Cache can cache more content than legacy proxies, it provides optimal performance by greatly reducing the load on application Web server and database tiers. As an external cache, Oracle Web Cache is also an order of magnitude faster than object caches that run within the application tier.

Because Web Cache is fully compliant with HTTP1.0 and 1.1 specifications, it can accelerate Web sites that are hosted by any standard Web servers, such as Apache Tomcat and Microsoft IIS. In Oracle Fusion Middleware, Oracle Web Cache resides in front of one or more instances of Oracle HTTP Server. Responses to browser based HTTP requests are directed to the Oracle HTTP Server instance and transmitted through Oracle Web Cache. The Oracle Web Cache instance can handle any Web content transmitted with the standard HTTP protocol.



Reference :- http://www.oracle.com/technetwork/middleware/ias/index-089317.html


Quick Start



Technical Information 




Stay tune for my practical informative blog on same ..............

Thursday, 6 December 2012

Weblogic Domain Creation : Create weblogic domain in console mode


Weblogic Domain Creation : Create weblogic domain in console mode

I am going to create a domain in production mode with -

* Admin Server with two managed servers
* One cluster
* Assigned both managed servers to the cluster
* Configured node manager
* Two machines with name "mac1" and "localhost" 
* Then assigned both managed server to machine with name localhost.

Here are the steps - 

Go to your WL_HOME/common/bin and run config.[cmd][.sh] script


C:\Oracle\Middleware\wlserver_12.1\common\bin>config.cmd -mode=console

<----------------------------------------------------------- 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]> [ PRESS ENTER HERE ]


<----------------------------------------------------------- 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]> [ PRESS ENTER HERE ]

<----------------------------------------------------------- Fusion Middleware Configuration Wizard ---------------------------------------------------------->
Application Template Selection:
───────────────────────────────
    Available Templates
    ├────Basic WebLogic Server Domain - 12.1.1.0 [wlserver_12.1]√
    ├────Basic WebLogic SIP Server Domain - 12.1.1.0 [wlserver_12.1] [2]
    ├────WebLogic Advanced Web Services for JAX-RPC Extension - 12.1.1.0 [wlserver_12.1] [3]
    └────WebLogic Advanced Web Services for JAX-WS Extension - 12.1.1.0 [wlserver_12.1] [4]

Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> [ PRESS ENTER HERE TO SELECT DEFAULT IST OPTION]

<----------------------------------------------------------- Fusion Middleware Configuration Wizard ---------------------------------------------------------->
Edit Domain Information:
────────────────────────

    │  Name  │    Value    │
   ─┼────────┼─────────────┼
   1│ *Name: │ base_domain │

Enter value for "Name" OR [Exit][Previous][Next]> MyDomain [ ENTER A NAME FOR YOUR DOMAIN]

<----------------------------------------------------------- Fusion Middleware Configuration Wizard ---------------------------------------------------------->
Edit Domain Information:
────────────────────────

    │  Name  │  Value   │
   ─┼────────┼──────────┼
   1│ *Name: │ MyDomain │

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 ---------------------------------------------------------->

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

    "Target Location" = [Enter new value or use default "C:\Oracle\Middleware\user_projects\domains"]

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

<----------------------------------------------------------- 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.

    "*User password:" = []

Enter new *User password: OR [Exit][Reset][Accept]> ( PASSWORD WILL NOT DISPLAY )
<----------------------------------------------------------- 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.

    "*Confirm user password:" = []
Enter new *Confirm user password: OR [Exit][Reset][Accept]>( PASSWORD WILL NOT DISPLAY )
<----------------------------------------------------------- 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 ---------------------------------------------------------->

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]> 2

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

Java SDK Selection:
───────────────────

 ->1│JRockit SDK 1.6.0_29 @ C:\Oracle\Middleware\jrockit_160_29_D1.2.0-10
   2│Sun SDK 1.6.0_29 @ C:\Oracle\Middleware\jdk160_29
   3│Other Java SDK

Enter index number to select OR [Exit][Previous][Next]> [ PRESS ENTER TO SELECT DEFAULT JROCKIT ]

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

Select Optional Configuration:
──────────────────────────────

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

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

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

Select Optional Configuration:
──────────────────────────────

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

Enter index number to select OR [Exit][Previous][Next]> 2
<----------------------------------------------------------- Fusion Middleware Configuration Wizard ---------------------------------------------------------->

Select Optional Configuration:
──────────────────────────────

   1│Administration Server [√]
   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:
────────────────────────────────────

Each WebLogic Server domain must have one Administration Server. The Administration Server 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]> 1

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

Configure the Administration Server:
────────────────────────────────────

Each WebLogic Server domain must have one Administration Server. The Administration Server 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        │

Enter value for "Name" OR [Exit][Previous][Next]> MyAdminServer
<----------------------------------------------------------- Fusion Middleware Configuration Wizard ---------------------------------------------------------->

Configure the Administration Server:
────────────────────────────────────

Each WebLogic Server domain must have one Administration Server. The Administration Server is used to perform administrative tasks.

    │       Name       │        Value        │
   ─┼──────────────────┼─────────────────────┼
   1│      *Name:      │    MyAdminServer    │
   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"
    5 - Discard Changes

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

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

Configure the Administration Server:
────────────────────────────────────

Each WebLogic Server domain must have one Administration Server. The Administration Server is used to perform administrative tasks.

    │       Name       │        Value        │
   ─┼──────────────────┼─────────────────────┼
   1│      *Name:      │    MyAdminServer    │
   2│ *Listen address: │ All Local Addresses │
   3│   Listen port:   │        7001         │
   4│ SSL listen port: │         N/A         │
   5│   SSL enabled:   │        false        │

Enter value for "Listen address" OR [Exit][Previous][Next]> localhost

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

Configure the Administration Server:
────────────────────────────────────

Each WebLogic Server domain must have one Administration Server. The Administration Server is used to perform administrative tasks.

    │       Name       │     Value     │
   ─┼──────────────────┼───────────────┼
   1│      *Name:      │ MyAdminServer │
   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]> 3

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

Configure the Administration Server:
────────────────────────────────────

Each WebLogic Server domain must have one Administration Server. The Administration Server is used to perform administrative tasks.

    │       Name       │     Value     │
   ─┼──────────────────┼───────────────┼
   1│      *Name:      │ MyAdminServer │
   2│ *Listen address: │   localhost   │
   3│   Listen port:   │     7001      │
   4│ SSL listen port: │      N/A      │
   5│   SSL enabled:   │     false     │

Enter value for "Listen port" OR [Exit][Previous][Next]> 40005

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

Configure the Administration Server:
────────────────────────────────────

Each WebLogic Server domain must have one Administration Server. The Administration Server is used to perform administrative tasks.

    │       Name       │     Value     │
   ─┼──────────────────┼───────────────┼
   1│      *Name:      │ MyAdminServer │
   2│ *Listen address: │   localhost   │
   3│   Listen port:   │     40005     │
   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 ---------------------------------------------------------->

Configure Managed Servers:
──────────────────────────

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.

    │ Name* │ Listen address* │ Listen port │ SSL listen port │ SSL enabled │
   ─┼───────┼─────────────────┼─────────────┼─────────────────┼─────────────┼

Enter name for a new  OR [Exit][Previous][Next]> MS1

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

Configure Managed Servers:
──────────────────────────

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.

    │ Name* │   Listen address*   │ Listen port │ SSL listen port │ SSL enabled │
   ─┼───────┼─────────────────────┼─────────────┼─────────────────┼─────────────┼
 1->│  MS1  │ All Local Addresses │    7003     │       N/A       │    false    │

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

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

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

Configure Managed Servers:
──────────────────────────
Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.

    │ Name* │   Listen address*   │ Listen port │ SSL listen port │ SSL enabled │
   ─┼───────┼─────────────────────┼─────────────┼─────────────────┼─────────────┼
 1->│  MS1  │ All Local Addresses │    7003     │       N/A       │    false    │

Modify "Listen address" OR [Exit][Previous][Next]> localhost
<----------------------------------------------------------- Fusion Middleware Configuration Wizard ---------------------------------------------------------->

Configure Managed Servers:
──────────────────────────

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.

    │ Name* │ Listen address* │ Listen port │ SSL listen port │ SSL enabled │
   ─┼───────┼─────────────────┼─────────────┼─────────────────┼─────────────┼
 1->│  MS1  │    localhost    │    7003     │       N/A       │    false    │

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

Enter option number to select OR [Exit][Previous][Next]> 3
<----------------------------------------------------------- Fusion Middleware Configuration Wizard ---------------------------------------------------------->

Configure Managed Servers:
──────────────────────────

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.

    │ Name* │ Listen address* │ Listen port │ SSL listen port │ SSL enabled │
   ─┼───────┼─────────────────┼─────────────┼─────────────────┼─────────────┼
 1->│  MS1  │    localhost    │    7003     │       N/A       │    false    │

Modify "Listen port" OR [Exit][Previous][Next]> 40006

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

Configure Managed Servers:
──────────────────────────

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.

    │ Name* │ Listen address* │ Listen port │ SSL listen port │ SSL enabled │
   ─┼───────┼─────────────────┼─────────────┼─────────────────┼─────────────┼
 1->│  MS1  │    localhost    │    40006    │       N/A       │    false    │

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

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

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

Configure Managed Servers:
──────────────────────────

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.

    │ Name* │ Listen address* │ Listen port │ SSL listen port │ SSL enabled │
   ─┼───────┼─────────────────┼─────────────┼─────────────────┼─────────────┼
 1->│  MS1  │    localhost    │    40006    │       N/A       │    false    │

Use above value or select another option:
    1 - Add
    2 - Modify
    3 - Delete
    4 - Discard Changes

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

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

Configure Managed Servers:
──────────────────────────

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.

    │ Name* │ Listen address* │ Listen port │ SSL listen port │ SSL enabled │
   ─┼───────┼─────────────────┼─────────────┼─────────────────┼─────────────┼
 1->│  MS1  │    localhost    │    40006    │       N/A       │    false    │

Enter name for a new  OR [Exit][Previous][Next]> MS2
<----------------------------------------------------------- Fusion Middleware Configuration Wizard ---------------------------------------------------------->

Configure Managed Servers:
──────────────────────────

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.

    │ Name* │   Listen address*   │ Listen port │ SSL listen port │ SSL enabled │
   ─┼───────┼─────────────────────┼─────────────┼─────────────────┼─────────────┼
   1│  MS1  │      localhost      │    40006    │       N/A       │    false    │
 2->│  MS2  │ All Local Addresses │    7003     │       N/A       │    false    │

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

Enter option number to select OR [Exit][Previous][Next]> 2
<----------------------------------------------------------- Fusion Middleware Configuration Wizard ---------------------------------------------------------->

Configure Managed Servers:
──────────────────────────

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.

    │ Name* │   Listen address*   │ Listen port │ SSL listen port │ SSL enabled │
   ─┼───────┼─────────────────────┼─────────────┼─────────────────┼─────────────┼
   1│  MS1  │      localhost      │    40006    │       N/A       │    false    │
 2->│  MS2  │ All Local Addresses │    7003     │       N/A       │    false    │

Modify "Listen address" OR [Exit][Previous][Next]> localhost

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

Configure Managed Servers:
──────────────────────────

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.

    │ Name* │ Listen address* │ Listen port │ SSL listen port │ SSL enabled │
   ─┼───────┼─────────────────┼─────────────┼─────────────────┼─────────────┼
   1│  MS1  │    localhost    │    40006    │       N/A       │    false    │
 2->│  MS2  │    localhost    │    7003     │       N/A       │    false    │

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

Enter option number to select OR [Exit][Previous][Next]> 3
<----------------------------------------------------------- Fusion Middleware Configuration Wizard ---------------------------------------------------------->

Configure Managed Servers:
──────────────────────────

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.

    │ Name* │ Listen address* │ Listen port │ SSL listen port │ SSL enabled │
   ─┼───────┼─────────────────┼─────────────┼─────────────────┼─────────────┼
   1│  MS1  │    localhost    │    40006    │       N/A       │    false    │
 2->│  MS2  │    localhost    │    7003     │       N/A       │    false    │

Modify "Listen port" OR [Exit][Previous][Next]> 40007

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

Configure Managed Servers:
──────────────────────────

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.

    │ Name* │ Listen address* │ Listen port │ SSL listen port │ SSL enabled │
   ─┼───────┼─────────────────┼─────────────┼─────────────────┼─────────────┼
   1│  MS1  │    localhost    │    40006    │       N/A       │    false    │
 2->│  MS2  │    localhost    │    40007    │       N/A       │    false    │

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

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

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

Configure Clusters:
───────────────────

Add or delete configuration information for clusters. A cluster consists of multiple server instances working together to provide increased scalability and
reliability.

    │ Name* │ Cluster messaging mode │ Multicast address │ Multicast port │ Cluster address │
   ─┼───────┼────────────────────────┼───────────────────┼────────────────┼─────────────────┼

Enter name for a new Cluster OR [Exit][Previous][Next]> MyCluster

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

Configure Clusters:
───────────────────

Add or delete configuration information for clusters. A cluster consists of multiple server instances working together to provide increased scalability and
reliability.

    │   Name*   │ Cluster messaging mode │ Multicast address │ Multicast port │ Cluster address │
   ─┼───────────┼────────────────────────┼───────────────────┼────────────────┼─────────────────┼
 1->│ MyCluster │        unicast         │        N/A        │      N/A       │                 │

Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "Cluster messaging mode"
    3 - Modify "Cluster address"
    4 - Done

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

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

Assign Servers to Clusters:
───────────────────────────

Assign Managed Servers to a cluster in the domain.

    Cluster
    └────MyCluster [1]


Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 1
<----------------------------------------------------------- Fusion Middleware Configuration Wizard ---------------------------------------------------------->

Assign Servers to Clusters:
───────────────────────────

Assign Managed Servers to a cluster in the domain.

    *Select WebLogic Servers and assign them to a cluster. MyCluster

   1│MS1
   2│MS2

Use above value or select another option:
    1 - Select
    2 - Select All

Enter option number to select OR [Exit][Discard][Accept]> 2
<----------------------------------------------------------- Fusion Middleware Configuration Wizard ---------------------------------------------------------->

Assign Servers to Clusters:
───────────────────────────

Assign Managed Servers to a cluster in the domain.

    *Select WebLogic Servers and assign them to a cluster. MyCluster

 ->1│MS1
 ->2│MS2

Use above value or select another option:
    1 - Unselect
    2 - Unselect All
    3 - Reset

Enter option number to select OR [Exit][Discard][Accept]> next

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

Assign Servers to Clusters:
───────────────────────────

Assign Managed Servers to a cluster in the domain.

    *Select WebLogic Servers and assign them to a cluster. MyCluster

 ->1│MS1
 ->2│MS2

Use above value or select another option:
    1 - Unselect
    2 - Unselect All
    3 - Reset


Enter option number to select OR [Exit][Discard][Accept]> Accept

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

Assign Servers to Clusters:
───────────────────────────

Assign Managed Servers to a cluster in the domain.

    Cluster
    └────MyCluster [1]
         ├────MS1
         └────MS2

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

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

Configure Machines:
───────────────────

Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start
remote servers.

    │ Name* │ Node manager listen address │ Node manager listen port │
   ─┼───────┼─────────────────────────────┼──────────────────────────┼

Enter name for a new Machine OR [Exit][Previous][Next]> localhost
<----------------------------------------------------------- Fusion Middleware Configuration Wizard ---------------------------------------------------------->

Configure Machines:
───────────────────

Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start
remote servers.

    │   Name*   │ Node manager listen address │ Node manager listen port │
   ─┼───────────┼─────────────────────────────┼──────────────────────────┼
 1->│ localhost │          localhost          │           5556           │

Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "Node manager listen address"
    3 - Modify "Node manager listen port"
    4 - Done

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

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

Configure Unix Machines:
────────────────────────

Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start
remote servers.

    │ Name │
   ─┼──────┼

Enter name for a new Unix Machine OR [Exit][Previous][Next]> mac1
=

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

Configure Unix Machines:
────────────────────────

Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start
remote servers.

    │             Name             │   Value   │
   ─┼──────────────────────────────┼───────────┼
   1│            *Name:            │   mac1    │
   2│    Post bind GID enabled:    │   false   │
   3│        Post bind GID:        │  nobody   │
   4│    Post bind UID enabled:    │   false   │
   5│        Post bind UID:        │  nobody   │
   6│ Node manager listen address: │ localhost │
   7│  Node manager listen port:   │   5556    │

Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "Post bind GID enabled"
    3 - Modify "Post bind GID"
    4 - Modify "Post bind UID enabled"
    5 - Modify "Post bind UID"
    6 - Modify "Node manager listen address"
    7 - Modify "Node manager listen port"

Enter option number to select OR [Exit][Reset][Accept]> accept

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

Configure Unix Machines:
────────────────────────

Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start
remote servers.

    │ Name │
   ─┼──────┼
 1->│ mac1 │

Use above value or select another option:
    1 - Add Unix Machine
    2 - Modify Unix Machine
    3 - Delete Unix Machine
    4 - Discard Changes

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

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

Assign Servers to Machines:
───────────────────────────

Assign each WebLogic Server instance to the machine on which it runs.

    Machine
    ├────Machine
    │    └────localhost [1.1]
    └────Unix Machine
         └────mac1 [2.1]

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

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

Assign Servers to Machines:
───────────────────────────

Assign each WebLogic Server instance to the machine on which it runs.

    *Select WebLogic Servers and assign them to a machine. localhost

   1│MyAdminServer
   2│MS1
   3│MS2

Use above value or select another option:
    1 - Select
    2 - Select All

Enter option number to select OR [Exit][Discard][Accept]> 1

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

Assign Servers to Machines:
───────────────────────────

Assign each WebLogic Server instance to the machine on which it runs.

    *Select WebLogic Servers and assign them to a machine. localhost

   1│MyAdminServer
   2│MS1
   3│MS2

Select( Enter index numbers and/or index ranges separated by commas. For example, 1, 4-5 ) OR [Exit][Discard][Accept]> 2-3

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

Assign Servers to Machines:
───────────────────────────

Assign each WebLogic Server instance to the machine on which it runs.

    *Select WebLogic Servers and assign them to a machine. localhost

   1│MyAdminServer
 ->2│MS1
 ->3│MS2

Use above value or select another option:
    1 - Select
    2 - Unselect
    3 - Select All
    4 - Unselect All
    5 - Reset

Enter option number to select OR [Exit][Discard][Accept]> accept

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

Assign Servers to Machines:
───────────────────────────

Assign each WebLogic Server instance to the machine on which it runs.

    Machine
    ├────Machine
    │    └────localhost [1.1]
    │         ├────MS1
    │         └────MS2
    └────Unix Machine
         └────mac1 [2.1]

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

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

Creating Domain...

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


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