Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 35622 invoked from network); 7 Jul 2010 10:27:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jul 2010 10:27:18 -0000 Received: (qmail 64488 invoked by uid 500); 7 Jul 2010 10:27:15 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 64162 invoked by uid 500); 7 Jul 2010 10:27:12 -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 64153 invoked by uid 99); 7 Jul 2010 10:27:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 10:27:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pid@pidster.com designates 74.125.82.173 as permitted sender) Received: from [74.125.82.173] (HELO mail-wy0-f173.google.com) (74.125.82.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 10:27:03 +0000 Received: by wyb35 with SMTP id 35so6504237wyb.18 for ; Wed, 07 Jul 2010 03:26:42 -0700 (PDT) Received: by 10.216.165.131 with SMTP id e3mr732255wel.84.1278498402631; Wed, 07 Jul 2010 03:26:42 -0700 (PDT) Received: from Phoenix.local (cpc2-lewi13-2-0-cust269.2-4.cable.virginmedia.com [86.14.119.14]) by mx.google.com with ESMTPS id u5sm339976weq.31.2010.07.07.03.26.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Jul 2010 03:26:42 -0700 (PDT) Message-ID: <4C345644.6060304@pidster.com> Date: Wed, 07 Jul 2010 11:26:12 +0100 From: Pid Reply-To: pid@pidster.com Organization: Pidster Inc User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Webapp reloading issue and intermittent 404 errors References: <4C28A6B2.7090605@inet.hr> <4C28A7AF.70509@inet.hr> <4C29D01E.3020108@inet.hr> <99C8B2929B39C24493377AC7A121E21F98FB700F35@USEA-EXCH8.na.uis.unisys.com> <4C2A6392.4020905@pidster.com> <4C2B238C.7010201@inet.hr> <4C2B24B6.1090304@inet.hr> <4C2B2687.2070103@pidster.com> <4C2B5467.6050107@inet.hr> <4C3451D4.3040407@inet.hr> In-Reply-To: <4C3451D4.3040407@inet.hr> X-Enigmail-Version: 1.1.1 OpenPGP: id=62590808 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig81614CF8644DD86D5014EF8F" X-Virus-Checked: Checked by ClamAV on apache.org --------------enig81614CF8644DD86D5014EF8F Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable On 07/07/2010 11:07, Tomislav Petrovi=E6 wrote: > Tomislav Petrovi=E6 said on 30.6.2010 16:27: >>>> Forgot to say: >>>> Tomcat service is started with following parameters: >>>> >>>> JVM: have to check whether server or client, not sure at the moment.= >>> >>> Server, one would hope. Did you find out the exact version? >>> >> >> Yup JVM path for tomcat is ......\jdk1.6.0_18\jre\bin\server\jvm.dll, = so=20 >> Java 6 update 18 server. >=20 > Although initial excpetion and stacktrace (related to webapp reloading,= actually checking that it should or should not be reloaded) went away wi= th reloadable=3D"false" workaround I now have similar problem. >=20 > Please help since now machine is in (or near) production :(. >=20 > New stacktrace in catalina logs looks like (and produces 404 errors): >=20 > Jul 5, 2010 7:13:47 AM org.apache.catalina.connector.CoyoteAdapter serv= ice > SEVERE: An exception or error occurred in the container during the requ= est processing > java.lang.StringIndexOutOfBoundsException: String index out of range: 1= 15 > at java.lang.String.substring(String.java:1934) > at org.apache.catalina.util.RequestUtil.normalize(RequestUtil.java:131= ) > at org.apache.naming.resources.FileDirContext.normalize(FileDirContext= =2Ejava:771) > at org.apache.naming.resources.FileDirContext.file(FileDirContext.java= :811) > at org.apache.naming.resources.FileDirContext.getAttributes(FileDirCon= text.java:429) > at org.apache.naming.resources.BaseDirContext.getAttributes(BaseDirCon= text.java:747) > at org.apache.naming.resources.ProxyDirContext.revalidate(ProxyDirCont= ext.java:1501) > at org.apache.naming.resources.ProxyDirContext.cacheLookup(ProxyDirCon= text.java:1457) > at org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.= java:288) > at org.apache.tomcat.util.http.mapper.Mapper.internalMapWrapper(Mapper= =2Ejava:823) > at org.apache.tomcat.util.http.mapper.Mapper.internalMap(Mapper.java:6= 67) > at org.apache.tomcat.util.http.mapper.Mapper.map(Mapper.java:557) > at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(Coyote= Adapter.java:462) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.j= ava:296) > at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProces= sor.java:859) > at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.= process(Http11AprProtocol.java:579) > at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:= 1555) > at java.lang.Thread.run(Thread.java:619) >=20 > Everything else is same as I posted before (config file, JVM versions, = etc....) > Any advice is appreciated.... I think the general feeling is that it's a JVM bug - but no-one can work out what it is. I can't even work out how to get 115 characters out of a normal file path. Can you move the installation from: D:\Program Files\Apache Software Foundation\Tomcat 6.0 To: D:\Tomcat60 ? p > -- > Tomy >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org >=20 --------------enig81614CF8644DD86D5014EF8F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iQIcBAEBCgAGBQJMNFZfAAoJEGoM2OGpOvr9WuEQAKvWA7Pi0sOA94hAF4LDpwgG poul++ei7uMQmAYNczaA3BLdCafGBCOnK+nWL8ddUA6M0y8CHz4DcXj0Npkyjk8C 0V9pPID11rQjO+oOKSuSHlifWoZbM1VgVdGcmaATPtlaWQNUYX43rnfW2Csk7qY2 fKcEbDVay0c0KzCL9JXoO0qb9nKo63Vc7ewV+C0tdVJqELKNj3TDE6PxiRJxCbfM WAlCocJEk5e6zp+SHbPqwEiGMFfOHhyEW4raTvRGdwTZsXAhgmfSDzz0yLxbnMTP ZktTNsHRrBPp0mpf9Q50mjTTNoDDMRU8DySKAvSexN8hhc9RYQHX8zrLkSFkym5P obZLYTWZSvLhZtJxXxwul1LR2BY+343DFlE9yG8yU0bFnj/06OUJZ76EuXvjiLay i9mixd/DqatyRv9HKEYng9XTuj0prrCmo3ccp1645VkocJzZU7fClcF4bIAhKwSO 7+0uHX7EpqDzqTj+Ekt+WM98ICcopPGuftsXZkT5Hc0rzpU8zblAxHML5IsPxm9G cD21bWmFdiXcdcO4YZdTgPfWHRVoMv663/KXXuQMcaKOYaGddqa9I/eUN+VEXoIO MY1e2+GANFleyh7WLdHCjISEFvvjTdLBhjuNZ/sBGWo+SNcTDy6GfA5Tia1ot9BE RAeZtoMCLLaFwKOq1g2w =P64M -----END PGP SIGNATURE----- --------------enig81614CF8644DD86D5014EF8F--