Re: Webapp reloading issue and intermittent 404 errors

2010-08-09 Thread Tomislav Petrović
Caldarale, Charles R said on 8.7.2010 3:31: From: Caldarale, Charles R Subject: RE: Webapp reloading issue and intermittent 404 errors Given the test on lines 129-130, it is impossible to have a -1 at line 131 - unless there's a JVM bug. 6u21 was just released tonight, so you might give

RE: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Caldarale, Charles R
> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Subject: Re: Webapp reloading issue and intermittent 404 errors > > Oh. It matches this case. All three seem to. > The issue names mention "SSE 4.2", so it supposedly happens only on > certain families

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Konstantin Kolinko
2010/7/8 Caldarale, Charles R : >> From: Caldarale, Charles R >> Subject: RE: Webapp reloading issue and intermittent 404 errors >> >> Given the test on lines 129-130, it is impossible to have a -1 at line >> 131 - unless there's a JVM bug. > > 6u21 was

RE: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Webapp reloading issue and intermittent 404 errors > > Given the test on lines 129-130, it is impossible to have a -1 at line > 131 - unless there's a JVM bug. 6u21 was just released tonight, so you might give that a shot and see

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Konstantin Kolinko
2010/6/30 Tomislav Petrović : > Pid said on 30.6.2010 13:06: >> >> On 30/06/2010 11:59, Tomislav Petrović wrote: >>> >>>        >> reloadable="true" crossContext="true"> >>>        >> type="javax.sql.DataSource" /> >>>        >> type="javax.sql.DataSource" /> >> >> If these are the actual values th

RE: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Caldarale, Charles R
> From: Tomislav Petrović [mailto:t.petro...@inet.hr] > Subject: Re: Webapp reloading issue and intermittent 404 errors > > Don't know have to check with customer, but actual index varies in each > occurrence of stack trace, sometimes it is even -1. Here's the code of

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread André Warnier
Pid wrote: .. I wondered if it doesn't like spaces in File paths. I did not want to ask that question. Good that someone did. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: use

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Pid
On 07/07/2010 11:35, Tomislav Petrović wrote: > Pid said on 7.7.2010 12:26: >> On 07/07/2010 11:07, Tomislav Petrović wrote: >>> Tomislav Petrović said on 30.6.2010 16:27: >> Forgot to say: >> Tomcat service is started with following parameters: >> >> JVM: have to check whether serv

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Tomislav Petrović
Pid said on 7.7.2010 12:26: > On 07/07/2010 11:07, Tomislav Petrović wrote: >> Tomislav Petrović 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

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Pid
On 07/07/2010 11:07, Tomislav Petrović wrote: > Tomislav Petrović 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 th

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Tomislav Petrović
Tomislav Petrović 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 ..

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
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 Java 6 update 18 ser

RE: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Caldarale, Charles R
> From: Tomislav Petrović [mailto:t.petro...@inet.hr] > Subject: Re: Webapp reloading issue and intermittent 404 errors > > any idea what caused original problem? And if I can > provide any additional info to help resolve it. Again, we believe this to be a JVM bug, not specific to

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
Caldarale, Charles R said on 30.6.2010 15:03: From: Tomislav Petrović [mailto:t.petro...@inet.hr] Subject: Re: Webapp reloading issue and intermittent 404 errors Can you post me how my new server.xml should look and how some_webapp/META-INF/context.xml should look. Just remove all elements

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
Pid said on 30.6.2010 15:05: On 30/06/2010 13:07, Tomislav Petrović wrote: Pid said on 30.6.2010 13:06: On 30/06/2010 11:59, Tomislav Petrović wrote: If these are the actual values then it's a miracle it's working at all. Only app name/paths and jdbs names have been chang

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Pid
On 30/06/2010 13:07, Tomislav Petrović wrote: > Pid said on 30.6.2010 13:06: >> On 30/06/2010 11:59, Tomislav Petrović wrote: >>> >> reloadable="true" crossContext="true"> >>> >> type="javax.sql.DataSource" /> >>> >> type="javax.sql.DataSource" /> >> >> If these are the actual values th

RE: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Caldarale, Charles R
> From: Tomislav Petrović [mailto:t.petro...@inet.hr] > Subject: Re: Webapp reloading issue and intermittent 404 errors > > Can you post me how my new server.xml should look and how > some_webapp/META-INF/context.xml should look. Just remove all elements from server.xml - it&#x

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Pid
wrote: >>>>>> 2010/6/29 Caldarale, Charles R: >>>>>>>> From: Tomislav Petrović [mailto:t.petro...@inet.hr] >>>>>>>> Subject: Re: Webapp reloading issue and intermittent 404 errors >>>>>>>> >>>>

