tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bijesh Vijayan <bije...@gmail.com>
Subject Re: nested context issue in tomcat 7
Date Fri, 12 Aug 2011 16:58:49 GMT
Thanks Andre,

> If that interpretation is correct, it would mean that docBase is "wherever
> Tomcat happens to be running now" + a subdirectory "Employee".
> Is that what you mean here ?
No I mean my doc base is outside the tomcat directory.
I mean my context to be inside the appBase(/home/bijesh/webapps)

my absolute context directories are
/home/bijesh/webapps/Employee
/home/bijesh/webapps/Employee/Reports

my tomcat directory is in
/home/bijesh/tomcat

Thanks,
Bijesh


On Fri, Aug 12, 2011 at 12:51 PM, André Warnier <aw@ice-sa.com> wrote:
> Bijesh Vijayan wrote:
> ...
>
>>
>> file name = CATALINA_BASE/conf/Catalina/localhost/Employee.xml
>>                               <Context path="/Employee"
>>                                        docBase="./Employee"
>
> Hi.
> I find this docBase "suspicious", in the sense that it is (I think ) an
> absolute path specification, based on "." which usually means "the current
> directory".
> If that interpretation is correct, it would mean that docBase is "wherever
> Tomcat happens to be running now" + a subdirectory "Employee".
> Is that what you mean here ?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message