• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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