• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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