RE: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Caldarale, Charles R
> From: Tomislav Petrović [mailto:t.petro...@inet.hr] > Subject: Re: Webapp reloading issue and intermittent 404 errors > > > Do you actually have an 'endorsed' directory in your Tomcat > > installation? What's in it if you do? > > No I don't, this

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread David kerber
On 6/30/2010 8:38 AM, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: Webapp reloading issue and intermittent 404 errors JVM: have to check whether server or client, not sure at the moment. Server, one would hope. Probably not - it's a 32-bit Windows, an

RE: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Webapp reloading issue and intermittent 404 errors > > > Probably not - it's a 32-bit Windows, and you have to build your own > > JVM if you want a server version for that. > > Really?! I thought later vers

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread David kerber
On 6/30/2010 8:41 AM, Pid wrote: On 30/06/2010 13:38, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: Webapp reloading issue and intermittent 404 errors JVM: have to check whether server or client, not sure at the moment. Server, one would hope. Probably not

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Pid
On 30/06/2010 13:38, Caldarale, Charles R wrote: >> From: Pid [mailto:p...@pidster.com] >> Subject: Re: Webapp reloading issue and intermittent 404 errors >> >>> JVM: have to check whether server or client, not sure at the moment. >> >> Server, one would

RE: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Webapp reloading issue and intermittent 404 errors > > > JVM: have to check whether server or client, not sure at the moment. > > Server, one would hope. Probably not - it's a 32-bit Windows, and you have to build y

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
Pid said on 30.6.2010 13:06: On 30/06/2010 11:59, Tomislav Petrović wrote: If these are the actual values then it's a miracle it's working at all. Only app name/paths and jdbs names have been changed to dummy values. Instead of defining it there, remove the debu

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
: Webapp reloading issue and intermittent 404 errors org.apache.catalina.util.RequestUtil.normalize(RequestUtil.java:131) IIRC, you are not the first person to report an exception at this spot in the code. (Unfortunately, I can't locate the other thread at the moment, but it was fairly r

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Pid
o:t.petro...@inet.hr] >>>>>> Subject: Re: Webapp reloading issue and intermittent 404 errors >>>>>> >>>>>> org.apache.catalina.util.RequestUtil.normalize(RequestUtil.java:131) >>>>> >>>>> IIRC, you are not the firs

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Pid
On 30/06/2010 11:59, Tomislav Petrović wrote: > reloadable="true" crossContext="true"> >type="javax.sql.DataSource" /> >type="javax.sql.DataSource" /> If these are the actual values then it's a miracle it's working at all. Instead of defining it there, remove the

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
Tomislav Petrović said on 30.6.2010 12:59: Pid said on 29.6.2010 23:20: On 29/06/2010 19:29, Konstantin Kolinko wrote: 2010/6/29 Caldarale, Charles R: From: Tomislav Petrović [mailto:t.petro...@inet.hr] Subject: Re: Webapp reloading issue and intermittent 404 errors

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
Pid said on 29.6.2010 23:20: > On 29/06/2010 19:29, Konstantin Kolinko wrote: >> 2010/6/29 Caldarale, Charles R: >>>> From: Tomislav Petrović [mailto:t.petro...@inet.hr] >>>> Subject: Re: Webapp reloading issue and intermittent 404 errors >>>> >&g

Re: Webapp reloading issue and intermittent 404 errors

2010-06-29 Thread Pid
On 29/06/2010 19:29, Konstantin Kolinko wrote: > 2010/6/29 Caldarale, Charles R : >>> From: Tomislav Petrović [mailto:t.petro...@inet.hr] >>> Subject: Re: Webapp reloading issue and intermittent 404 errors >>> >>> org.apache.catalina.util.RequestUtil.normaliz

Re: Webapp reloading issue and intermittent 404 errors

2010-06-29 Thread Konstantin Kolinko
2010/6/29 Caldarale, Charles R : >> From: Tomislav Petrović [mailto:t.petro...@inet.hr] >> Subject: Re: Webapp reloading issue and intermittent 404 errors >> >> org.apache.catalina.util.RequestUtil.normalize(RequestUtil.java:131) > > IIRC, you are not the first pe

RE: Webapp reloading issue and intermittent 404 errors

