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 Context elements from

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-10 Thread Hassan Schroeder
On Sun, Jan 10, 2010 at 9:55 AM, Patrick Flaherty pflah...@rampageinc.com 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 =

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

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Hassan Schroeder
On Sun, Jan 10, 2010 at 10:45 AM, Patrick Flaherty pflah...@rampageinc.com 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

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 Host's ROOT app; not the machine's. Every Host must have a ROOT app, and most likely

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 everything is crud. I have 2 Tomcat

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 Host's ROOT app

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 Host then off my appBase I would have : /ROOT (a must default for each Host) /app2 /app3 To access these apps, the URL's for the apps would be : http

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
to be missing something in my server.xml. Thanks -P -- From: Caldarale, Charles R chuck.caldar...@unisys.com Sent: Sunday, January 10, 2010 3:40 PM To: Tomcat Users List users@tomcat.apache.org Subject: RE: Tomcat Filter Mapping Issue From: Patrick Flaherty

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 appBase path

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 Context elements from your webapps (which should not be in server.xml).

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
, January 10, 2010 6:57 PM To: Tomcat Users List users@tomcat.apache.org 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 Host ? Note that we mentioned

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

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 correctly

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 :

Re: Tomcat Filter Mapping Issue

2010-01-09 Thread Konstantin Kolinko
2010/1/10 Patrick Flaherty pflah...@rampageinc.com: 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

Re: Tomcat Filter Mapping Issue

2010-01-09 Thread Patrick Flaherty
-- From: Konstantin Kolinko knst.koli...@gmail.com Sent: Saturday, January 09, 2010 7:00 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: Tomcat Filter Mapping Issue 2010/1/10 Patrick Flaherty pflah...@rampageinc.com: Chris

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 webapps folder

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 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 the function of appBase

Re: Tomcat Filter Mapping Issue

2010-01-08 Thread Patrick Flaherty
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: Tomcat Filter Mapping Issue

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 *always* named ROOT (case sensitive

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 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