You must create your WebLogic domain and also manually
configure a time-out setting for the domain. You can optionally
create a boot.properties file.
To create a WebLogic domain:Log
on to a computer on which you installed WebLogic Server as a user
with administrator privileges.
From a command prompt, navigate to the directory [appserver root]/common/bin
and start the WebLogic Configuration Wizard by entering the following
command:
On the Create or Extend a Configuration screen, select Create a new WebLogic domain and
click Next.
Select Generate a domain configured automatically to support the following products and
click Next.
Enter a domain name.
Note: The domain should
be created with the same name on all cluster nodes. All computers
in the cluster must use the same domain name. For this document,
this defined domain name appears as [domain name].
Enter a user name and password, confirm the password by retyping
it, and then click Next.
In the left pane, select Production Mode.
In the Select Optional Configuration Screen, do not select
any option.
In the right pane, select Available JDKs and the appropriate
platform, and then click Next:
In Customize Environment and Services Settings, select No and
click Next.
On the Configuration Summary screen, click Create.
Open a text editor and enter the following lines:
username=[username from weblogic install]
password=[password from weblogic install]
Save the text file as [WL_HOME]/user_projects/domains/[domain name]/servers/AdminServer/security/boot.properties.
Note: For more information,
go to this site:
On the Creating Domain screen, when the configuration creation
is 100% complete, click Done.
Repeat steps 1 to 12 for each additional computer in the
cluster.
Configure transaction time-out settings for the clusterOn the machine hosting the WebLogic Administration
Server, open a command window and navigate to[WL_HOME]/user_projects/domains/[domain name]/bin,
and then enter the following command to start WebLogic Administration
Server:
Start WebLogic Server Administration Console by typing http://[HostName]:7001/console in
the URL line of a web browser.
Log in by entering the user name and password you created
when you installed WebLogic Server.
Open the WebLogic Server Administration Console on the administration server.
Under Domain Structure, click your domain name.
Under Change Center, click Lock & Edit.
Click the Configuration tab and then click JTA.
In the Abandon Timeout Seconds box, enter 600.
Click Save and then click Activate Changes.
|
|
|