Hi, It applies to APIs bundled in the J2SDK and the J2EE SDK. So servlet.jar, jsp-api.jar, jta.jar, jmx.jar, things like that, but not standard.jar, JDBC drivers, etc.
As a rule of thumb: if tomcat bundles a library, don't package a different version of the same library with your webapp. Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Jeffrey Barnett [mailto:[EMAIL PROTECTED] >Sent: Friday, September 03, 2004 2:16 PM >To: Tomcat Users List >Subject: Re: Tomcat 4.1: JSP pages don't always compile the first time? > >Does this warning/suggestion apply just to jsp-api.jar or to all the jsp >jars (e.g.jstl.jar, standard.jar,...) as well? > >Shapira, Yoav wrote: > >>Hi, >>You have mismatched versions of the Servlet API jars around. There >>should be only one, in tomcat's common repository. Don't ship the >>servlet or JSP API jars with your webapps. And if you stored references >>to objects from old versions of these APIs in your Sessions, junk the >>session repository (session.ser). >> >>Yoav Shapira >>Millennium Research Informatics >> >> >> >> >>>-----Original Message----- >>>From: Richard Mundell [mailto:[EMAIL PROTECTED] >>>Sent: Thursday, September 02, 2004 11:09 AM >>>To: [EMAIL PROTECTED] >>>Subject: Tomcat 4.1: JSP pages don't always compile the first time? >>> >>>We have a large JSP-based application which we're noting some first >>> >>> >>time >> >> >>>compilation problems. >>> >>>When we deploy the .war file (with the "work" cache deleted and Tomcat >>>freshly started) some of our pages (but not all) fail to compile upon >>>the first access with the error below. >>> >>>If you simply refresh the page through the web browser it then compiles >>>fine, and is fine from that point onwards. It always happens with the >>>same pages. These pages have includes of other JSP pages, but these >>> >>> >>have >> >> >>>all already been correctly compiled and previously accessed. >>> >>>Can anyone give me any ideas on this? I can't find anything similar >>>after trawling the search engines? >>> >>>Thanks, >>> >>>Richard >>> >>> >>>javax.servlet.ServletException: (class: >>>org/apache/jsp/OrderManagementComments_jsp, method: SortBasket >>>signature: (Ljavax/servlet/http/HttpSession;)V) Incompatible type for >>>getting or setting field >>> >>> at >>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) >>> >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >>> >>> at >>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl ic >>> >>> >>a >> >> >>>tionFilterChain.java:247) >>> >>> at >>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF il >>> >>> >>t >> >> >>>erChain.java:193) >>> >>> at >>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV al >>> >>> >>v >> >> >>>e.java:260) >>> >>> at >>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t. >>> >>> >>i >> >> >>>nvokeNext(StandardPipeline.java:643) >>> >>> at >>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a: >>> >>> >>4 >> >> >>>80) >>> >>> at >>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >>> >>> at >>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextV al >>> >>> >>v >> >> >>>e.java:191) >>> >>> at >>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t. >>> >>> >>i >> >> >>>nvokeNext(StandardPipeline.java:643) >>> >>> at >>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a: >>> >>> >>4 >> >> >>>80) >>> >>> at >>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >>> >>> at >>>org.apache.catalina.core.StandardContext.invoke(StandardContext.java: 23 >>> >>> >>9 >> >> >>>7) >>> >>> at >>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j av >>> >>> >>a >> >> >>>:180) >>> >>> at >>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t. >>> >>> >>i >> >> >>>nvokeNext(StandardPipeline.java:643) >>> >>> at >>>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche rV >>> >>> >>a >> >> >>>lve.java:170) >>> >>> at >>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t. >>> >>> >>i >> >> >>>nvokeNext(StandardPipeline.java:641) >>> >>> at >>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j av >>> >>> >>a >> >> >>>:171) >>> >>> at >>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t. >>> >>> >>i >> >> >>>nvokeNext(StandardPipeline.java:641) >>> >>> at >>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a: >>> >>> >>4 >> >> >>>80) >>> >>> at >>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >>> >>> at >>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve >>> >>> >>. >> >> >>>java:174) >>> >>> at >>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex t. >>> >>> >>i >> >> >>>nvokeNext(StandardPipeline.java:643) >>> >>> at >>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a: >>> >>> >>4 >> >> >>>80) >>> >>> at >>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >>> >>> at >>>org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458 ) >>> >>> at >>>org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551) >>> >>> at java.lang.Thread.run(Thread.java:484) >>> >>> >>> >> >> >> >> >>This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary and/or privileged. This e-mail is intended only for the >individual(s) to whom it is addressed, and may not be saved, copied, >printed, disclosed or used by anyone else. If you are not the(an) intended >recipient, please immediately delete this e-mail from your computer system >and notify the sender. Thank you. >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
