You are on page 1of 16

http://www.themiddlewareshop.

com

WebLogic Server 11g R1 (10.3.5)


The Essentials Course

Practical - Technical - Unique

Domain Creation (Console Mode)

Student Manual
print-on-demand

no annual renewal fees

WebLogic 11g R1 Domain Creation (Console Mode)


Thistomaterial
is copyright
licensed
for theBANGALORE,
sole use by Karnataka
Purchaser.
Licensed
Ashwin Gawli
of No. 293,and
8th is
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

Published by TheMiddlewareShop.com
Courseware Release Version 1.0

2012 by TheMiddlewareShop.com
Notice of Rights
No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or
computer language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual, or otherwise, without the
prior written permission of TheMiddlewareShop.com except under the terms of a courseware site license agreement.

Trademark Notice
WebSphere, WebSphere Application Server, IBM HTTP Server, WebSphere Plug-in, IBM, are trademarks of IBM, Corporation.
Throughout this courseware title, trademark names are used. Rather than just put a trademark symbol in each occurrence of a
trademarked name, we state we are using the names only in an editorial fashion and to the benefit of the trademark owner with no
intention of infringement of the trademark.

Notice of Liability
The information in this courseware title is distributed on an as is basis, without warranty. While every precaution has been taken in the
preparation of this course, neither the authors nor TheMiddlewareShop.com shall have any liability to any person or entity with respect
to any loss or damage caused or alleged to be caused directly or indirectly by the instructions contained in this book or by the computer
software and hardware products described in it.

Disclaimer
We make a sincere effort to ensure the accuracy of the material described herein; however, TheMiddlewareShop.com makes no
warranty, expressed or implied, with respect to the quality, correctness, reliability, accuracy, or freedom from error of this document or
the products it describes. Data used in examples and sample data files are intended to be fictional. Any resemblance to real persons or
companies is entirely coincidental.

Terms and conditions


Sample versions: If the version of courseware that you are viewing is marked as NOT FOR TRAINING, SAMPLE, or similar, then it is
made available for content and style review only and cannot be used in any part of a training course. Sample versions may be shared
but cannot be re-sold to a third party. For licensed users: This document may only be used under the terms of the license agreement
from TheMiddlewareShop.com. TheMiddlewareShop.com reserves the right to alter the licensing conditions at any time, without prior
notice.
TheMiddlewareShop.com
21 Northolt Avenue
South Ruislip, Hillingdon
HA4 6SS
United Kingdom

WebLogic 11g R1 Domain Creation (Console Mode)


Thistomaterial
is copyright
licensed
for theBANGALORE,
sole use by Karnataka
Purchaser.
Licensed
Ashwin Gawli
of No. 293,and
8th is
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

Oracle WebLogic Server 11g R1 (10.3.5)


Creating a Domain in Console Mode
DOMAIN CREATION-CONSOLE MODE-HOWTO .................................................................................................. 4
STEPS INVOLVED............................................................................................................................................................. 4

WebLogic 11g R1 Domain Creation (Console Mode)


Thistomaterial
is copyright
licensed
for theBANGALORE,
sole use by Karnataka
Purchaser.
Licensed
Ashwin Gawli
of No. 293,and
8th is
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

Domain Creation-Console Mode-HowTo


This document shows how a WebLogic domain can be created by running Configuration
Wizard in console mode.

Steps Involved
Run config.sh from command prompt (or through a telnet session if domain needs to be
created in a remote machine)
In the following example you can see that the configuration wizard automatically defaults
to the console mode. The script runs in interactive mode and so provide information
where required as shown in the example below.
/opt/software/Oracle/Middleware/wlserver_10.3/common/bin$./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]> 1

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

WebLogic 11g R1 Domain Creation (Console Mode)


material
and
is licensed
for BANGALORE,
the sole use Karnataka
by Purchaser.
Licensed This
to Ashwin
Gawliisofcopyright
No. 293, 8th
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

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

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


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

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

Enter number exactly as it appears in brackets to toggle selection OR


[Exit][Previous][Next]>

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


Edit Domain Information:
-----------------------| Name |
Value
|
_|________|_____________|
1| *Name: | base_domain |

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

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


Edit Domain Information:
-----------------------| Name |
Value
|
_|________|____________________|
1| *Name: | multiMachineDomain |
Use above value or select another option:
1 - Modify "Name"
2 - Discard Changes

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

WebLogic 11g R1 Domain Creation (Console Mode)


material
and
is licensed
for BANGALORE,
the sole use Karnataka
by Purchaser.
Licensed This
to Ashwin
Gawliisofcopyright
No. 293, 8th
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

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


Select the target domain directory for this domain:
--------------------------------------------------"Target Location" = [Enter new value or use default
"/opt/software/Oracle/Middleware/user_projects/domains"]

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


/opt/software/wlsDomains

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

WebLogic 11g R1 Domain Creation (Console Mode)


material
and
is licensed
for BANGALORE,
the sole use Karnataka
by Purchaser.
Licensed This
to Ashwin
Gawliisofcopyright
No. 293, 8th
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

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

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

WebLogic 11g R1 Domain Creation (Console Mode)


material
and
is licensed
for BANGALORE,
the sole use Karnataka
by Purchaser.
Licensed This
to Ashwin
Gawliisofcopyright
No. 293, 8th
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

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|N/A SDK 1.6.0_23 @ /usr/lib/jvm/java-6-openjdk
2|Other Java SDK
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:
------------------------------

