To deploy applications on
WebLogic Server, you must have a WebLogic Server domain. A
domain
is
the basic administrative unit for WebLogic Server. Here are the
two basic types of WebLogic Server domains:
Domain with Managed Servers (recommended):
A production
environment typically consists of an Administration Server with
one or more Managed Servers. The Administration Server is used to
perform management operations; the applications and resources are
deployed to individual Managed Servers.
Standalone Server Domain:
This type of domain can be used
for development or test environments in which a single server instance
acts as both Administration Server and Managed Server. This option
is easier to manage and allows you to use the
hot deploy
feature
in WebLogic on a development environment (not recommended).
Note:
In production environments, Oracle recommends
that you deploy applications only on Managed Servers in the domain;
the Administration Server should be reserved for management tasks.
7.4.1 Create a WebLogic domain with Managed Server
-
From a command prompt, start the WebLogic Configuration
Wizard by navigating to the
[appserver root]
/common/bin directory
and typing the appropriate command:
-
On the Welcome screen, select
Create a new WebLogic domain
and
click
Next
.
-
On the Select Domain Source screen, select
Generate a domain configured automatically to support the following products
and
click
Next
.
-
On the Create WebLogic Domain screen, either accept the default
values or enter the Domain name and Domain location as required,
and then click
Next
.
-
In the Configure Administrator Username and Password screen,
type your WebLogic user name and password, confirm the password
by retyping it, and then click
Next
. Record this user name
and password because Configuration Manager will prompt you for them.
-
In the WebLogic Domain Startup Mode panel, select
Production Mode
.
Important:
Using Development Mode is not recommended.
-
In the right pane, navigate to the location of the JDK according
to your operating system and then click
Next
:
-
(Windows, Linux) Location of
Oracle JDK 1.6
or later. For
example, C:\Program Files\Java\jdk1.7.0_21 (Windows) or /opt/Java/jdk1.7.0_21 (Linux)
-
(Solaris) Location of
Oracle JDK 1.6
or later.
-
On the Select Optional Configuration Screen, click
Next
.
-
On the Configuration Summary Screen, click
Create
.
-
On the Creating Domain screen, when the configuration creation
is 100% complete, do the following tasks:
-
(Windows)
Select
Start Admin Server
and click
Done
.
-
(Linux and Solaris) Click
Done
, and start the server
by navigating from a command prompt to the
[appserverdomain]
and
typing
./startWebLogic.sh
-
(Windows, Linux, or Solaris) When prompted, enter the WebLogic
user name and password that you entered in step 5.
Note:
The Admin Server starts in the command prompt.
Enter the user name and password in the command prompt.
|
|
|