chrisfromsquir...@christopher.net.nz
To: users@tomcat.apache.org
Sent: Mon, October 11, 2010 9:20:48 PM
Subject: Re: Configuring which Servlet is invoked
Catalina logs contain some entries that may shine some light on the matter...
SEVERE: Error starting static Resources
On 12/10/2010 02:54, Christopher Dodunski wrote:
Host name=http://blog.christopher.net.nz;
appBase=/home/roller/application
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false /
/Engine
Remove the http://; bit from the name attribute.
p
Hi, you're looking at an old version of Host. The latest (just above)
contains blog.optomus.com and contains several Alias elements.
Chris.
On 12/10/2010 02:54, Christopher Dodunski wrote:
Host name=http://blog.christopher.net.nz;
appBase=/home/roller/application
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
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.
Alias elements are *never* needed with the defaultHost; adding them may serve
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
...@unisys.com
To: Tomcat Users List users@tomcat.apache.org
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
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
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 Roller
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 Host element to
server.xml, but it doesn't appear to work correctly.
Engine name=Catalina defaultHost=localhost
Host name=localhost appBase=webapps unpackWARs=true
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 Host element to
server.xml, but it doesn't appear to work correctly.
See here :
http://wiki.apache.org/tomcat/HowTo
#39
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 Host element to
server.xml, but it doesn't appear to work correctly.
Engine name=Catalina defaultHost=localhost
Host name=localhost
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 Host elements within an
Engine. And I see how the default host is configured.
It doesn't, though,
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 Host? 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
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 Host.
You need to make the blog Host
. The catalina.out log
doesn't seem to give a reason. Have I missed an important step?
Thanks,
Chris.
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
From: Christopher Dodunski [mailto:chrisfromsquir...@christopher.net.nz]
Subject: RE: Configuring which Servlet is invoked
I have now set up two Host elements inside server.xml with
appBases in two entirely different places...
Engine name=Catalina defaultHost=localhost
Host name
option might be to set up a Host 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 invoked
I have now set up
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 defaultHost, so you
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 Alias elements to the Roller host for each blog
domain.
And so far so
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
21 matches
Mail list logo