tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Wingfield <>
Subject Re: What's a sealing violation please?
Date Tue, 02 Nov 2004 11:32:54 GMT
It's part of the core java security model. If a package is sealed within 
a jar then packages of the same name cannot be defined in another jar, 
or elsewhere on the classpath.

Within the manifest file of the jar file which is being loaded by your 
putpr servlet you'll probably have a couple of lines like:

Name: nu/xom
Sealed: true

The XOM jar that I have (xom-1.0d8.jar) doesn't seal its packages. So, 
you need to find the jar which is sealing the nu.xom package and stop it 
doing so. (Or work out your xom dependencies)



Pawson, David wrote:
>>>From the log
> 2004-11-02 09:24:51 StandardContext[/servlets-examples]SessionListener: contextInitialized()
> 2004-11-02 09:25:52 StandardWrapperValve[putpr]: Servlet.service() for servlet putpr
threw exception
> java.lang.SecurityException: sealing violation: can't seal package nu.xom: already loaded
> 	at
> 	at$100(
> 	at$
> 	at Method)
> 	at
> Any help appreciated.
> Regards DaveP.
> **** snip here *****

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

View raw message