cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [C2] sealing violation in Tomcat4.0b1 with the last checkout??
Date Thu, 01 Feb 2001 15:29:39 GMT
Alberto Silva wrote:
> 
> Hi:
> 
> I just have tried the code from cocoon2 CVS, and I am having this problem
> when trying to run it on Tomcat 4.0b1.
> 
> My enviroment:
> JDK 1.3.0
> Tomcat 4.0b1
> 
> I have seen another messages about a problem with the last checkout, but  it
> doesn't seem to be the same problem.

Sealing violation?  I don't recall the Manifest marking Cocoon as sealed,
--although one of the SAX parsers that Tomcat 4.0b1 may be using might
have sealed the org.sax.xml.** packages.  If that is the case, then
it might be affecting the Cocoon package.  According to Servlet 2.3,
The Servlet Classloader is supposed to be divorced from the System
ClassLoader, so even if that was the case, I am not sure why it would
act that way.

> 
> When I try to access http://localhost:8080/cocoon I received this error:
> 
> ======================================
> A Servlet Exception Has Occurred
> 
> Exception Report:
> 
> javax.servlet.ServletException: Error instantiating servlet class
> org.apache.cocoon.servlet.CocoonServlet
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:747)
>         at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:544)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:227)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
>         at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
>         at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
>         at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:818)
>         at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
>         at java.lang.Thread.run(Thread.java:484)
> 
> Root Cause:
> 
> java.lang.SecurityException: sealing violation
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at
> org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:648)
>         at
> org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:987)
>         at
> org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:906)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at
> org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:648)
>         at
> org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:987)
>         at
> org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:906)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at
> org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:648)
>         at
> org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:987)
>         at
> org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:906)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>         at java.lang.Class.newInstance0(Native Method)
>         at java.lang.Class.newInstance(Class.java:237)
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:740)
>         at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:544)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:227)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
>         at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
>         at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
>

Mime
View raw message