jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@pobox.com>
Subject jetty & jaas.config: sealing violation
Date Thu, 12 Apr 2007 10:58:07 GMT
I'm trying to deploy on jetty and am getting sealing violation. I was  
previously deploying on tomcat without any issues.

11:53:48,024 DEBUG SessionManager  - loading repository config from  
app context: file:/private/tmp/Jetty_0_0_0_0_8080_main.war__main__- 
11:53:48,089 ERROR SessionManager  - unable to configure Jackrabbit  
java.lang.SecurityException: sealing violation: can't seal package  
javax.security.auth.login: already loaded
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:235)
         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)

I guess I need to disable JAAS in jetty in some way? Any jackrabbit  
users here that also use jetty (v6.1.2rc2)?

I run jetty with

java -Dcom.sun.management.jmxremote - 
Djava.security.auth.login.config=./jaas.config -jar start.jar etc/ 
jetty.xml etc/jetty-plus.xml

Torgeir Veimo

View raw message