Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

For the DLP Infrastructure Project, we have not yet defined a set of supported versions of various libraries, but we currently use these settings:

  • Tomcat 5.5, set up within MyEclipse.
  • You must have xercesImpl.jar in the jre/lib/ext folder of the Java installation that Tomcat is using (or elsewhere in Tomcat's classpath).
  • In the Eclipse preferences dialog, under MyEclipse/Application Servers/Tomcat5/JDK, in "Optional Java VM Arguments":
    • -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
    • -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
    • -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl
    • -Djavax.xml.xpath.XPathFactory=net.sf.saxon.xpath.XPathFactoryImpl
    • -Djavax.xml.xpath.XPathFactory:http://saxon.sf.net/jaxp/xpath/om=net.sf.saxon.xpath.XPathFactoryImpl
    • -Xmx1024M
  • Make sure there is a log4j.properties file in Tomcat's common/classes directory. It should define a log4j.rootLogger as well as a log4j.logger.edu.indiana

Tomcat troubleshooting

If something strange is happening in Tomcat, try these steps in order, and stop when you find one that fixes the problem:

  • Restart the webapp
  • Restart Tomcat
  • Stop Tomcat, delete the Tomcat/work directory, and start Tomcat
  • No labels