Re: Tomcat Filter Mapping Issue

2010-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick, On 1/10/2010 1:45 PM, Patrick Flaherty wrote: > I do not dispute you at all, don't get me wrong. It's even been proven > in my testing that this is > what made filter mapping work for me. > > If you have a link that illustrates this I would

Re: Tomcat Filter Mapping Issue

2010-01-11 Thread Mark Thomas
On 10/01/2010 23:25, Caldarale, Charles R wrote: >> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] >> Sent: 2010 January 10, Sunday 16:28 >> To: Tomcat Users List >> >> Can anyone post a virtual host snippet from their server.xml ? > > Better if you post your server.xml and the elements

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
January 10, 2010 6:57 PM To: "Tomcat Users List" Subject: RE: Tomcat Filter Mapping Issue From: Patrick Flaherty [mailto:pflah...@rampageinc.com] Subject: Re: Tomcat Filter Mapping Issue To solve it, I simply removed the docBase="" from the ? Note that we mentioned an

RE: Tomcat Filter Mapping Issue

2010-01-10 Thread Caldarale, Charles R
> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Subject: Re: Tomcat Filter Mapping Issue > > To solve it, I simply removed the docBase="" from the ? Note that we mentioned an empty docBase was illegal quite some time ago. You should not have *any* elements in

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
x27;s ok not to have a docBase ? Thanks -P -- From: "Mark Thomas" Sent: Sunday, January 10, 2010 5:39 PM To: "Tomcat Users List" Subject: Re: Tomcat Filter Mapping Issue On 10/01/2010 22:28, Patrick Flaherty wrote: Uncle !

RE: Tomcat Filter Mapping Issue

