WebLogic Configuring Domain Using Templates
-
Upload
doitnofear -
Category
Documents
-
view
19 -
download
1
description
Transcript of WebLogic Configuring Domain Using Templates
-
5/28/2018 WebLogic Configuring Domain Using Templates
1/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com |
A Hands-On Guide for
Configuring Domain using Templates
Description:BISP is committed to provide BEST learning material to the beginners and advance lear
In the same series, we have prepared a complete end-to end Hands-on Guide for Web
Administration. The document focuses on how to Configuring Domain using Templates.Joi
professional training program and learn from experts.
History:Version Description Change Author Publish Date0.1 Initial Draft Kuldeep Mishra 12th Aug 20120.1 Review#1 Amit Sharma 18thAug 2012
-
5/28/2018 WebLogic Configuring Domain Using Templates
2/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com |
ContentsStep 1: What is Domain Template ........................................................................................................................................
Step 2: Invoke config_builder.cmd........................................................................................................................................
Step 3: Create a New Template ............................................................................................................................................
Step 4: Select a Template Domain Source ............................................................................................................................
Step 5: Describe the Template ..............................................................................................................................................
Step 6: Specify Template Jar Name and Location .................................................................................................................
Step 7: Configure Administrator User Name and Password ................................................................................................
Step 8: Specify Start Menu Entries ........................................................................................................................................
Step 9: Prepare Scripts and Files with Replacement Variables ............................................................................................
Step 10: Review WebLogic Domain Template ......................................................................................................................
Step 11: Creating Template ...................................................................................................................................................
Creating a New WebLogic Domain from the Template ...................................................................................................Step1: Invoke config.cmd ..................................................................................................................................................
Step 2: Create a new WebLogic domain ...........................................................................................................................
Step 3: Select Domain Source ...........................................................................................................................................
Step 4: Specify Domain Name and Location .....................................................................................................................
Step 5:Configure Administration Username and Password ............................................................................................
Step 6: Configure Server Start Mode and JDK ...................................................................................................................
Step 7: Configure the Administration Server section.........................................................................................................
Step 8: Configure Managed Server. ..................................................................................................................................
Step 9: Configure Cluster ..................................................................................................................................................
Step 10: Configure RDBMS Security Store Database. ......................................................................................................
Step 11: Configuration Summary ......................................................................................................................................
Step 12: Creating Domain .................................................................................................................................................
-
5/28/2018 WebLogic Configuring Domain Using Templates
3/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com |
Step 1: What is Domain Template
Domain templates are used to create (or extend weblogic server domains) with pre-
configured resources such as JDBC, security realms, external libraries, log4j components. S
when we create new domain we do not need to go to server console and create resources
such as data source, etc. While creating domain by using template we will have those
resources configured already for us.
Step 2: Invoke config_builder.cmd
Go to Start Menu->All programs->Oracle Weblogic -> WebLogic Server 11gR1->Tools-
>Domain Template Builder (or)
Go to command prompt andStart the Domain Template Builder:
Oracle\Middleware\wlserver_10.3\common\bin\config_builder.cmd
-
5/28/2018 WebLogic Configuring Domain Using Templates
4/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com |
Step 3: Create a New TemplateSelect create a domain template. If you are creating template for the first time. Select create
extension template if you are extending a existing template. Here we go for create a domain templ
Step 4: Select a Template Domain Source
Click the Select a Templatetab. Review and retain the default values.
-
5/28/2018 WebLogic Configuring Domain Using Templates
5/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com |
Step 5: Describe the Template
Enter the name as My Templateand the description as shown in the screen. Then,
click Next.
Step 6: Specify Template Jar Name and Location
Enter the Template Jar Name and Location. Then, click Next.
-
5/28/2018 WebLogic Configuring Domain Using Templates
6/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com |
Step 6 B): Add Files
In the Add Files step, click Next.
Step 6 C): Add SQL Scripts
In the Add SQL Scripts step, click Next.
-
5/28/2018 WebLogic Configuring Domain Using Templates
7/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com |
Step 7: Configure the Administrator Server
In the Configure the Administration Server step, provide the following values as shown in
below image and then click Next.
Step 7: Configure Administrator User Name and Password
In the Configure Administration Username and Password step, provide the following valu
as shown in below image. and then click Next.
-
5/28/2018 WebLogic Configuring Domain Using Templates
8/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com |
Step 8: Specify Start Menu Entries
In the Specify Start Menu Entries step, click Next.
Step 9: Prepare Scripts and Files with Replacement VariablesIn the Prepare Scripts and Files with Replacement Variables step, click Next.
-
5/28/2018 WebLogic Configuring Domain Using Templates
9/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com |
Step 10: Review WebLogic Domain Template
In the Review WebLogic Domain Template step, click Create.
Step 11: Creating Template
Notice that the new template gets created. After it completes, click Done. We can
navigate to the C:/oracle/Middleware/user_templateslocation to view the newly creat
template.
-
5/28/2018 WebLogic Configuring Domain Using Templates
10/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com | P
Creating a New WebLogic Domain from the Template
To create a new WebLogic Server domain from the domain template just created, perfor
the
following steps:
Step1: Invoke config.cmd
Navigate to /oracle /Middleware/wlserver_10.3/common/bin / config.cmd(windows) or config.sh(Unix) and run the following file to start the Oracle WebLogicConfiguration Wizard.
Then enter this command to run the configuration wizard:
./config.cmd(windows) or ./config.sh(unix)
-
5/28/2018 WebLogic Configuring Domain Using Templates
11/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com | P
Step 2: Create a new WebLogic domain
Select the Create a new WebLogic domain option and click Next.
Step 3: Select Domain Source
In the Select Domain Source step, select the Base this domain on an existing template
option and click Browse.
-
5/28/2018 WebLogic Configuring Domain Using Templates
12/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com | P
Select my.template_10.3.3.0.jar from the /oracle/Middleware/user_templates
location and click OK. Then, click Next.
-
5/28/2018 WebLogic Configuring Domain Using Templates
13/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com | P
Step 4: Specify Domain Name and Location
In the Specify Domain Name and Location step, enter the domain name as Mydomainand it's
location then click Next.
Step 5:Configure Administration Username and Password
In the Configure Administration Username and Password step, provide the following
values and then click Next.
-
5/28/2018 WebLogic Configuring Domain Using Templates
14/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com | P
Step 6: Configure Server Start Mode and JDK
In the "Configure Server Start Mode and JDK" window, under the WebLogic Domain
Startup Mode, select the Production Modeoption.
SelectAvailable JDKsand under it select the Sun JDK. or select JRockit. We may have more
than one JDK. Then click Next.
Select Optional Configuration
Create Domain with one Administration Server and two Managed Server Instance in
Cluster. Here to create new Domain with one Administration Server and two Managed Server.
-
5/28/2018 WebLogic Configuring Domain Using Templates
15/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com | P
Step 7: Configure the Administration Server section
In the Configure the Administration Server section, retain the default values and then clickNext.
Step 8: Configure Managed Server.
In the Configure Managed Servers step, clickAddto append the two managed servers with
default values.
Here we see two managed server and then click Next.
-
5/28/2018 WebLogic Configuring Domain Using Templates
16/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com | P
Step 9: Configure Cluster
In the Configure Clusters window, just click Next.
-
5/28/2018 WebLogic Configuring Domain Using Templates
17/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com | P
Step 10: Configure Machines
In the Configure Machines step, click Next.
Step 10: Configure RDBMS Security Store Database.
In the Configure RDBMS Security Store Database, click Nex.
-
5/28/2018 WebLogic Configuring Domain Using Templates
18/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com | P
Step 11:Configuration Summary
In the Configuration Summary window, click Create.
-
5/28/2018 WebLogic Configuring Domain Using Templates
19/19
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com | P
Step 12:Creating Domain
In the Creating Domain window, after the progress bar reaches 100%, click Done.
A WebLogic Server domain based on the domain template has now been created.
Navigate to \Oracle\Middleware\user_projects\domains and view the content of the
newly created domain.