Bugs item #719955, was opened at 2003-04-11 21:53
Message generated for change (Settings changed) made by wireframe6464
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=719955&group_id=22866
Category: JBossWeb
Group: v3.2
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: ryan sonnek (wireframe6464)
Assigned to: Nobody/Anonymous (nobody)
Summary: Custom tag fails to import jsp page using custom tags
Initial Comment:
environment: winxp, jboss 3.2 w/jetty.
in 3.0.6 a custom tag could import a jsp page that uses
custom tags. in 3.2 this produces an exception. if i
comment out or remove the custom tags from the included
jsp page, everything works fine. here's a code snippet
and the exception it generates. note that this does
work in 3.0.6.
Tag.java
pageContext.include("/test.jsp");
Test.jsp
<%@ taglib prefix="abc" uri="http://abc.com" %>
<abc:doSomething />
Exception
15:34:37,877 ERROR [BodyTag] Unable to compile class
for JSP
org.apache.jasper.JasperException: Unable to compile
class for JSP
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
.java:479)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:184)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360
)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:294)
at
org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:192)
at
org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:121)
at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary
.java:822)
at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.jav
a:398)
at
com.bpc.bcs.tag.BodyTag.includeContent(Unknown Source)
at com.bpc.bcs.tag.BodyTag.doStartTag(Unknown
Source)
at
org.apache.jsp.errorPageHtml_jsp._jspx_meth_bcs_body_0(errorPageHtml_
jsp.java:75)
at
org.apache.jsp.errorPageHtml_jsp._jspService(errorPageHtml_jsp.java:5
4)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:204)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360
)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:294)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
58)
at
org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:507)
at
org.mortbay.http.HttpResponse.sendError(HttpResponse.java:377)
at
org.mortbay.jetty.servlet.ServletHttpResponse.sendError(ServletHttpRe
sponse.java:394)
at
org.mortbay.jetty.servlet.ServletHandler.notFound(ServletHandler.java
:837)
at
org.mortbay.jetty.servlet.Default.handleGet(Default.java:238)
at
org.mortbay.jetty.servlet.Default.service(Default.java:191)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360
)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:294)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
58)
at
org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:507)
at
org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
at
org.mortbay.http.HttpServer.service(HttpServer.java:863)
at org.jboss.jetty.Jetty.service(Jetty.java:460)
at
org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
201)
at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
----------------------------------------------------------------------
>Comment By: ryan sonnek (wireframe6464)
Date: 2004-02-04 17:34
Message:
Logged In: YES
user_id=552776
bug no longer applies to JBoss 3.2.3
----------------------------------------------------------------------
Comment By: ryan sonnek (wireframe6464)
Date: 2003-05-19 18:04
Message:
Logged In: YES
user_id=552776
upgrading to 3.2.1 has resolved the initial error that was
reported. it is still not working compared to my local
3.0.7 installation. i will try to get a relevant stack
trace posted soon.
----------------------------------------------------------------------
Comment By: ryan sonnek (wireframe6464)
Date: 2003-04-14 17:14
Message:
Logged In: YES
user_id=552776
after doing some research, i think this problem may be
bigger than first thought. i'm recieving this same error
when i try to use a simple nested custom tag. the outter
tag prints html header and footer info, and the inner tag
does a DB query. these tags all worked fine with 3.0.6, but
now error out.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=719955&group_id=22866
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development