WebLogic Server

WebLogic 10.3.5 Linux Install

I finally had the chance to capture the wizard as I configured a WebLogic server for development. The target OS is CentOS 32-bit, long story, but the wizard will work the same for other OS flavors.

The software, jdeveloper version 11.1.1.5.0, which includes WebLogic Server 10.3.5. I am glad that Oracle started to package WebLogic Server with jdeveloper. Since we are using the jdeveloper installer, the ADF libraries need to be selected during the install process.

This blog assumes that you successfully installed jdeveloper. Once the installer has completed the install, select the run quickstart checkbox.

Once QuickStart starts, click on the “Getting Started with WebLogic 10.3.5”. Next, on the Welcome screen select the “Create a WebLogic Domain”.

On the next screen, “Select Domain Source”, you must specify the components that the domain will support. In our case, it’s extremely important that our domain support ADF. The ADF libraries are defined as “Oracle – JRF -11.1.1.0 – oracle common”. Also, I selected the JAX-RPC and JAX-WS support. I choose not to install the Oracle WSM Policy Manager and SIP Server. And click next.

On the next screen, you must specify the “Domain Name and Location”. You can place the domain anywhere you would like. Since this is a development environment, I chose to install it at the Middleware Home directory, under “user_projects”. And click next.


On the screen, “Configure Administrator username and password”, make the necessary changes to suit your needs and preferences. And click next.

On the screen, “Configure Server Start Node and JDK”, select the server mode and the jdk. In this scenario, I chose for the server to be in development mode and for the jdk to be JRockit. Once your selections are made, click next.


The “Select Optional Configuration” screen will appear. On this screen we chose to set up an Administration server and a Managed Server. Depending on your configuration, the Administrator server will be sufficient for you to deploy and test your application. Since this is a Development environment configuration, I am not going to into detail about clusters and HA. Make your selection and click next.

Note: Depending on your selection you will have additional screens to covered on this blog.

On the next screen, “Configure the Admin Server”, Modify or accept the default user and provide a password. If you need SSL you can enable it here or after the install on the console. Define the port that the Admin server will listen. In our case, the default port of 7003 was selected. Click next when you are done.

If you chose to add Managed Servers, the next screen will look familiar. Otherwise ignore. In order to configure a managed server, perform the following 3 steps.

1. Click the Add button

2. Provide a name for the server: wls_ms_1

3. Define the Listen address and SSL for each Managed Server: 7003

Repeat Steps 1-3 for each server that you want to add as a managed server. Click next when you are done. The next screen is used to configure clusters, ignore at this time.

On the next screen we will define a Machine. For a development environment you don’t need this, but it’s good practice to define. The machine is the logical representation of the physical machine that hosts one or more WebLogic server instances. In a cluster, WebLogic Server uses machines to ensure that the server session data is replicated to other physical servers. Click the Add button and define at least one machine. Place close attention to the Node Listen Port, the node is used to communicate between the Admin server and the managed servers. Click next when done.

Name:<dev_machine_1>

Node Manager Listen Address:<localhost>

Node Manager Listen Port:<5556>

On the “Assign Servers to Machines” screen, add the Admin and Managed Server. Click next.

On the next screen, we will get a summary of all the components selected. Click next.


Assuming that everything went well, your domain will be created satisfactory.

You now have a WebLogic Domain with an Admin and Managed Server configuration. I will add additional WebLogic posts as time permits.

Advertisements

BEA-141281

Recently, I encountered the following error while starting up my Admin Server on my WebLogic Domain. BEA-141281 This error is caused when the AdminServer.lok file already exists on your Admin’s server directory. In order to get rid of the error, navigate to your server directory:

### MW_HOME=/opt/oracle/middleware

### i.e. – $MW_HOME/user_projects/domains/servers/AdminServer/tmp