https://issues.apache.org/bugzilla/show_bug.cgi?id=49935

           Summary: recursive tag calls don't work
           Product: Tomcat 5
           Version: 5.5.30
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: gil...@u.washington.edu


Created an attachment (id=26028)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26028)
web app demonstrating the issue

If a tag calls itself recursively, it doesn't work in Tomcat 5.5.30.  This has
been observed on Linux, but (for whatever reasons) may not manifest on other
operating systems.  I specifically reproduced the issue using 

java version "1.6.0_20" 
Java(TM) SE Runtime Environment (build 1.6.0_20-b02) 
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) 

I'm attaching a simple war that renders (at the context root) a page with a
recursive table structure on other versions of Tomcat (I tried 5.5.28 &
6.0.29), but not in 5.5.30.  Similar tag calls in our application have resulted
in the following stack trace on this Tomcat version:

2010-09-15 00:07:43,031 [http-8080-Processor24] ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/kr-dev].[jsp] -
Servlet.service() for servlet jsp threw exception 
java.io.FileNotFoundException: no such file:
/java/servers/apache-tomcat-5.5.30/work/Catalina/localhost/kr-dev/org/apache/jsp/tag/web/kr/rowDisplay_tag$Helper.class
 
at org.apache.jasper.compiler.SmapUtil$SDEInstaller.<init>(SmapUtil.java:253) 
at org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:241) 
at org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:165) 
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:466) 
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:319) 
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:298) 
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) 
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:565) 
at
org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:207)
 
at
org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:566)
 
at
org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50)
 
at
org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:617)
 
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1442) 
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166) 
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216) 
at
org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:621)
 
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1442) 
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166) 
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216) 
at
org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:621)
 
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1442) 
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166) 
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216) 
at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2222) 
at org.apache.jasper.compiler.Node$Root.accept(Node.java:457) 
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166) 
at
org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:635)
 
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:200) 
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:317) 
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:298) 
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) 
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:565) 
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:309) 
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308) 
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to