Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Here is the step-by-step on how I got uPortal running. I have not done any testing with this configuration yet. Feel free to update this page with any tips or corrections. Also, these instructions may apply to other J2EE containers, such as Orion or JBoss, but they haven't been tested.

Panel
borderStyledashed

Hopefully some or all of the attached files will be rolled into CVS, at which time they should be removed from this page and the instructions updated.

...

Build uPortal EAR file for deployment

  1. Checked Check out uPortal 2.5.0 RC3
  2. Copied Copy JAXP 1.3, Xalan 2.6.0 and Xerces 2.6.2 JARs to lib/endorsed of 1.4.2 JRE. The files are dom.jar, sax.jar, jaxp-api.jar, xml-apis.jar, xerces-2.6.2.jar, xalan-2.6.0.jar
  3. Modified Ant buildfile (Attached)
  4. Modified Use modified source files JNDIManager.java to and GuestUserInstance.java (Which ignore null session IDs (Attached)
  5. Modified GuestUserInstance.java to ignore null session IDs (Attached)
  6. Edited )
  7. Add data-sources.xml and application.xml to properties/oc4j
  8. Add log4j.xml and log4j.dtd to properties directory
  9. Use modified build.properties with OAS information (Attached)
  10. Updated Update rdbm.properties and data-sources.xml with database informationAdded log4j.
  11. xml and log4j.dtd to properties directory (Attached)Use attached Ant buildfile build.xml
  12. Ran Ant task: db
  13. Ran Ant task: i18n-db
  14. Ran Ant task: pubchanall
  15. Ran Ant task: pubfragmentsall
  16. Ran Ant task: OC4J-WAREAR

Deploy uPortal

  1. Installed Install Oracle Application Server 10.1.2.0.0
  2. Copied Copy JAXP 1.3, Xalan 2.6.0 and Xerces 2.6.2 JARs to lib/endorsed of OC4J JRE (/OC4J-10.1.2/jdk/jre/lib/endorsed), you'll need to create the directory.
  3. Copied Copy JAXP 1.3, Xalan 2.6.0 and Xerces 2.6.2 JARs to applib of OC4J (/OC4J-10.1.2/j2ee/home/applib).
  4. Updated /OC4J-10.1.2/j2ee/home/config/application.xml by adding lines.
    <library path="../applib/dom.jar"/>
    <library path="../applib/sax.jar"/>
    <library path="../applib/jaxp-api.jar"/>
    <library path="../applib/xml-apis.jar"/>
    <library path="../applib/xerces-2.6.2.jar"/>
    <library path="../applib/xalan-2.6.0.jar"/>
  5. Bounced Oracle Application Server
  6. Created jdbc/PortalDb and jdbc/PersonDb datasources in OAS
  7. Deployed oc4j-uportal.warBounce Oracle Application Server (May need to restart because JVM was modified)
  8. Deploy oc4j-uportal.ear (May need to specify JNDI location, will be same as datasource name)