Re: Yet another context logging question

2008-09-06 Thread Mark Thomas
Caldarale, Charles R wrote:
>> From: Jonathan Mast [mailto:[EMAIL PROTECTED]
>> Subject: Yet another context logging question
>>
>> Foo has a subdirectory "bar" which I would now like to be
>> it's own Context and AccessLogValue.
> 
> Such a configuration is not supported - webapps may not be nested.  Whatever 
> results you get will be purely accidental and not necessarily repeatable from 
> one Tomcat level to the next.

You can't deploy one web app that is located within the docBase of another
but you can deploy /foo and /foo/bar at the same time. The easiest way to
do this with Tomcat 6.0.18+ is to name your WARs foo.war and foo#bar.war
and place them in the host's appBase.

Mark



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Yet another context logging question

2008-09-05 Thread Caldarale, Charles R
> From: Jonathan Mast [mailto:[EMAIL PROTECTED]
> Subject: Yet another context logging question
>
> Foo has a subdirectory "bar" which I would now like to be
> it's own Context and AccessLogValue.

Such a configuration is not supported - webapps may not be nested.  Whatever 
results you get will be purely accidental and not necessarily repeatable from 
one Tomcat level to the next.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Yet another context logging question

2008-09-05 Thread Jonathan Mast
Hello all,

I have Context named "foo" whose path is "/foo" and whose docbase is
DOCS/foo.  foo has it's own AccessLogValve

Foo has a subdirectory "bar" which I would now like to be it's own Context
and AccessLogValue.

My question is: Will defining a context "/foo/bar" at DOCS/foo/bar, with
it's own LogValue, keep Foo's LogValve from capturing requests for Bar's
files?

Java 1.4.2
Tomcat 5.5

Thanks,
jhm