New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spring bootified WAR fails to load sealed JAR (java.lang.SecurityException: Sealing violation loading) #3656
Comments
Does running with |
Looks sane to me:
|
|
No results from this command:
|
As it seems this error occurs with |
I have verified everything and can confirm it. I created this issue for tomcat: You can close this issue here. Thanks. |
Thanks for the feedback. See also #3526 |
I wrote an application with spring boot and everything worked fine so far. I can run it in development from IDE and also it runs from JAR oder from bootified WAR if I ran with
java -jar app.war
.However, I need to do a traditional deployment of the app in a preconfigured tomcat. Then I get this exception:
This actually does not come from Java classloading or other JDK code itself but from
org.apache.catalina.loader.WebappClassLoaderBase
that is bundled withtomcat-embed-core
JAR filed that is provided and therefore loaded from tomcat itself (catalina.home/lib/catalina.jar
).I double checked my classpath and also extracted the bootified WAR to ensure there is no other JAR containing code in package
oracle.jdbc
but found nothing.In the extracted WAR in
WEB-INF/lib
I ran this script:The only relevant JARs are:
and of course
I am unfortunately lost in space with this. As I am forced to run the app in the predefined tomcat I need to find a way to solve this problem. However I assume that the implementation of the seal-check is not working properly with spring boot shading the bootstrap... Any ideas or hints what I can try?
I also reproduced in a vanilla tomcat and get the same error. Probably a bug in the latest tomcat 8.0.24 release?
The text was updated successfully, but these errors were encountered: