Re: Configuring which Servlet is invoked

2010-10-12 Thread Mark Eggers
mcat Users List Sent: Tue, October 12, 2010 7:43:35 AM Subject: RE: Configuring which Servlet is invoked > From: Mark Eggers [mailto:its_toas...@yahoo.com] > Subject: Re: Configuring which Servlet is invoked > If that's the case, then what I think you need are aliases > along

Re: Configuring which Servlet is invoked

2010-10-12 Thread André Warnier
Caldarale, Charles R wrote: For testing, this can be done in the hosts file. Only if the client is running on the same system as Tomcat. Not true. But it must be done in the hosts file of the client, not the server. - To u

RE: Configuring which Servlet is invoked

2010-10-12 Thread Caldarale, Charles R
> From: Mark Eggers [mailto:its_toas...@yahoo.com] > Subject: Re: Configuring which Servlet is invoked > If that's the case, then what I think you need are aliases > along with the default host definition. elements are *never* needed with the defaultHost; adding

Re: Configuring which Servlet is invoked

2010-10-12 Thread Pid
On 12/10/2010 05:20, Christopher Dodunski wrote: > Catalina logs contain some entries that may shine some light on the matter... > > SEVERE: Error starting static Resources > java.lang.IllegalArgumentException: Document base > /home/roller/application/optomus does not exist or is not a readable >

Re: Configuring which Servlet is invoked

2010-10-12 Thread Christopher Dodunski
Hi, you're looking at an old version of . The latest (just above) contains "blog.optomus.com" and contains several elements. Chris. > On 12/10/2010 02:54, Christopher Dodunski wrote: >> http://blog.christopher.net.nz"; >> appBase="/home/roller/application" >> unpackWARs="true" au

Re: Configuring which Servlet is invoked

2010-10-12 Thread Pid
On 12/10/2010 02:54, Christopher Dodunski wrote: > http://blog.christopher.net.nz"; > appBase="/home/roller/application" > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false" /> > > Remove the "http://"; bit from the name attribute. p

Re: Configuring which Servlet is invoked

2010-10-12 Thread Mark Eggers
appears to be a release candidate), not looked at the source code, nor done more than skim one web page and the PDF docs. . . . just my two cents. /mde/ - Original Message From: Christopher Dodunski To: users@tomcat.apache.org Sent: Mon, October 11, 2010 9:20:48 PM Subject: Re: Config

Re: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
Catalina logs contain some entries that may shine some light on the matter... SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /home/roller/application/optomus does not exist or is not a readable directory INFO: Container org.apache.catalina.core.ContainerB

RE: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
What I probably omitted to say is that localhost is likely to be associated with many more domains than the Roller application alone. So marrying the default host to Roller isn't likely to save me work. Instead, I have added elements to the Roller host for each blog domain. And so far so good!

RE: Configuring which Servlet is invoked

2010-10-11 Thread Caldarale, Charles R
> From: Christopher Dodunski [mailto:chrisfromsquir...@christopher.net.nz] > Subject: RE: Configuring which Servlet is invoked > Roller hosts multiple domains, and so I can't see how this > can be the default host. That is exactly the situation where you want it to be the de

RE: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
t the best option might be to set up a for each domain Roller serves, all with appBase="/home/roller/application". Is this the best solution in your opinion? Thanks, Chris. > From: Christopher Dodunski [mailto:chrisfromsquir...@...] > Subject: RE: Configuring which Servlet is in

RE: Configuring which Servlet is invoked

2010-10-11 Thread Caldarale, Charles R
> From: Christopher Dodunski [mailto:chrisfromsquir...@christopher.net.nz] > Subject: RE: Configuring which Servlet is invoked > I have now set up two elements inside server.xml with > appBases in two entirely different places... > >unpackWARs="

RE: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
er Dodunski [mailto:chrisfromsquir...@christopher.net.nz] > Subject: Re: Configuring which Servlet is invoked > So, based on your explanation below, Tomcat can actually have > more than one default application? Yes - there is always one per . You need to make the blog the defaultHost, an

RE: Configuring which Servlet is invoked

2010-10-11 Thread Caldarale, Charles R
> From: Christopher Dodunski [mailto:chrisfromsquir...@christopher.net.nz] > Subject: Re: Configuring which Servlet is invoked > So, based on your explanation below, Tomcat can actually have > more than one default application? Yes - there is always one per . You need to make t

Re: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
Hi André, So, based on your explanation below, Tomcat can actually have more than one default application? It can have one for each and every ? This is most interesting. I had assumed that the default application had to be installed at webapps/ROOT (or anywhere else the default host's appBase h

Re: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
Hi, Thank you André for your clear explanation below. I am aware already of how the directory structure relates to URL formation and, thanks to you and others, now understand the significance of elements within an . And I see how the default host is configured. It doesn't, though, quite answer

Re: Configuring which Servlet is invoked

2010-10-11 Thread André Warnier
Christopher Dodunski wrote: Hi, Thanks, but I'm not quite clear on how to direct Tomcat to call the ROOT application for a given domain. I added the bottom element to server.xml, but it doesn't appear to work correctly. Previously, the URL http://blog.christopher.net.nz/christophe

Re: Configuring which Servlet is invoked

2010-10-11 Thread André Warnier
Christopher Dodunski wrote: Hi, Thanks, but I'm not quite clear on how to direct Tomcat to call the ROOT application for a given domain. I added the bottom element to server.xml, but it doesn't appear to work correctly. See here : http://wiki.apache.org/tomcat/HowTo #39 --

Re: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
Hi, Thanks, but I'm not quite clear on how to direct Tomcat to call the ROOT application for a given domain. I added the bottom element to server.xml, but it doesn't appear to work correctly. Previously, the URL http://blog.christopher.net.nz/christopher called up webapps/christophe

Re: Configuring which Servlet is invoked

2010-10-11 Thread Pid
On 11/10/2010 08:53, Christopher Dodunski wrote: > Hello, > > I have a slight problem, and am having difficulty determining which part > of the Tomcat documentation applies in my case. > > Apache HTTP Server version (as proxy): 2.2.9 (Debian) > Tomcat version: 6.0.29 > > **My Problem** > Apache

Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
Hello, I have a slight problem, and am having difficulty determining which part of the Tomcat documentation applies in my case. Apache HTTP Server version (as proxy): 2.2.9 (Debian) Tomcat version: 6.0.29 **My Problem** Apache Roller weblogger is running on Tomcat with ROOT context, and is hosti