The standard version of the JAXP parser has sealed JAR files, which cause
no end to problems.  Thus, Tomcat 4 ships with modified versions of these
JAR files that are not sealed.

See the detailed instructions at the bottom of the Tomcat 4 release notes
for the optionsl you have in exposing an XML parser to your web
applications.

Craig


On Mon, 25 Jun 2001, Oleg V Alexeev wrote:

> Hello struts-dev,
> 
>   Has anyone answer to question about struts using in Tomcat 4.0
>   environment? Now I try to deploy my struts development application
>   to the Tomcat 4.0. After call to any URL in application I have
>   exception in screen -
> 
> 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:670)
>         at 
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:1088)
>         at 
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:987)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>         at 
>org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:164)
>         at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
>         at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:324)
> 
>   I think that it is security problem, but all my catalina.policy file
>   modifications does not any effect. What is a problem?
>   I use jdbc2_0-stdext.jar, rowset.jar and JDBC driver (DB2 app driver
>   - local JNI call to the thick client) as additional libs. All this
>   stuff is placed to the extensions directory - JAVA_HOME/jre/lib/ext
>   
>   Tomcat 3.2.2 work fine with it, but Tomcat 4.0 throws sealing
>   exception.
> 
> -- 
> Best regards,
>  Oleg                          mailto:[EMAIL PROTECTED]
> 
> 
> 

Reply via email to