Tuesday, July 28, 2009

Weblogic-Create a domain using Domain Template builder

Domain Template builder uses domain and extension templates that contain the main attributes and files required for building or extending a domain. It is a java application which allows you t o create custome domain and template.


To start domain templater builder we can do either of the followin approach

Go to

Start Menu->All programs->weblogic10gR3->Tools->Domain Template Builder

Or go to the following direcory in command prompt

c:\bea\wlserver_10.3\common\bin

and enter following command

config_builder.cmd



so once you will do these steps you will get the following gui screen




so As you can see in the screen you have two option

1.Domain template

A domain template is used to create a new domain.It can be created from existing template or from a domain.It defines full sources of domains within a domain.

2.Extension template

Extension template is used to extend an existing template.

So in our case we will choose to create a domain template.

Now choose a domain



Then describe the template.



If you want to add some more file choose the option otherwise left default page and say next.



If you want to use database with this domain provide script for each database otherwise left it to default.



Say next and provide the ip address in the listen address.Verify the port number also.




Enter your password again.



Let the next window be set to default(do not specify any entries to start menu) and say next

Review the setting and make changes if you want to do.






Check for the template jar name and the locations and say create.



So completion window will occur then say done and review the jar file created.



Now you have the jar file you can again configure a new domain using the pack unpack command as discussed earlier.

Creating extension template is almost the same only you are not asked toconfigure the Administration Server its authorities as these domain settings are already defined in the domain to be extended.

No comments: