This might be a bug in the JSP code in 4.1.3 (which is under active
development, so might be a little more prone to bugs at the moment).
Could you try this under 4.1.6 and see if it works better for you?

There are also some cases in the Struts tags where we've got bugs that
only get exposed when tag instances are reused by the container (which was
a recently added feature in Tomcat).  We're going through the tags on the
1.1 branch before the next beta release to clean this up -- in the mean
time, Tomcat offers a configuration flag (in conf/web.xml) to turn off tag
instance reuse if this particular problem is biting you.

Craig


On Thu, 4 Jul 2002, Jacob Hookom wrote:

> Date: Thu, 4 Jul 2002 12:06:10 -0500
> From: Jacob Hookom <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: [HELP] Jasper and Custom TagLib
>
> I am running Apache Tomcat/4.1.3-LE-jdk14 with Struts 1.1b
>
> My custom taglibs worked great previously in 4.0.4, but within 4.1.3, I
> get a java.util.EmptyStackException [stack trace below].  Its behavior
> is odd, if I put a bodysupport tag and its closing tag all on one line,
> there is no exception, but as soon as I put something in the body (even
> a return), I get an exception.  The same applies to OSCache tags.
>
> The struts library works fine though.  I'm trying to determine what the
> difference is that that makes struts implementation still work in 4.1.3,
> but all other libraries fail.
>
> Best Regards,
> Jacob Hookom
>
> Stack Trace:
> java.util.EmptyStackException
>       at java.util.Stack.peek(Stack.java:79)
>       at java.util.Stack.pop(Stack.java:61)
>       at
> org.apache.jasper.runtime.PageContextImpl.popBody(PageContextImpl.java:4
> 40)
>       at org.apache.jsp.nav$jsp._jspService(Unknown Source)
>       at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
> va:188)
>       at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
>       at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:247)
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:193)
>       at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:260)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:646)
>       at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 83)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>       at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:191)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:646)
>       at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 83)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>       at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
> 9)
>       at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :180)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:646)
>       at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
> lve.java:170)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:644)
>       at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :171)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:644)
>       at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 83)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>       at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:174)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:646)
>       at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 83)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>       at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>       at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:40
> 5)
>       at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
> onnection(Http11Protocol.java:376)
>       at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:50
> 8)
>       at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:518)
>       at java.lang.Thread.run(Thread.java:536)
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.373 / Virus Database: 208 - Release Date: 7/1/2002
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to