Installing the Oracle Application Server 10g Java Edition on Windows XP

Overview

This document explains how to install the Oracle Application Server 10g Java Edition on Microsoft Windows XP. Vermont may end up using it for our Modernized eFile viewer application, but Oracle Application Server is not a requirement for] running any part of the gateway application. gateway runs successfully on JBoss and we will continue to support that.

Assumptions

This document assumes that you have a recent Java Development Kit (JDK) installed. By recent I mean 1.5.0 or higher. Though, I have heard that 1.4.2 will run oc4j. It is also assumed that you have a Windows XP system with a reasonable amount of RAM, disk space and CPU to run a full Java EE Application Server.

Obtaining the Software

To begin with, you need the Oracle Application Server software. You can get it from Oracle here .

Unzipping oc4j_extended_101330.zip

The zip file you download can be expanded using 7-zip . Unzip the file to a place that's easy to remember.

Setting the Environment Variables

You need to set the JAVA_HOME environment variable to point to your JDK and you need to set ORACLE_HOME to point to the directory where you unziped oc4j_extended_101330.zip to.

Launching OC4J

  C:\>cd oc4j\bin
  C:\oc4j\bin>oc4j -start

Set the oc4jadmin Password

The first time you start the App Server you will be prompted to set an admin password.

  07/11/15 07:41:42 Set OC4J administrator's password (password text will not be
  displayed as it is entered)
  Enter password:

Test It

You should see something like "Oracle Containers for J2EE 10g (10.1.3.3.0) initialized " in the console when the server is up. Next, visit http://127.0.0.1:8888/em .

Configure the Connection Pool and Data Source

After logging in, go to the "Administration" tab. Then select the "JDBC Resources" task. Create a new connection pool for the 'default' application. Choose a name for the connection pool (mef-pool?), enter the URL and credentials. Then create a managed data source for the 'default' application. Name the data source MeFDS and set the JNDI location to MeFDS.

Shutting it Down

Just use Control+C in the console.