tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Chr Langfjæran <ole.christian.langfjae...@advicom.no>
Subject Re: java.lang.VerifyError Wrong return type in function
Date Fri, 13 Jan 2006 07:19:09 GMT
Found the problem/solution. The error occurs because Tomcat uses java 
5.0 while the servlet has been compiled with java 1.4. Compiling the 
servlet with 5.0 resulted in a much nicer log!

Ole Chr Langfjæran wrote:

> My servlet seems seemingly to work just fine, but running through the 
> log I've found a whole bunch of FATAL errors. They also seem to have 
> risen without me envoking the servlet and the classes involved are 
> nothing but apache. What could it be?
> Errorlog:
>
> java.lang.VerifyError: (class: 
> org/apache/jasper/runtime/PageContextImpl, method: 
> getExpressionEvaluator signature: 
> ()Ljavax/servlet/jsp/el/ExpressionEvaluator;) Wrong return type in 
> function
>     at 
> org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:99)

>
>     at 
> org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:61) 
>
>     at org.apache.jsp.index_jsp._jspService(index_jsp.java:32)
>     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

>
>     at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

>
>     at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 
>
>     at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 
>
>     at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 
>
>     at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 
>
>     at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 
>
>     at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 
>
>     at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868) 
>
>     at 
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)

>
>     at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 
>
>     at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

>
>     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


-- 


Ole Christian Langfjæran
Systemutvikler

Seilmakergt. 3, 7725 Steinkjer
ole.christian.langfjaeran@advicom.no 
<mailto:ole.christian.langfjaeran@advicom.no>

Tlf.: +47 41 22 36 31
Faks: +47 74 16 25 19 	
www.advicom.no <http://www.advicom.no>


Mime
View raw message