Hi:

        I have an application in a WAR file.  I have no problem with it
running under Tomcat 4.0.6.  However when I deployed it to Tomcat 4.1.21, I
got the following error:
        
org.apache.jasper.JasperException: /home/top_nav.jsp(0,0) Invalid buffer
size
        at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:94)
        at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428
)
        at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:140
)
        at
org.apache.jasper.compiler.Validator$PageDirectiveVisitor.visit(Validator.ja
va:183)
        at
org.apache.jasper.compiler.Node$PageDirective.accept(Node.java:280)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1070)
        at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1076)
        at org.apache.jasper.compiler.Node$Root.accept(Node.java:232)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028)
        at org.apache.jasper.compiler.Validator.validate(Validator.java:581)
        at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:228)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
        at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
73)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
90)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        
        
        I tracked the problem to the following line
        
<%@ page language="java" import="java.util.*,java.io.*,apex.vs_admin.*"
buffer="16k"%>

        The issue is the buffer.  When I take out the buffer setting, then
the page show up without any problem.  I tried my application under Tomcat
4.1.24 and it is having the same issue.
        
        Anyone encountered this?  TIA
        
        
        
Willy

Reply via email to