From theo@visoft.co.za Thu Feb 3 12:02:19 2000 Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 17305 invoked from network); 3 Feb 2000 12:02:19 -0000 Received: from visoft.co.za (196.25.67.129) by 63.211.145.10 with SMTP; 3 Feb 2000 12:02:19 -0000 Received: from sole (sole [192.168.1.111]) by visoft.co.za (8.8.7/8.8.7) with SMTP id OAA10201 for ; Thu, 3 Feb 2000 14:00:57 +0200 From: "Theo" To: Subject: IllegalAccessError and Tags Date: Thu, 3 Feb 2000 14:09:05 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Hi there I can't get the Tag Extensions example to work with none of the builds using windows NT. I've tried to include additional XML jars (e.g. xml4j.jar), jdk1.3, allow-all-policy files. Does it actually work? It seems like the java.lang.IllegalAccessError is caused my a call on a method that does not exists? Below a screen dump of using tomcat.zip (3 Feb 2000) after a call to http://127.0.0.1:8080/examples/jsp/simpletag/foo.jsp from the tag example page. Otherwise, viva Tomcat! Thanks for a good product Theo van Niekerk ---------- Using classpath: .\classes;.\lib\webserver.jar;.\lib\servlet.jar;.\lib\jasper.jar;.\webpages\ WEB-INF\classes\jsp\beans;. \lib\xml.jar;c:\java\jdk1.2.2\lib\tools.jar;.; Automatic addContext( /examples, webapps/examples) Automatic addContext( , webapps/ROOT) Automatic addContext( /test, webapps/test) Context(/examples): webapps/examples Context(/examples): Loading -2147483646 jsp Context(/examples): jsp: init Context(/examples): Loading -2147483646 default Context(/examples): default: init Context(/test): webapps/test Context(/test): Loading -2147483646 jsp Context(/test): jsp: init Context(/test): Loading -2147483646 default Context(/test): default: init Context(): webapps/ROOT Context(): Loading -2147483646 jsp Context(): jsp: init Context(): Loading -2147483646 default Context(): default: init Starting tcp endpoint on 8080 with org.apache.tomcat.service.http.HttpConnectionHandler Starting tcp endpoint on 8007 with org.apache.tomcat.service.connector.Ajp12ConnectionHandler Unhandled error! You might want to consider having an error page to report such errors more gracefully java.lang.IllegalAccessError: try to access class com/sun/xml/tree/ParentNode from class org/apache/jasper/compiler/TagL ibraryInfoImpl at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve ntListener.java, Compiled Code) at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve ntListener.java, Compiled Code) at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList ener.java:110) at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java, Compiled Code) at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled Code) at org.apache.jasper.compiler.Parser.parse(Parser.java:1002) at org.apache.jasper.compiler.Parser.parse(Parser.java:998) at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.runtime.JspLoader.loadJSP(JspLoader.java:227) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:138) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja va:149) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:256) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:234) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:367) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:144) at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:305) at java.lang.Thread.run(Thread.java:479)