tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Hughes <leslie.hug...@rubus.com>
Subject RE: Anyone know a way around this
Date Wed, 26 Jun 2002 16:26:45 GMT

Is this you hitting the 32k method size limitation in Java (see the JLS for
details)? We've had similar probs with tags and struts generating huge
service() methods and found that we needed to reduce the tag count and
refactor the jsps.

Have fun!

Bye,
Les


> -----Original Message-----
> From: John Trollinger [mailto:jakarta@trollingers.com]
> Sent: 26 June 2002 13:37
> To: 'Tomcat Developers List'
> Subject: Anyone know a way around this
> 
> 
> Generated servlet error:
> C:\WEBCTRL2_0\jspcache\testsystem\properties\lvl5\huge$jsp.java:30165:
> code too large for try statement
>     } catch (Throwable t) {
>       ^
> C:\WEBCTRL2_0\jspcache\testsystem\properties\lvl5\huge$jsp.java:2969:
> code too large for try statement
>     try {
>         ^
> 
> 
> 
> An error occurred at line: 102 in the jsp file:
> /testsystem/properties/lvl5/huge.staging.jsp
> 
> Generated servlet error:
> Note: C:\WEBCTRL2_0\jspcache\testsystem\properties\lvl5\huge$jsp.java
> uses or overrides a deprecated API.
> Note: Recompile with -deprecation for details.
> 2 errors
> Compile failed; see the compiler error output for details.
> 	at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java)
> 	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java)
> 	at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:274)
> 	at
> org.apache.jasper.JspEngineContext.compile(JspEngineContext.java:385)
> 	at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
Wrapper.ja
> va:157)
> 	at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
.java:287)
> 	at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:238)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Applica
> tionFilterChain.java:247)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
cationFilt
> erChain.java:193)
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
rapperValv
> e.java:243)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:566)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
ine.java:4
> 72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
ontextValv
> e.java:215)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:566)
> 	at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
henticator
> Base.java:472)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:564)
> 	at
> org.apache.catalina.valves.CertificatesValve.invoke(Certificat
esValve.ja
> va:246)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:564)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
ine.java:4
> 72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.core.StandardContext.invoke(StandardContex
t.java:236
> 6)
> 	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
Valve.java
> :164)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:566)
> 	at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
e.java:462
> )
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:564)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
ine.java:4
> 72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
gineValve.
> java:163)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:566)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
ine.java:4
> 72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpP
rocessor.j
> ava:1005)
> 	at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
ssor.java:
> 1098)
> 	at java.lang.Thread.run(Thread.java:479)
> 
> 
> 	at
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(Defa
ultErrorHa
> ndler.java:120)
> 	at
> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDis
patcher.ja
> va:293)
> 	at
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:291)
> 	at
> org.apache.jasper.JspEngineContext.compile(JspEngineContext.java:385)
> 	at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
Wrapper.ja
> va:157)
> 	at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
.java:287)
> 	at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:238)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Applica
> tionFilterChain.java:247)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
cationFilt
> erChain.java:193)
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
rapperValv
> e.java:243)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:566)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
ine.java:4
> 72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
ontextValv
> e.java:215)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:566)
> 	at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
henticator
> Base.java:472)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:564)
> 	at
> org.apache.catalina.valves.CertificatesValve.invoke(Certificat
esValve.ja
> va:246)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:564)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
ine.java:4
> 72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.core.StandardContext.invoke(StandardContex
t.java:236
> 6)
> 	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
Valve.java
> :164)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:566)
> 	at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
e.java:462
> )
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:564)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
ine.java:4
> 72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
gineValve.
> java:163)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
ipeline.ja
> va:566)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
ine.java:4
> 72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> 	at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpP
rocessor.j
> ava:1005)
> 	at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProce
ssor.java:
> 1098)
> 	at java.lang.Thread.run(Thread.java:479)
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-dev-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message