2010-06-29 Thread Caldarale, Charles R
> From: Tomislav Petrović [mailto:t.petro...@inet.hr] > Subject: Re: Webapp reloading issue and intermittent 404 errors > > org.apache.catalina.util.RequestUtil.normalize(RequestUtil.java:131) IIRC, you are not the first person to report an exception at this spot in the code. (Unfo

Re: Webapp reloading issue and intermittent 404 errors

2010-06-29 Thread Mark Thomas
On 29/06/2010 12:51, Tomislav Petrović wrote: This is problematic code (part of normalize method): // Resolve occurrences of "//" in the normalized path while (true) { int index = normalized.indexOf("//"); if (index< 0) br

Re: Webapp reloading issue and intermittent 404 errors

2010-06-29 Thread Tomislav Petrović
Pid said on 29.6.2010 13:36: On 29/06/2010 11:51, Tomislav Petrović wrote: Tomislav Petrović said on 28.6.2010 15:46: Caldarale, Charles R said on 28.6.2010 15:32: Seems to me it is related to web app reloading but this is my blind guess. What makes you suspicious that reloading is going on?

Re: Webapp reloading issue and intermittent 404 errors

2010-06-29 Thread Pid
On 29/06/2010 11:51, Tomislav Petrović wrote: > Tomislav Petrović said on 28.6.2010 15:46: >> Caldarale, Charles R said on 28.6.2010 15:32: Seems to me it is related to web app reloading but this is my blind guess. >>> >>> What makes you suspicious that reloading is going on? >>> >> >> Ju

Re: Webapp reloading issue and intermittent 404 errors

2010-06-29 Thread Tomislav Petrović
Tomislav Petrović said on 28.6.2010 15:46: > Caldarale, Charles R said on 28.6.2010 15:32: > >> Seems to me it is related to web app reloading but this > >> is my blind guess. > > > > What makes you suspicious that reloading is going on? > > > > Just my VERY BIG AND BLIND guess based on classes in

Re: Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Pid
On 28/06/2010 14:51, Tomislav Petrović wrote: > Pid said on 28.6.2010 15:49: >> On 28/06/2010 14:46, Tomislav Petrović wrote: >>> Caldarale, Charles R said on 28.6.2010 15:32: >>>>> From: Tomislav Petrović [mailto:t.petro...@inet.hr] >>>>> Subj

Re: Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Tomislav Petrović
Pid said on 28.6.2010 15:49: On 28/06/2010 14:46, Tomislav Petrović wrote: Caldarale, Charles R said on 28.6.2010 15:32: From: Tomislav Petrović [mailto:t.petro...@inet.hr] Subject: Webapp reloading issue and intermittent 404 errors Tomcat is: Apache Tomcat/6.0.24, Java is 6 don't know u

Re: Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Pid
On 28/06/2010 14:46, Tomislav Petrović wrote: > Caldarale, Charles R said on 28.6.2010 15:32: >>> From: Tomislav Petrović [mailto:t.petro...@inet.hr] >>> Subject: Webapp reloading issue and intermittent 404 errors >>> >>> Tomcat is: Apache Tomcat/6.0

Re: Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Tomislav Petrović
Caldarale, Charles R said on 28.6.2010 15:32: >> From: Tomislav Petrović [mailto:t.petro...@inet.hr] >> Subject: Webapp reloading issue and intermittent 404 errors >> >> Tomcat is: Apache Tomcat/6.0.24, Java is 6 don't know update number >> exactly but can find

Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Tomislav Petrović
First of all apologies for problems with my first post Posting again completely new. I have two problems with a fairly complex webapp. I don't know if they are related or not. Webapp has been deployed on several dozens of customers without problem and tested in our lab on several configur

RE: Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Caldarale, Charles R
> From: Tomislav Petrović [mailto:t.petro...@inet.hr] > Subject: Webapp reloading issue and intermittent 404 errors > > Tomcat is: Apache Tomcat/6.0.24, Java is 6 don't know update number > exactly but can find out if necessary. Try moving to 6.0.26, or 6.0.27 when it com

Re: Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Pid
On 28/06/2010 14:25, Tomislav Petrović wrote: > I have two problems with a fairly complex webapp. I don't know if they > are related or not. > Webapp has been deployed on several dozens of customers without problem > and tested in our lab on several configurations without problem. > > However one

Webapp reloading issue and intermittent 404 errors

2010-06-28 Thread Tomislav Petrović
I have two problems with a fairly complex webapp. I don't know if they are related or not. Webapp has been deployed on several dozens of customers without problem and tested in our lab on several configurations without problem. However one customer has following two issues. Tomcat is: Apache Tomca