Skip Headers
Oracle® Fusion Middleware Quick Start Guide for Oracle WebLogic Portal
10g Release 3 (10.3.4)

Part Number E14246-02
Go to Documentation Home
Go to Table of Contents
Go to Feedback page
Contact Us

Go to previous page
Go to next page
View PDF

6 Creating a Domain and Server

At this point you may not have not written any code, except perhaps a placeholder EJB. Even so the generated projects are valid applications.

The chapter contains:

6.1 Creating a Server

To create a server in Oracle Enterprise Pack for Eclipse:

  1. From either the Portal or J2EE perspective, click the Servers view.

  2. Right-click inside the Servers view and select New > Server.

  3. Complete the pages in the wizard as required.

Table 6-1 New Server Wizard

In this Wizard ... Select or Enter...

Server's host name


Server type

Oracle WebLogic Server v10.3

Server runtime

Oracle WebLogic Server 10.3

Domain home

Your domain home directory. For example, HOME/domains/projectX.

Tip: As a best practice, create your domain outside of the installation directory.

If you do not already have a domain, create one by selecting Click here to launch the Configuration Wizard to create a new domain. For information about what to enter in this wizard, see Section 6.2, "Domain Configuration Wizard."

Add and Remove Projects

Your EAR project should be visible. As a best practice, do not move the EAR to the server yet. This way you can make sure the server starts cleanly by itself. You can add the project later.

Selected Tasks

This page should be empty unless you have added your EAR Project to the server.

After completing the New Server Wizard, the Servers view displays the server you just created along with the server's status and state.

6.2 Domain Configuration Wizard

If you are creating a new domain, complete the pages in the domain wizard as required.

Table 6-2 Domain Wizard

In this Wizard ... Select or Enter...

Welcome page

Create a new WebLogic domain.

Select Domain Source

In the Generate a domain configured automatically to support the following Oracle Products, select either WebLogic Portal. Be sure you select the template with the features you need.

Notice that a WebLogic Portal Collaboration Repository checkbox is available on this wizard dialog; portal projects that use Collaboration Portlets features must have a domain that includes this repository. For information about Collaboration Portlets, see the Oracle Fusion Middleware Portlet Development Guide for Oracle WebLogic Portal.

Configure Administrator Username and Password

The user name and password of your choice.

Configure Server Start Mode and JDK

Development Mode.

Oracle recommends using JRockit, as it is faster than the Hotspot JVM for iterative development.

Configure JDBC Data Sources

Use the defaults.

Note: When you click Next, the Configuration Wizard attempts to run a series of connection tests against the database. If the database is not running at this point, these tests will always fail. After the tests run, just click Next again. A warning dialog appears asking if you want to bypass testing. You can safely ignore this warning. Click OK to continue.

Run Database Scripts

Click Run Scripts, then click Next.

Note: This step is new as of WebLogic Portal 10.3.2. For past releases, these scripts were run automatically for the default Derby database. You must click the Run Scripts button before continuing.

Select Optional Configuration

Select an option to configure. The wizard will take you through the appropriate steps.

Configuration Summary

Click Create to create the domain.

Note: For more information on the Domain Configuration Wizard, see Oracle Fusion Middleware Creating Domains Using the Configuration Wizard.

The name entered in the Domain name field becomes a subdirectory under the Domain location directory.

For example, if you want your domain to be HOME/domains/projectX, enter projectX as the domain name, and HOME/domains for the location.

If the path to your domain is long, you can copy the path information from the final and then paste it into the Domain home field in the New Server wizard as shown in Figure 6-1.

Figure 6-1 Copy Path Information

Description of Figure 6-1 follows
Description of "Figure 6-1 Copy Path Information"

6.3 Related Information

The following topics provide more detail for creating a domain for your server: