You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Markert <da...@mail.logicspan.com> on 2000/11/03 01:59:44 UTC

Out of Stack Space Problems Compiling JSP

Hey, 

We're running into a problem here where our JSP doesn't compile 
because of a stack space issue (see below).  Any ideas what the 
underlying problem might be and how to fix it?

Thanks,

DM


org.apache.jasper.JasperException: Unable to compile class for 
JSPThe compiler has run out of stack space.  Consider using the "-
J-oss" command line option to increase the memory allocated for 
the Java stack.

	at java.lang.Throwable.fillInStackTrace(Native Method)
	at java.lang.Throwable.fillInStackTrace(Compiled Code)
	at java.lang.Throwable.(Compiled Code)
	at java.lang.Exception.(Compiled Code)
	at javax.servlet.ServletException.
(ServletException.java:107)
	at org.apache.jasper.JasperException.
(JasperException.java:73)
	at org.apache.jasper.compiler.Compiler.compile(Compiled 
Code)
	at org.apache.jasper.runtime.JspServlet.loadJSP
(JspServlet.java:413)
	at 
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecess
ary(JspServlet.java:149)
	at 
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
(JspServlet.java:161)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile
(JspServlet.java:261)
	at org.apache.jasper.runtime.JspServlet.service(Compiled 
Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest
(Compiled Code)
	at org.apache.tomcat.core.RequestDispatcherImpl.forward
(RequestDispatcherImpl.java:163)
	at com.xxx.framework.HttpEvent.forward(HttpEvent.java:63)
	at com.xxx.listeners.StaticListener.executeEvent
(StaticListener.java:82)
	at com.xxx.framework.HttpEventSwitch.executeEvent
(HttpEventSwitch.java:10)
	at com.xxx.framework.xxx.doService(xxx.java:96)
	at com.xxx.framework.xxx.doGet(xxx.java:39)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest
(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest
(ServletWrapper.java:597)
	at org.apache.tomcat.servlets.InvokerServlet.service
(InvokerServlet.java:257)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest
(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled 
Code)
	at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnect
ion(Compiled Code)
	at org.apache.tomcat.service.TcpConnectionThread.run
(Compiled Code)
	at java.lang.Thread.run(Compiled Code)