Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

J2EE / Servlets / XML question

0 views
Skip to first unread message

CM

unread,
Nov 27, 2000, 3:00:00 AM11/27/00
to

Hello everybody,

I just downloaded j2ee reference edition (v. 1.2.1) and I'm trying to
develop a
simple trial application. My application consists in a servlet parsing
some xml strings
with jaxp API (jaxp.jar and crimson.jar downloaded from Sun's site).

Every works fine for compilation and deployment of my servlet, but when
I
try to access the servlet by a web client I got the exception shown at
the end
of this message. The problem seems related to the fact that the server
can't
access XML jar files...

Can someone tell me what this exception means? or better, can someone
suggest me a possible solution?

Thank you all in advance,

CM

PS: I get the same "sealing violation" exception running the servlet
with the
web server supplied with jswdk ver. 1.0.1.


EXCEPTION:

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 java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:82)

at BackServlet.service(BackServlet.java:40)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:626)

at
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:534)

at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)

at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:144)

at
org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
at java.lang.Thread.run(Thread.java:484)

0 new messages