should appear in Host
and what in META-INF/context.xml??
The A Word on Contexts in
http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html doesn't give
any details.
Thanks,
Ken
Caldarale, Charles R wrote:
From: Ken Bowen [mailto:[EMAIL PROTECTED]
Subject: Weird problem: Two apparent
/www.domain.com/webapps name=domain.com ...
p
Thanks,
Ken
Caldarale, Charles R wrote:
From: Ken Bowen [mailto:[EMAIL PROTECTED] Subject: Weird problem: Two
apparent copies of app started
strongbrain/WEB-INF/lib/servlet-api.jar
One obvious error: you must not put the servlet-api.jar
From: Pid [mailto:[EMAIL PROTECTED]
Subject: Re: Weird problem: Two apparent copies of app started
DO NOT use the path or docBase attribute in a Context defined
outside of server.xml.
One exception to that: if the webapp is placed outside of the Host
appBase directory, your Context entry
From: Ken Bowen [mailto:[EMAIL PROTECTED]
Subject: Re: Weird problem: Two apparent copies of app started
So what I'm confused about is this: Exactly what should
appear in Host and what in META-INF/context.xml??
The A Word on Contexts in
http://tomcat.apache.org/tomcat-5.5-doc
Chuck, PID:
Thanks for the replies and pointers -- they're a real help.
Now, I'm sure the following is going to turn out to be a DUH! moment for
me, BUT:
If I put my context element in META-INF/context.xml, how is it
associated with a
particular virtual HOST?
It's obvious how this happens
From: Ken Bowen [mailto:[EMAIL PROTECTED]
Subject: Re: Weird problem: Two apparent copies of app started
If I put my context element in META-INF/context.xml, how is it
associated with a particular virtual HOST?
But if:
conf/server.xml defines two virtual hosts: Host1 and Host2
Ken Bowen wrote:
how does one ensure (if one can?) that myapp is an application running
in Host2,
but not in Host1 ??
Each host has its own appBase.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Well, I said it would be DUH!, didn't I.
Thanks a lot guys.
Have a good weekend,
Ken
Caldarale, Charles R wrote:
From: Ken Bowen [mailto:[EMAIL PROTECTED]
Subject: Re: Weird problem: Two apparent copies of app started
If I put my context element in META-INF/context.xml, how is it
associated
Hello All,
I have an application using data source pooling configured in
META-INF/context.xml.
I set up up the data sources and the classes accessing them in an
AppListener.
This app works fine on Tomcat 5.5.9 running on Windows and 5.5.25
running on Linux/CentOS 5.
I am attempting to bring
From: Ken Bowen [mailto:[EMAIL PROTECTED]
Subject: Weird problem: Two apparent copies of app started
strongbrain/WEB-INF/lib/servlet-api.jar
One obvious error: you must not put the servlet-api.jar inside your
webapp - the container supplies that. Remove it and see if it helps.
- Chuck
10 matches
Mail list logo