Oracle® Fusion Middleware Quick Start Guide for Oracle WebLogic Portal 10g Release 3 (10.3.4) Part Number E14246-02 |
|
|
View PDF |
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:
To create a server in Oracle Enterprise Pack for Eclipse:
From either the Portal or J2EE perspective, click the Servers view.
Right-click inside the Servers view and select New > Server.
Complete the pages in the wizard as required.
In this Wizard ... | Select or Enter... |
---|---|
Server's host name |
localhost |
Server type |
Oracle WebLogic Server v10.3 |
Server runtime |
Oracle WebLogic Server 10.3 |
Domain home |
Your domain home directory. For example, 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.
Status – Refers to the server itself: Stopped (not running), Starting, Started, and so on.
State – Refers to any projects deployed on the server: Republish (require redeployment) or Synchronized (all is well).
Note:
Eclipse uses the term Publish where Oracle Enterprise Pack for Eclipse uses Deploy; these terms are synonyms.If you are creating a new domain, complete the pages in the domain wizard as required.
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 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. |
The following topics provide more detail for creating a domain for your server:
Oracle Fusion Middleware Tutorials for Oracle WebLogic Portal – These tutorials provide instructions on using the various configuration wizards.
Oracle Fusion Middleware Creating Domain Templates Using the Domain Template Builder