Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
indent
2
2
h4. *Download*
  1. Go to the Oracle Internet Application Server site.  Click on the Downloads tab and all available Application Server 10g Release 3 (10.1.3.x) Downloads will be displayed.

  2. Scroll down until you reach the Oracle Containers for J2EE section and click on Pure Java.  The Oracle Application Server 10g Software Downloads will be displayed.

  3. Accept the License Agreement, then click on the Oracle Containers for J2EE 10g (OC4J) link. The download of the oc4j_extended_101350.zip file will start. Save this zip file on your workstation.

    Install


  4. In your ${user.home} directory, create the directories oc4j/10.1.3.5.0 and unzip the oc4j_extended_101350.zip file to the ${user.home}/oc4j/10.3.5.0 directory.  Create a system environmental variable ORACLE_HOME and set it's value to ${user.home}/oc4j/10.3.5.0.

    For example: if ${user.home}=/users/rstone, then ORACLE_HOME=/user/rstone/oc4j/10.1.3.5.0

    You can actually unzip to any directory you desire. The only requirement is that all directory names cannot contain any white space.

    Configure


  5. Edit the file ${ORACLE_HOME}/j2ee/home/config/system-application.xml and change:
    Code Block
    <import-shared-library name="oracle.toplink">
    
    to:
    Code Block
    <!--import-shared-library name="oracle.toplink"-->
    
  6. We need to add a datasource to our so that the applications can pull data from the database.  Edit ${ORACLE_HOME/j2ee/home/config/data-sources.xml to add a datasource.  Here's an example of adding a MITSIS datasource:
    Code Block
    <data-source
        class="com.evermind.sql.DriverManagerDataSource"
        name="OracleDS2"
        location="jdbc/MitsisDS"
        xa-location="jdbc/xa/StargateXADS-unused"
        ejb-location="jdbc/OracleDS-unused"
        connection-driver="oracle.jdbc.driver.OracleDriver"
        username=""
        password=""
        url="jdbc:oracle:thin:@//earth-vault-2.mit.edu:1523/sundev2"
        inactivity-timeout="30"
    />
    

    where obviously you'll add your username and password.

...