Hi,

I've been trying to run the sample servlet for the ws-jmx-connector.
Whenever I try to start the server with the deployed war file I get this
exception:

15/09/2009 12:30:15
com.sun.xml.ws.transport.http.servlet.WSServletContextListener
contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor:
java.lang.SecurityException: sealing violation: can't seal package
com.sun.ws.management.server: already loaded
java.lang.SecurityException: sealing violation: can't seal package
com.sun.ws.management.server: already loaded
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:235)

When removing the context listener definition from web.xml (meaning this:

<listener>
<listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
</listener>

The server init is succesfull but i'm not sure it's running correctly and I
want to make sure that it's not because I removed the context init line.

Does tomcat 6.0 load
com.sun.xml.ws.transport.http.servlet.WSServletContextListene automatically?
I'm not sure why the exception occurs.

Thanks!!
-- 
View this message in context: 
http://www.nabble.com/Exception-for-WSServletContextListener-Registration.-tp25451154p25451154.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to