You are on page 1of 17

A Hands-On Guide for Creating WebLogic Server Domain

Description: BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Guide for WebLogic Administration. The document focuses on how to create WebLogic Server Domain. Join our professional training program and learn from experts.

History: Version 0.1 0.1

Description Change Initial Draft Review#1

Author Kuldeep Mishra Amit Sharma

Publish Date 12th Aug 2012 18th Aug 2012

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 1

Creating WebLogic Server Domain


Contents
Step 1: Invoking Configuration Wizard ......................................................................................................................................... 3 Step 2: Select Domain Source ..................................................................................................................................................... 3 Step 3: Specify Domain Name and Location Enter the name and location for the domain ................................................... 4 Step 7: Configure the Administration Server............................................................................................................................. 7 Step 9: Creating Domain- ............................................................................................................................................................ 9 Step 10: Select Optional Configuration ...................................................................................................................................... 9 Step 11: Configure the Administration Server. ....................................................................................................................... 10 Step 14: Configure Cluster ....................................................................................................................................................... 12 Step 15: Configure Machine . ................................................................................................................................................... 13 Step 16 : Configure RDBMS Security Store Database. ............................................................................................................. 14 Step 17 : Review WebLogic Domain . ....................................................................................................................................... 14 Step 18 : Creating Domain......................................................................................................................................................... 15 Step 19 : Start Weblogic.cmd. ................................................................................................................................................... 15 Step 20 : Start Weblogic.cmd. ................................................................................................................................................... 16 Step 21 : To start the Web console ........................................................................................................................................... 16 Step 22 : The home page for the Web console is displayed. .................................................................................................. 17

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 2

Step 1: Invoking Configuration Wizard


For Unix/Windows start configuration wizard using Oracle/ Middleware/ wlserver_10.3/common/ bin/ config.cmd (windows) or config.sh(Unix). Double Click on

config.cmd (windows) or config.sh(Unix). Create or Extend Domain- If we wish to Create new WebLogic Domain or Extend an Existing
WebLogic Domain.

Click Next.

Step 2: Select Domain Source

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 3

Click Next. Step 3: Specify Domain Name and Location Enter the name and location for the domain

Click Next

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 4

Step 4: Configure Administrator Define UserName and Password for WebLogic Domain and add/grant Administrator
Role to that User. Using the administrator username and password, you can log in to the Administration Console to manage the Oracle WebLogic Server domain

Click Next Step 5: Select JDK & Start Mode. Define Mode in which you wish to start your domain and JDK (Sun, JRockit or any other JDK) Production Mode- Domain is more secure, You need username password to start domain or deploy application. Development Mode- Not very secure, You can Autodeploy application and no need to provide username/password to start Domain.

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 5

Click Next Step 6: Customize your domain Create simple domain with Just one Administration Server (You can deploy your application
in Administration Server but this is not recommended in Production Instance). To create Advanced Domain (one Administration Server and two Managed Server and Cluster)go to step 10)

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 6

Click Next. Step 7: Configure the Administration Server. Here we write Name , select Listen address, Listen port, SSL Listen port.

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 7

Click Next.

Step 8: Configuration Summary.

Click Create. www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 8

Finally, If we are installing on Windows, you can select to Start Admin Server"

Step 9: Creating Domain-

Click Done to finish Domain Installation. Go to Start WebLogic and access Domain Console from browser.

Step 10: Select Optional Configuration Create Domain with one Administration Server and two Managed Server Instance in Cluster . Here are to create new Domain with one Administration Server and two Managed Server.

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 9

Click Next. Step 11: Configure the Administration Server. Name AdminServer, Listen Address All IP address on machine, Listen port 7003 ,SSL Listen Port 7004.

Click Next.
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 10

Step 12: Configure Managed Server

Click Add. Step 13: Configure Managed Server. 1) Name WL_MS_1, Listen Address All Local address, Listen port 7005 ,SSL Listen Port 7006. 2) Name WL_MS_2, Listen Address All Local address, Listen port 7503 ,SSL Listen Port 7004.

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 11

Click Next. Step 14: Configure Cluster


Click on Add to create cluster and add Managed Server in Cluster. If we have NOT defined any managed server in previous screen, you will NOT get this screen. Define cluster with Cluster Name, Multicast Address, Port and address.

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 12

Click Next. Step 15: Configure Machine .


Use this screen if we have more than one machine in our system. In our configuration Administration Server and all Managed Server are on single machine.

Click Next.

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 13

Step 16 : Configure RDBMS Security Store Database.

In the Configure RDBMS Security Store Database step, retain the default values .

Click Next.

Step 17: Review WebLogic Domain .


In the Configure RDBMS Security Store Database step, retain the default values.

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 14

Click Next.

Step 18 : Creating Domain.


In the Creating Domain screen, mark the checkbox Start Admin Server .

Click Done.

Step 19 : Start Weblogic.cmd.


It then starts the WebLogic Server instance in command prompt. Supply the user name and password when asked for.

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 15

Step 20 : Start Weblogic.cmd.


We can see the WebLogic Server instance in RUNNING mode.

Step 21 : To start the Web console Open the browser, enter http://localhost:7001/console and click Go. Default Administration Port is 7001 so use port as 7001 (else use port we entered while creating WebLogic Domain) http://<servername>.domain:7001/console or http://localhost:7001/console (If we are accessing from server directly) Login to WebLogic Admin Console supply the user name and password created during WebLogic Domain Creation.

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 16

Step 22 : The home page for the Web console is displayed.

www.bispsolutions.com

www.hyperionguru.com

weblogicexperts.wordpress.com|

Page 17

You might also like