Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 96201 invoked from network); 6 Oct 2008 11:39:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Oct 2008 11:39:15 -0000 Received: (qmail 72360 invoked by uid 500); 6 Oct 2008 11:39:02 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 72335 invoked by uid 500); 6 Oct 2008 11:39:02 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 72324 invoked by uid 99); 6 Oct 2008 11:39:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 04:39:02 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_SECURITYSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [198.152.13.100] (HELO co300216-co-outbound.avaya.com) (198.152.13.100) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 11:37:58 +0000 X-IronPort-AV: E=Sophos;i="4.33,367,1220241600"; d="scan'208";a="146286060" Received: from unknown (HELO nj300815-nj-erheast.avaya.com) ([198.152.6.5]) by co300216-co-outbound.avaya.com with ESMTP; 06 Oct 2008 07:37:33 -0400 Received: from unknown (HELO 301081ANEX2.global.avaya.com) ([135.27.4.113]) by nj300815-nj-erheast-out.avaya.com with ESMTP; 06 Oct 2008 07:37:32 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Problem with jasper-compiler when ported web application from tomcat 5.5.9 to 5.5.26 Date: Mon, 6 Oct 2008 19:37:32 +0800 Message-ID: In-Reply-To: <427155180810060357y57e25c8ft62e88df27e7340ab@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with jasper-compiler when ported web application from tomcat 5.5.9 to 5.5.26 Thread-Index: Acknol87yZN6k2SfRkCQCmrbRm+v7gAAjV5w References: <427155180810030638t7dad2b00y903ca9e3c1528c03@mail.gmail.com> <427155180810060357y57e25c8ft62e88df27e7340ab@mail.gmail.com> From: "Bhagwat, Vinit (Vinit)" To: "Tomcat Users List" X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the changelog link and pointers. This is not the actual snippet. I tried to simulate as per my application. What I suspect is if it should not try = to include def.jsp which was happening when I used 5.5.9 but with 5.5.26 I guess though t:panelTab rendered attribute is false it tries to include jsp page which is not in the same directory.=20 Can you please look into Bug 37326 for 5.5.25 I think this is related with my problem. Thanks and Regards, Vinit -----Original Message----- From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com]=20 Sent: Monday, October 06, 2008 4:27 PM To: Tomcat Users List Subject: Re: Problem with jasper-compiler when ported web application from tomcat 5.5.9 to 5.5.26 > I wanted to know what change has happened in above mentioned jars from > tomcat 5.5.9 to 5.5.26 which is breaking my code? Don't know. All changes are mentioned in the changelog, http://tomcat.apache.org/tomcat-5.5-doc/changelog.html and there is source code repository where you can look for commit history or compare branches. Deploying your app in different versions of 5.5.10 .. 5.5.25, or maybe also in a fresh install of 5.5.9, will help you to locate when the difference has appeared. Still, I think that it is something in your app. I do not see "dir2" in your code snippet. How it is supposed to work? Is it the actual snippet? Where that "dir2" comes from? 2008/10/6 Bhagwat, Vinit (Vinit) : > Even after clearing work directory on 5.5.9 this code works. > > I have 2 workarounds for this problem > 1) Use following jars from tomcat 5.5.9 in tomcat 5.5.26=20 > jasper-compiler.jar, jasper-compiler-jdt.jar, jasper-runtime.jar. > 2) Keep def.jsp at same location as test1.jsp and abc.jsp. > > With both these workarounds my application works fine. > > I wanted to know what change has happened in above mentioned jars from > tomcat 5.5.9 to 5.5.26 which is breaking my code? > > Thanks and Regards, > > Vinit > -----Original Message----- > From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com] > Sent: Friday, October 03, 2008 7:08 PM > To: Tomcat Users List > Subject: Re: Problem with jasper-compiler when ported web application=20 > from tomcat 5.5.9 to 5.5.26 > > 2008/10/3 Bhagwat, Vinit (Vinit) : >> Hi, >> >> I am getting following exception >> >> org.apache.jasper.JasperException: ServletException in >> '/testapp/dir1/test1.jsp': File "/testapp/dir2/def.jsp" not found >> >> when I ported my web application from tomcat 5.5.9 to 5.5.26 >> >> Following is code snippet from test1.jsp page under >> webapps/testapp/dir1 >> >> >> =20 >> >> page=3D"abc.jsp" /> > label=3D"def" rendered=3D"false"> =20 >> >> >> here abc.jsp is under directory webapps/testapp/dir1 (same directory=20 >> of >> test1.jsp) and def.jsp is under directory webapps/testapp/dir2. >> >> This used to work with tomcat 5.5.9 but with tomcat 5.5.26 I am=20 >> getting following exception >> >> org.apache.jasper.JasperException: ServletException in >> '/testapp/dir1/test1.jsp': File "/testapp/dir2/def.jsp" not found. >> > > If abc.jsp and def.jsp are in different directories, then it should be > jsp:include page=3D"../dir2/def.jsp" > > It might be that on your 5.5.9 there is some old compiled copy of=20 > def.jsp in the wrong place. I.e. it might be if you clear your work=20 > directory on your 5.5.9 host the problem will reappear there. > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org