2010-01-10 Thread Caldarale, Charles R
> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Sent: 2010 January 10, Sunday 16:28 > To: Tomcat Users List > > Can anyone post a virtual host snippet from their server.xml ? Better if you post your server.xml and the elements from your webapps (which should not be in server.xml). A

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Mark Thomas
On 10/01/2010 22:28, Patrick Flaherty wrote: > Uncle ! > > I just created a ROOT folder off of my appBase, cut and pasted all of > what was in my appbase > into the new ROOT folder. Restart Tomcat and I try and hit the app with > the hostname and I get > a 404 for /. > (If I add /ROOT to the appBa

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
missing something in my server.xml. Thanks -P -- From: "Caldarale, Charles R" Sent: Sunday, January 10, 2010 3:40 PM To: "Tomcat Users List" Subject: RE: Tomcat Filter Mapping Issue From: Patrick Flaherty [mailto:pflah...@rampage

RE: Tomcat Filter Mapping Issue

2010-01-10 Thread Caldarale, Charles R
> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Subject: Re: Tomcat Filter Mapping Issue > > If I have 3 apps for a given then off my appBase I > would have : > > /ROOT (a must default for each ) > /app2 > /app3 > > To access these apps, the URL&#x

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
On Jan 10, 2010, at 1:53 PM, Caldarale, Charles R wrote: From: Patrick Flaherty [mailto:pflah...@rampageinc.com] Subject: Re: Tomcat Filter Mapping Issue I don't touch that app, I leave it alone and it remains the machine's ROOT APP. No, it is that particular 's ROOT app; no

RE: Tomcat Filter Mapping Issue

2010-01-10 Thread Caldarale, Charles R
> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Subject: Re: Tomcat Filter Mapping Issue > > I have looked online at various How-To's and it's not clear to me > this is the case. The Internet is an excellent example of Sturgeon's Law: 95% of everythin

RE: Tomcat Filter Mapping Issue

2010-01-10 Thread Caldarale, Charles R
> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Subject: Re: Tomcat Filter Mapping Issue > > I don't touch that app, I leave it alone and it remains the > machine's ROOT APP. No, it is that particular 's ROOT app; not the machine's. Every must h

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Hassan Schroeder
On Sun, Jan 10, 2010 at 10:45 AM, Patrick Flaherty wrote: > I have not read that explicitly. I have looked online at various How-To's Things that are not part of the "official" documentation have a very real chance of being out-of-date, misleading, or just plain wrong. Try this instead :-)

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
Hi Hassan, I have not read that explicitly. I have looked online at various How- To's and it's not clear to me this is the case. I have 2 Tomcat reference books neither which mention this about Virtual Hosts. I will look some more. I do not dispute you at all, don't get me wrong. It's even b

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Hassan Schroeder
On Sun, Jan 10, 2010 at 9:55 AM, Patrick Flaherty wrote: > I set up three VIRTUAL HOSTS matching the names of the 3 PUBLIC domain names > I have mapping to the IP address of the box. > > Like the following : > > Host name = "www.myapp1.com"   appbase = "c:/app1" > Host name = "www.myapp2.com"   a

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
On Jan 10, 2010, at 12:25 AM, Caldarale, Charles R wrote: From: Patrick Flaherty [mailto:pflah...@rampageinc.com] Subject: Re: Tomcat Filter Mapping Issue Meaning every host should have a ROOT app regardless of whether you are hosting ONE or MORE apps on a host ! Correct. Good

RE: Tomcat Filter Mapping Issue

2010-01-09 Thread Caldarale, Charles R
> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Subject: Re: Tomcat Filter Mapping Issue > > Meaning every host should have a ROOT app regardless of whether you are > hosting ONE or MORE apps on a host ! Correct. > That is what I had. I had the ROOT app off the w

Re: Tomcat Filter Mapping Issue

2010-01-09 Thread Patrick Flaherty
-- From: "Konstantin Kolinko" Sent: Saturday, January 09, 2010 7:00 PM To: "Tomcat Users List" Subject: Re: Tomcat Filter Mapping Issue 2010/1/10 Patrick Flaherty : Chris, Although adding ROOT of my appBase fixed my Filte

Re: Tomcat Filter Mapping Issue

2010-01-09 Thread Konstantin Kolinko
2010/1/10 Patrick Flaherty : > Chris, > > Although adding ROOT of my appBase fixed my Filter mapping issue, I'm > guessing that I need to > put every bit of my app (all classes, libs etc ) into that ROOT folder, > correct ? > > So then if I decide to deploy another app in a virtual host say for

Re: Tomcat Filter Mapping Issue

2010-01-09 Thread Patrick Flaherty
Chris, Although adding ROOT of my appBase fixed my Filter mapping issue, I'm guessing that I need to put every bit of my app (all classes, libs etc ) into that ROOT folder, correct ? So then if I decide to deploy another app in a virtual host say for instance : Host Name : www.domai

Re: Tomcat Filter Mapping Issue

2010-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick, On 1/8/2010 6:17 PM, Patrick Flaherty wrote: > Thanks a lot. I added a ROOT folder off my appBase and cut and pasted > everything under that ROOT folder > and now I am getting filter mapping hits with my ft.com ! We are not > deploying correc

Re: Tomcat Filter Mapping Issue

2010-01-09 Thread Pid
On 08/01/2010 23:17, Patrick Flaherty wrote: Christopher and Charles. Thanks a lot. I added a ROOT folder off my appBase and cut and pasted everything under that ROOT folder and now I am getting filter mapping hits with my ft.com ! We are not deploying correctly and this sheds all the light on t

Re: Tomcat Filter Mapping Issue

2010-01-08 Thread Patrick Flaherty
Christopher and Charles. Thanks a lot. I added a ROOT folder off my appBase and cut and pasted everything under that ROOT folder and now I am getting filter mapping hits with my ft.com ! We are not deploying correctly and this sheds all the light on that fact. Curiously I was not able to ge

Re: Tomcat Filter Mapping Issue

2010-01-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick, On 1/8/2010 3:49 PM, Patrick Flaherty wrote: > If I use a host name of ft.com with a appBase of c:/FilterTest then > doesn't c:/FilterTest become my web server root for ft.com? As Chuck points out, no: C:\FilterTest\ROOT is the "server root"

RE: Tomcat Filter Mapping Issue

2010-01-08 Thread Caldarale, Charles R
> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Subject: Re: Tomcat Filter Mapping Issue > > If I use a host name of ft.com with a appBase of c:/FilterTest then > doesn't c:/FilterTest become my web server root for ft.com? No. The default webapp is *alwa

Re: Tomcat Filter Mapping Issue

2010-01-08 Thread Patrick Flaherty
om. That is how it works with our product today. It starting to sound like the complete URL has to be part of % CATALINAHOME%'s path to get a filter hit ? Thanks On Jan 8, 2010, at 2:16 PM, Caldarale, Charles R wrote: From: Patrick Flaherty [mailto:pflah...@rampageinc.com] Subject: Re: To

Re: Tomcat Filter Mapping Issue

2010-01-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 1/8/2010 2:16 PM, Caldarale, Charles R wrote: > You appear to have placed your webapp named Proofs under the default > 's appBase, and everything works as expected. Not quite, since a webapp called "Proofs" would require a filter-mapped URL

RE: Tomcat Filter Mapping Issue

2010-01-08 Thread Caldarale, Charles R
> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Subject: Re: Tomcat Filter Mapping Issue > > I could not get it to work using our shipping configuration > which is appBase pointing to a folder off the c:\ drive. That's because you don't seem to understand th

Re: Tomcat Filter Mapping Issue

2010-01-08 Thread Patrick Flaherty
Hello, Thanks for your response. I don't intend to run 2 apps (virtual hosts) on the server, just one. I have 2 setup on the same server so I could compare results from the different setups. I could not get it to work using our shipping configuration which is appBase pointing to a folder off

Re: Tomcat Filter Mapping Issue

2010-01-08 Thread Pid
On 08/01/2010 14:55, Patrick Flaherty wrote: Hello, I'm trying to get filter mapping working in Windows Tomcat 6.0.20. I can get it to work one way but not another. I have 2 virtual hosts where filter mapping on one host is working (I get a hit) and another host that does not work (no hits) He

Tomcat Filter Mapping Issue

2010-01-08 Thread Patrick Flaherty
Hello, I'm trying to get filter mapping working in Windows Tomcat 6.0.20. I can get it to work one way but not another. I have 2 virtual hosts where filter mapping on one host is working (I get a hit) and another host that does not work (no hits) Here are the 2 virtual hosts as seen in Se