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 14 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
      • I've also tried net.sf.saxon.om.DocumentBuilderFactoryImpl, but it failed. Perhaps it was only a missing jar – I didn't look into it at all (yet).
    • -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
      • Not sure if this is needed or not. I think not. (If you don't have enough memory available, set the number lower.)
    • -Xmx1536M
  • No labels