WebLogic 11g R1 Domain Creation (Console Mode)


material
and
is licensed
for BANGALORE,
the sole use Karnataka
by Purchaser.
Licensed This
to Ashwin
Gawliisofcopyright
No. 293, 8th
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

1|Administration Server [ ]
2|Managed Servers, Clusters and Machines [x]
3|RDBMS Security Store [ ]
Enter index number to select OR [Exit][Previous][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]> managed1_multiMachineDomain

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

Name*

|Listen address* |Listen...|SSL listen...|SSL

_|______________________|________________|_________|_____________|_________|
1->|managed1_multiMachi...|All Local Add...| 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]> 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.

WebLogic 11g R1 Domain Creation (Console Mode)


material
and
is licensed
for BANGALORE,
the sole use Karnataka
by Purchaser.
Licensed This
to Ashwin
Gawliisofcopyright
No. 293, 8th
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

|
en...|

Name*

|Listen address* |Listen...|SSL listen...|SSL

_|______________________|________________|_________|_____________|_________|
1->|managed1_multiMachi...|All Local Add...| 7003
|
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]> 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...|Multicast add...|Multicast ...|Cluster
add...|
_|_____|____________________|________________|_____________|______________|

Enter name for a new Cluster 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]> Next

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


Configure Unix Machines:
-----------------------Add or delete machines. A machine hosts one or more WebLogic Server

WebLogic 11g R1 Domain Creation (Console Mode)


material
and
is licensed
for BANGALORE,
the sole use Karnataka
by Purchaser.
Licensed This
to Ashwin
Gawliisofcopyright
No. 293, 8th
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

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]> steve-H67NUSB3-B3

<----------------- 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:
| steve-H67N-USB3-B3 |
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->| steve-H67N-USB3-B3 |
Use above value or select another option:
1 - Add Unix Machine
2 - Modify Unix Machine

WebLogic 11g R1 Domain Creation (Console Mode)


material
and
is licensed
for BANGALORE,
the sole use Karnataka
by Purchaser.
Licensed This
to Ashwin
Gawliisofcopyright
No. 293, 8th
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

3 - Delete Unix Machine


4 - Discard Changes

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

<----------------- 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->| steve-H67N-USB3-B3 |

Enter name for a new Unix Machine OR [Exit][Previous][Next]> arun-desktop

<------------------- 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:
| arun-desktop |
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

WebLogic 11g R1 Domain Creation (Console Mode)


material
and
is licensed
for BANGALORE,
the sole use Karnataka
by Purchaser.
Licensed This
to Ashwin
Gawliisofcopyright
No. 293, 8th
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

<----------------- 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| steve-H67N-USB3-B3 |
2->|
arun-desktop
|
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
|_____Unix Machine
|_____steve-H67N-USB3-B3 [1.1]
|_____arun-desktop [1.2]

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. steve-H67N-USB3B3
1|AdminServer
2|managed1_multiMachineDomain
Use above value or select another option:

WebLogic 11g R1 Domain Creation (Console Mode)


material
and
is licensed
for BANGALORE,
the sole use Karnataka
by Purchaser.
Licensed This
to Ashwin
Gawliisofcopyright
No. 293, 8th
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

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. steve-H67N-USB3B3
1|AdminServer
2|managed1_multiMachineDomain

Select( Enter index numbers and/or index ranges separated by commas. For
example, 1, 4-5 ) 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. steve-H67N-USB3B3
->1|AdminServer
2|managed1_multiMachineDomain
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

WebLogic 11g R1 Domain Creation (Console Mode)


material
and
is licensed
for BANGALORE,
the sole use Karnataka
by Purchaser.
Licensed This
to Ashwin
Gawliisofcopyright
No. 293, 8th
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

|_____Unix Machine
|_____steve-H67N-USB3-B3 [1.1]
|
|_____AdminServer
|_____arun-desktop [1.2]

Enter number exactly as it appears in brackets to toggle selection OR


[Exit][Previous][Next]> 1.2

<----------------- 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. arun-desktop
1|managed1_multiMachineDomain
Use above value or select another option:
1 - Select
2 - Select All
3 - Unselect 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. arun-desktop
1|managed1_multiMachineDomain

Select( Enter index numbers and/or index ranges separated by commas. For
example, 1, 4-5 ) 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. arun-desktop
->1|managed1_multiMachineDomain
Use above value or select another option:
1 - Unselect

WebLogic 11g R1 Domain Creation (Console Mode)


material
and
is licensed
for BANGALORE,
the sole use Karnataka
by Purchaser.
Licensed This
to Ashwin
Gawliisofcopyright
No. 293, 8th
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

2 - Select All
3 - Unselect All
4 - 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
|_____Unix Machine
|_____steve-H67N-USB3-B3 [1.1]
|
|_____AdminServer
|_____arun-desktop [1.2]
|_____managed1_multiMachineDomain

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

/opt/software/Oracle/Middleware/wlserver_10.3/common/bin$

WebLogic 11g R1 Domain Creation (Console Mode)


material
and
is licensed
for BANGALORE,
the sole use Karnataka
by Purchaser.
Licensed This
to Ashwin
Gawliisofcopyright
No. 293, 8th
cross,
KPC Layout,,
560035, India. Email address:
ashwingawli@gmail.com

You might also like