Previous Topic

Next Topic

Book Contents

Book Index

Oracle 9i Application Server

These instructions have been tested on Oracle 9iAS 9.0.3

Steps

  1. in the OC4J/j2ee/home/applications directory, create a sub-directory named MHSoft.
  2. Within this directory, create a sub-directory named

    META-INF

    Create an application.xml file in the META-INF sub-directory that contains the following:

    <?xml version="1.0"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
    <application>
      <display-name>MHSoft</display-name>
        <module>
          <web>
            <web-uri>CDaily</web-uri>
                <context-root>/</context-root>
            </web>
        </module>
    </application>
  3. In the MHSoft directory, unpack the Connect Daily WAR file in a sub-directory named CDaily.
  4. When you have completed this step, the directory hierarchy should look like this:

    applications
         MHSoft
          META-INF
    CDaily
    WEB-INF
  5. edit the OC4J/j2ee/home/config/server.xml file. Add the following line:

    <application name="MHSoft" path="../applications/MHSoft" />

    MAKE SURE THIS GOES INTO AN UN-COMMENTED PART OF THE FILE!
  6. Edit the OC4J/j2ee/home/config/http-web-site.xml file. Add the following line:

    <web-app application="MHSoft" name="CDaily" root="/calendar" />

    MAKE SURE THIS GOES INTO AN UN-COMMENTED PART OF THE FILE!
  7. Configure the CDaily/WEB-INF/configuration.properties file, paying careful attention to the JDBC settings.
  8. Restart the OC4J server. The application should now deploy.

See Also

Configure the Application Server

Edit Configuration Files

Install JavaMail API

Deploying Connect Daily as a WAR

Clustering