• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Catalina - javax.xml.parsers.DocumentBuilderFactory not found

J

jdstevens

Guest
From catalina.out:

Caused by: java.lang.ClassNotFoundException: javax.xml.parsers.DocumentBuilderFactory not found in [file:/usr/lib/jvm/java/lib/tools
.jar, file:/usr/share/tomcat5/bin/bootstrap.jar, file:/usr/share/java/commons-logging-api.jar, file:/usr/share/java/mx4j/mx4j.jar, f
ile:/usr/share/java/libgcj-3.4.6.jar, file:./, core:/]

The class appears to be available in some other jars, but not the ones being searched. I've not been able to get catalina to find the class.

Suggestions?
 
Fixed!

/etc/tomcat5/tomcat5.conf

JAVA_HOME="/usr/lib/jvm/jre-1.4.2-sun"

Tomcat5 starts.
Catalina starts.

It looks like Java from Sun works and Java from Gnu doesn't have everything that the PSA version of Tomcat needs.
 
Back
Top