tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: Class org/w3c/dom/NodeList violates loader constraints
Date Mon, 03 Jun 2002 15:09:22 GMT
Hello Patrick,

Do you have DOM packages in WEB-INF/lib or WEB-INF/classes?  If so,
this violates the Sun classloading spec and, as of Tomcat 4.0.2, this
is enforced....although not very cleanly until the latest betas of
Tomcat 4.0.4 and 4.1.  The solution is to move your DOM classes into a
parent classloader such as TOMCAT_HOME/lib, TOMCAT_HOME/common/lib or
use the ones that come from the JDK (if you use 1.4...either the
default ones or ones you override in JAVA_HOME/jre/lib/endorsed...or
TOMCAT_HOME/common/endorsed if you use Tomcat 4.1).


Monday, June 03, 2002, 9:24:13 AM, you wrote:

PPlc> hello,

PPlc> i have a class which try to load an xml file on the startup of tomcat 4.0.
PPlc> i receive this error :

PPlc> if someone could help me to resolve it ?

PPlc> java.lang.LinkageError: Class org/w3c/dom/NodeList violates loader
PPlc> constraints
PPlc>         at
PPlc> lds.odata.web.dataconnectivity.JDBC_OdataConnection.initConnectionParameters(
PPlc>         at
PPlc> lds.odata.web.dataconnectivity.JDBC_OdataConnection.proceedConnection(
PPlc>         at
PPlc> lds.odata.web.servlets.OdataJDBCinitializer.init(
PPlc>         at javax.servlet.GenericServlet.init(
PPlc>         at org.apache.catalina.core.StandardWrapper.load(Unknown Source)
PPlc>         at org.apache.catalina.core.StandardContext.loadOnStartup(Unknown
PPlc> Source)
PPlc>         at org.apache.catalina.core.StandardContext.start(Unknown Source)
PPlc>         at org.apache.catalina.core.ContainerBase.addChild(Unknown Source)
PPlc>         at org.apache.catalina.core.StandardHost.addChild(Unknown Source)
PPlc>         at org.apache.catalina.core.StandardHost.install(Unknown Source)
PPlc>         at org.apache.catalina.startup.HostConfig.deployApps(Unknown
PPlc> Source)
PPlc>         at org.apache.catalina.startup.HostConfig.start(Unknown Source)
PPlc>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(Unknown
PPlc> Source)
PPlc>         at
PPlc> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
PPlc> Source)
PPlc>         at org.apache.catalina.core.ContainerBase.start(Unknown Source)
PPlc>         at org.apache.catalina.core.ContainerBase.start(Unknown Source)
PPlc>         at org.apache.catalina.core.StandardEngine.start(Unknown Source)
PPlc>         at org.apache.catalina.core.StandardService.start(Unknown Source)
PPlc>         at org.apache.catalina.core.StandardServer.start(Unknown Source)
PPlc>         at org.apache.catalina.startup.Catalina.start(Unknown Source)
PPlc>         at org.apache.catalina.startup.Catalina.execute(Unknown Source)
PPlc>         at org.apache.catalina.startup.Catalina.process(Unknown Source)
PPlc>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
PPlc>         at
PPlc> sun.reflect.NativeMethodAccessorImpl.invoke(
PPlc>         at
PPlc> sun.reflect.DelegatingMethodAccessorImpl.invoke(
PPlc>         at java.lang.reflect.Method.invoke(
PPlc>         at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

PPlc> Patrick PIERRA
PPlc> Linedata Services Luxembourg
PPlc> 00 352 29 56 65 282

PPlc> --
PPlc> To unsubscribe, e-mail:   <>
PPlc> For additional commands, e-mail: <>

Best regards,

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message