struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marius Sorin Barduta" <mar...@necomm.ro>
Subject example prevents Tomcat start throwing java.lang.IllegalAccessError
Date Tue, 20 Jun 2000 08:36:09 GMT
I've tried to use the struts example from the latest nightly build
(jakarta-struts-20000619.tar.gz).
I copied struts-example.war and struts-documentation.war to webapps
directory under TOMCAT-HOME.
I started Tomcat, the .war files get expanded, but Tomcat exits with the
chain of exceptions listed below.
Rolling back the changes it seems that having struts-example in webapps
caused the failure. Other applications including struts-documentation runs
OK when struts-example is removed from webapps.  It seems that the error
causing Tomcat to exit occurs when actually trying to execute struts-example
(index.jsp in fact). This happens at startup due to the load on startup tag
in web.xml for struts-example. When load on startup is reset to 0, when
trying to execute index.jsp under struts-example, Tomcat doesn't exit but
throws  the exception below
The error seems to be caused by a call to an inexistent method or something
like that so my feeling is I have an outdated jar, one which is related to
XML processing but I'm not sure which one.
I have also a concern about the fragility of Tomcat 3.1 which fails to start
when having a "misbehaving" application. This shouldn't happen or am I
missing something?
Until I get deep down in the code to find where the error comes from, can
anybody give a clue?
My configuration: Tomcat 3.1 standalone on a Windows 2000, JDK 1.2,  Tomcat
runs Ok except the struts-example.

Thank you,
Marius



Unhandled error! You might want to consider having an error page to report
such
errors more gracefully
java.lang.IllegalAccessError: org.w3c.dom.NodeList
com.sun.xml.tree.ParentNode.g
etElementsByTagName(java.lang.String)
        void
org.apache.jasper.compiler.JspParseEventListener.handleDirective(ja
va.lang.String, org.apache.jasper.compiler.Mark,
org.apache.jasper.compiler.Mark
, java.util.Hashtable)
        void
org.apache.jasper.compiler.DelegatingListener.handleDirective(java.
lang.String, org.apache.jasper.compiler.Mark,
org.apache.jasper.compiler.Mark, j
ava.util.Hashtable)
        boolean
org.apache.jasper.compiler.Parser$Directive.accept(org.apache.ja
sper.compiler.ParseEventListener, org.apache.jasper.compiler.JspReader,
org.apac
he.jasper.compiler.Parser)
        void org.apache.jasper.compiler.Parser.parse(java.lang.String,
java.lang
.Class[])
        void org.apache.jasper.compiler.Parser.parse(java.lang.String)
        void org.apache.jasper.compiler.Parser.parse()
        boolean org.apache.jasper.compiler.Compiler.compile()
        boolean
org.apache.jasper.runtime.JspServlet.loadJSP(java.lang.String, j
ava.lang.String, boolean, javax.servlet.http.HttpServletRequest,
javax.servlet.h
ttp.HttpServletResponse)
        void
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecess
ary(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletRespons
e)
        void
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(java
x.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse,
boole
an)
        void
org.apache.jasper.runtime.JspServlet.serviceJspFile(javax.servlet.h
ttp.HttpServletRequest, javax.servlet.http.HttpServletResponse,
java.lang.String
, java.lang.Throwable, boolean)
        void
org.apache.jasper.runtime.JspServlet.service(javax.servlet.http.Htt
pServletRequest, javax.servlet.http.HttpServletResponse)
        void
javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest
, javax.servlet.ServletResponse)
        void
org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomc
at.core.Request, org.apache.tomcat.core.Response)
        void
org.apache.tomcat.core.RequestDispatcherImpl.forward(javax.servlet.
ServletRequest, javax.servlet.ServletResponse)
        void
org.apache.tomcat.servlets.DefaultServlet.doGet(javax.servlet.http.
HttpServletRequest, javax.servlet.http.HttpServletResponse)
        void
javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServl
etRequest, javax.servlet.http.HttpServletResponse)
        void
javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest
, javax.servlet.ServletResponse)
        void
org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomc
at.core.Request, org.apache.tomcat.core.Response)
        void
org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.cor
e.Request, org.apache.tomcat.core.Response)
        void
org.apache.tomcat.service.http.HttpConnectionHandler.processConnect
ion(org.apache.tomcat.service.TcpConnection, java.lang.Object[])
        void org.apache.tomcat.service.TcpConnectionThread.run()
        void java.lang.Thread.run()


Mime
View raw message