tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anssi Alaranta ...@apollo.decamedia.net>
Subject Custom JSP tag (demo) bug?
Date Thu, 01 Jan 1970 00:00:00 GMT
I think there's some kind of bug in Tomcat 3.0 with Apache 1.3.9 in Solaris
7 (SPARC).

Here's my Solaris patch level and JDK I'm using with Jakarta.

[root@dev /]# uname -a
SunOS dev 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-5_10
[root@dev /]# /usr/local/jdk1.2.2/bin/java -version
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, green threads, sunwjit)
[root@dev /]# 

This what I get when I try to run "http://dev:8080/examples/jsp/simpletag/foo.jsp".
Other JSP pages work just fine.

[root@dev /usr/local/tomcat]# ./startup.sh 
Using classpath:
./webserver.jar:./lib/servlet.jar:./lib/jasper.jar:./lib/xml.jar:/usr/local/jdk1.2.2/bin/../lib/tools.jar
[root@dev /usr/local/tomcat]# Tomcat Web Server Version 3.0
Loaded configuration from: file:/usr/local/tomcat/server.xml
Configuring web service using "default"
Configuring web service using
"file:/usr/local/tomcat/examples/WEB-INF/web.xml"
default: init
jsp: init
Configuring web service using "default"
Configuring web service using
"file:/usr/local/tomcat/webpages/WEB-INF/web.xml"
default: init
jsp: 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

[root@dev /usr/local/tomcat]# 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/TagLibraryInfoImpl
        at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java,
Compiled Code)
        at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java,
Compiled Code)
        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, Compiled
Code)
        at org.apache.jasper.compiler.Parser.parse(Parser.java, Compiled
Code)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java,
Compiled Code)
        at org.apache.jasper.runtime.JspLoader.loadJSP(JspLoader.java,
Compiled Code)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java,
Compiled Code)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java,
Compiled Code)
        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java,
Compiled Code)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java,
Compiled Code)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled
Code)
        at
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java,
Compiled Code)
        at
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java,
Compiled Code)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
        at org.apache.tomcat.core.Context.handleRequest(Context.java,
Compiled Code)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java, Compiled
Code)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java,
Compiled Code)
        at
org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java, Compiled
Code)
        at java.lang.Thread.run(Thread.java, Compiled Code)


-- 
Anssi Alaranta
aa@decamedia.net

Mime
View raw message