Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 8747 invoked from network); 12 Sep 2009 17:53:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Sep 2009 17:53:28 -0000 Received: (qmail 1042 invoked by uid 500); 12 Sep 2009 17:53:24 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 992 invoked by uid 500); 12 Sep 2009 17:53:24 -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 981 invoked by uid 99); 12 Sep 2009 17:53:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 17:53:24 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.55.111.79 as permitted sender) Received: from [65.55.111.79] (HELO blu0-omc2-s4.blu0.hotmail.com) (65.55.111.79) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Sep 2009 17:53:12 +0000 Received: from BLU142-W2 ([65.55.111.72]) by blu0-omc2-s4.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 12 Sep 2009 10:52:51 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_c8244eeb-2fa9-4c44-a0a9-38b0b79b376e_" X-Originating-IP: [96.237.34.165] From: Martin Gainty To: Tomcat Users List Subject: RE: Not compiling JSP's Date: Sat, 12 Sep 2009 13:52:51 -0400 Importance: Normal In-Reply-To: <000a01ca33d4$81cbc960$6a00a8c0@dan> References: <006001ca2a80$57f8e3f0$6a00a8c0@dan> <009601ca2a82$9a101220$6a00a8c0@dan> <003201ca2a97$c3803cb0$6a00a8c0@dan> <4A9CD803.1060507@apache.org> <007501ca2b05$d8855cd0$6a00a8c0@dan> <001201ca2bc6$36f0cc30$6a00a8c0@dan> <000a01ca33d4$81cbc960$6a00a8c0@dan> MIME-Version: 1.0 X-OriginalArrivalTime: 12 Sep 2009 17:52:51.0964 (UTC) FILETIME=[D941F3C0:01CA33D1] X-Virus-Checked: Checked by ClamAV on apache.org --_c8244eeb-2fa9-4c44-a0a9-38b0b79b376e_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable we would need=20 the full listing the problematic jsp (not snippets) the exact JVM/JDK you are compiling with which specific version of tomcat which OS version full display of web.xml full display of applicable servlet(s)/filter(s) source enumerated from web.= xml listing of all /WEB-INF/*.tld up to the first declarator e.g. "Struts Tags" 2.2.3 s /struts-tags .... thanks Martin Gainty=20 ______________________________________________=20 Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit= =E9 =20 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat= isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e= ou la copie de ceci est interdite. Ce message sert =E0 l'information seule= ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d= onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation= =2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni= . > From: carl@etrak-plus.com > To: users@tomcat.apache.org > Subject: Re: Not compiling JSP's > Date: Sat=2C 12 Sep 2009 13:11:53 -0500 >=20 > Finally have a resolution to this problem. At best=2C it is weird. >=20 > The problem: >=20 > Certain jsp's would fail to compile on test server but ran OK on producti= on=20 > and development machines. >=20 > Background: >=20 > Development computer 1: >=20 > Windows XP > Java version 1.6.0_11-b03 > Tomcat 6.0.16 >=20 > Development computer 2: >=20 > Windows XP > Java version 1.6.0_16 > Tomcat 5.5.17 >=20 > Production server: >=20 > Slackware Linux 12.x > Java version 1.5.0_01 > Tomcat 5.5.23 >=20 > Test server: >=20 > Slackware 12.x (new install... all latest updates) > Java version 1.6.0_13 > Tomcat 6.0.20 >=20 > Tomcat on production and test servers were downloads from Tomcat download= s=20 > page. All Java are from Sun (downloaded as tarballs.) >=20 > I could not see anything in any of the logs (catalina=2C host-manager=2C= =20 > localhost or manager) that gave me any clues. Brought up NetBeans on the= =20 > test server and moved the code to that machine. Compiled one of the jsp'= s I=20 > thought might be a problem and=2C sure enough=2C the compiler reported a = problem=20 > with: >=20 > value=3D"<%=3Drequest.getParameter("hidItemSerial")%>" /> >=20 > in a . It complained about this piece "hidItemSerial"= =20 > saying that the "'s must be escaped (I had wondered about this for a numb= er=20 > of years but as long as it was working=2C I didn't take time to understan= d hwo=20 > or why it worked.) As expected=2C these lines also failed: >=20 > value=3D"<%=3Drequest.getParameter("whereFrom")%>" /> >=20 > However this line: >=20 > value=3D"<%=3Drequest.getParameter("person_serial")%>" /> >=20 > worked in certain jsp's. And=2C this line: >=20 > "=20 > /> >=20 > Always worked. >=20 > I have fixed the 1=2C000+ lines it complained about but am still baffled= =20 > about: >=20 > 1. Why the compilers on most of my computers worked fine and the newest = one=20 > (test server) failed. >=20 > 2. Why I did not see any errors in any logs. >=20 > Any insights are appreciated. >=20 > TIA=2C >=20 > Carl >=20 >=20 >=20 >=20 >=20 >=20 >=20 > ----- Original Message -----=20 > From: "Martin Gainty" > To: "Tomcat Users List" > Sent: Wednesday=2C September 02=2C 2009 7:30 AM > Subject: RE: Not compiling JSP's >=20 >=20 >=20 > difficult without seeing code for problem jsp=2Caccompanying tlds and=20 > /WEB-INF/web.xml >=20 > Martin Gainty > ______________________________________________ > Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit= =E9 >=20 > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene=20 > Empfaenger sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefu= gte=20 > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht= =20 > dient lediglich dem Austausch von Informationen und entfaltet keine=20 > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von=20 > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAt= es pas le=20 > destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour satisfair= e=20 > informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e ou la= copie=20 > de ceci est interdite. Ce message sert =E0 l'information seulement et n'a= ura=20 > pas n'importe quel effet l=E9galement obligatoire. =C9tant donn=E9 que le= s email=20 > peuvent facilement =EAtre sujets =E0 la manipulation=2C nous ne pouvons a= ccepter=20 > aucune responsabilit=E9 pour le contenu fourni. >=20 >=20 >=20 >=20 > > From: carl@etrak-plus.com > > To: users@tomcat.apache.org > > Subject: Re: Not compiling JSP's > > Date: Wed=2C 2 Sep 2009 07:09:25 -0500 > > > > Ron=2C > > > > Thanks for your reply. > > > > The 'one hour off' problem was an install issue by the guy who brought = up > > that server... wait a minute=2C that was me. > > > > The mystery is that Tomcat will compile some JSP's just fine but will=20 > > always > > stop on the same ones. On the theory it was memory=2C I changed the Ja= va > > memory options to match the current production server... no joy there. = To > > test the theory the problrm was the last date modified=2C I made certai= n the > > dates on all JSP's were one day before the server date (note that the=20 > > dates > > on the JSP's that compiled were within seconds of those that didn't)...= no > > joy here either. If I copy .java files from development to server=2C t= he > > server will actually remove the .java files from the work directory so = no > > joy there. If I copy the .java and .class files from the development=20 > > build > > directory to the work directory on the server=2C that appeared to work = at=20 > > one > > point but now the server removes those files from the work directory. = The > > JSP's that the server fails on are no larger nor no more complex than=20 > > those > > it compiles. > > > > I am bringing Netbeans up on the server so I can step through what's > > happening but have not yet got that running. > > > > Thanks=2C > > > > Carl > > > > ----- Original Message -----=20 > > From: "Ron McNulty" > > To: "Tomcat Users List" > > Sent: Wednesday=2C September 02=2C 2009 3:04 AM > > Subject: Re: Not compiling JSP's > > > > > > > Hi Carl > > > > > > I've seen problems like this when deploying across time zones (in my= =20 > > > case > > > NZ -> San Francisco)=2C especially if there is a Windows box in the > > > equation. The "1 hour off" sounds odd - daylight saving problem? > > > > > > Regards > > > > > > Ron > > > > > > ----- Original Message -----=20 > > > From: "Carl" > > > To: "Tomcat Users List" > > > Sent: Wednesday=2C September 02=2C 2009 1:12 AM > > > Subject: Re: Not compiling JSP's > > > > > > > > >> Mark=2C > > >> > > >> Thanks for your reply. > > >> > > >> I checked the modification times and they are all yesterday while th= e > > >> system date/time on the server is today (although it was one hour of= f.) > > >> > > >> I am presently bringing Netbeans up on the test server in an attempt= to > > >> see what is happening. > > >> > > >> If you have any other suggestions=2C I am all ears. > > >> > > >> Carl > > >> > > >> > > >> ----- Original Message -----=20 > > >> From: "Mark Thomas" > > >> To: "Tomcat Users List" > > >> Sent: Tuesday=2C September 01=2C 2009 3:14 AM > > >> Subject: Re: Not compiling JSP's > > >> > > >> > > >>> Carl wrote: > > >>>> Odd that some JSP's get compiled and some won't. Note that it is > > >>>> always > > >>>> the same JSP's that will not compile. > > >>> > > >>> File modification times in the future on the JSPs? > > >>> > > >>> One way to find out what is going on is to use remote debugging and= =20 > > >>> your > > >>> favourite IDE to step through the JSP compilation process and see w= hy=20 > > >>> it > > >>> isn't working. > > >>> > > >>> Mark > > >>> > > >>> > > >>> > > >>> > > >>> -------------------------------------------------------------------= -- > > >>> To unsubscribe=2C e-mail: users-unsubscribe@tomcat.apache.org > > >>> For additional commands=2C e-mail: users-help@tomcat.apache.org > > >>> > > >>> > > >> > > >> > > >> --------------------------------------------------------------------= - > > >> To unsubscribe=2C e-mail: users-unsubscribe@tomcat.apache.org > > >> For additional commands=2C e-mail: users-help@tomcat.apache.org > > >> > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe=2C e-mail: users-unsubscribe@tomcat.apache.org > > > For additional commands=2C e-mail: users-help@tomcat.apache.org > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe=2C e-mail: users-unsubscribe@tomcat.apache.org > > For additional commands=2C e-mail: users-help@tomcat.apache.org > > >=20 > _________________________________________________________________ > With Windows Live=2C you can organize=2C edit=2C and share your photos. > http://www.windowslive.com/Desktop/PhotoGallery=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: users-unsubscribe@tomcat.apache.org > For additional commands=2C e-mail: users-help@tomcat.apache.org >=20 _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. http://clk.atdmt.com/GBL/go/171222986/direct/01/= --_c8244eeb-2fa9-4c44-a0a9-38b0b79b376e_--