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 | ||
---|---|---|
| ||
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
- Checked Check out uPortal 2.5.0 RC3
- 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
- Modified Ant build.xml
- Modified JNDIManager.java to Use modified source files JNDIManager.java and GuestUserInstance.java (Which ignore null session IDs
- Modified GuestUserInstance.java to ignore null session IDs
- Edited )
- Add data-sources.xml and application.xml to properties/oc4j
- Add log4j.xml and log4j.dtd to properties directory
- Use modified build.properties with OAS information
- Updated Update rdbm.properties and data-sources.xml with database information
- Added log4jUse attached Ant buildfile build.xml and log4j.dtd to properties directory
- Ran Ant task: db
- Ran Ant task: i18n-db
- Ran Ant task: pubchanall
- Ran Ant task: pubfragmentsall
- Ran Ant task: OC4J-WAREAR
Deploy uPortal
- Installed Install Oracle Application Server 10.1.2.0.0
- 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.
- 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).
- 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"/> - Bounced Oracle Application Server
- Created jdbc/PortalDb and jdbc/PersonDb datasources in OAS
- Deployed oc4j-uportal.warBounce Oracle Application Server (May need to restart because JVM was modified)
- Deploy oc4j-uportal.ear (May need to specify JNDI location, will be same as datasource name)