tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Campbell" <mike.campb...@s1.com>
Subject Struts/Java/Tomcat/Digester error?
Date Wed, 15 Nov 2000 21:24:26 GMT
All, When trying to run the struts example, it dies.  We think here it's a lower level problem
than struts, but are at a loss to
figure out what.

It SEEMS the Digester.getParser() dies whenever an XML file is trying to be read (the database.xml
file can't be read and the
action.xml file seems to have problems being read also).

Tomcat is installed to the point where it CAN run servlets and JSP's successfully.  I'm using
it on NT in standalone mode (no
apache).

When Tomcat starts, here's the error.  Anyone have any ideas here?  Thanks.

Digester.getParser:
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 java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:92)
        at org.apache.struts.digester.Digester.getParser(Digester.java:284)
        at org.apache.struts.digester.Digester.parse(Digester.java:748)
        at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:619)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:291)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:315)
        at org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:276)
        at org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:132)
        at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:227)
        at org.apache.tomcat.core.ContextManager.init(ContextManager.java:201)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:156)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
--
Mike Campbell, R&D, Norcross, GA
mailto: mike.campbell@s1.com
+678.421.4641



Mime
View raw message