Versions Compared

Key

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

...

Acquire the JAXP 1.3 jars

The JAXP 1.3 jars are now distributed with uPortal itself in the /lib/jaxp/ directory.

Note
iconfalse
titleGetting the jars from the source

Download the JAXP 1.3 api implementation jars distributed at Java.net for use in JRE 1.3 and JRE 1.4. uPortal 2.5 requires JRE 1.4 or later and so we aren't particularly concerned with how to make these APIs available in JRE 1.3.

Install those JAXP 1.3 jars in the /lib/endorsed/ directory of your JDK JRE

...

When you right-click on your project's root directory and click "Properties" in the resulting contextual menu, you'll get the "Properties for ProjectProjectName" dialog. Click "Java Build Path" in the left navigation pane and then click the "Libraries" tab. You can remove the entries for "xalan.jar" or "xalan-2-6-0.jar" and "xercesImpl.jar" and "xml-apis.jar" from your build path. On the "Order and Export" tab, ensure that the JRE comes before tidy.jar (as in the order described in the XML above.)

...

Select the five .jars there: dom.jar, jaxp-api.jar, sax.jar, xalan.jar, and xercesImpl.jar, and add all of these.

Ensure that these five jars appear before rt.jar in the order of jars in this JRE definition. Use the "Up" and "Down" buttons to float these jars to the top of the list if they aren't already before "rt.jar".

Click "Ok" to exit "Edit JRE" and then click "Ok" to exit "Preferences".

Edit your project properties for the uPortal project (right click the project root folder and select "properties" from the contextual menu. Select "Java Build Path" from the left hand navigation pane. Click the "Libraries" tab. Select the JRE System Library and click the "Edit..." button. Choose from the alternate JRE pulldown the name of the alternate JRE you created above.

You still need xalan-2-6-0

The Xalan 2.6.0 jar, previously distributed as /lib/xalan.jar, has been renamed to /lib/xalan-2-6-0.jar so as not to collide with the JAXP xalan.jar. You still need to endorse it (the xalan-2-6-0.jar) so that it will override the org.apache.xml APIs in JDK 1.4's rt.jar. You endorse xalan-2-6-0.jar typically by placing it into the /lib/endorsed/ directory of your JRE and the /common/endorsed/ directory of your Tomcat.

What to do if these instructions are insufficient

...