You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jacob Kjome <ho...@visi.com> on 2003/11/08 01:02:42 UTC

RE: Deploying a WAR file referenced by a Context configuration .XML file

At 02:58 PM 11/7/2003 -0500, you wrote:
> > What version of Tomcat are you using?
>
>4.1.27
>Mine behaved as you described UNTIL I explicitly referenced the .war file 
>in the docbase attribute.

Do a little test.  Try doing context.getRealPath("/") and tell me if that 
returns null or not.  If it doesn't return null, then, things have either 
changed in recent 4.1.xx versions or there is different behavior when 
pointing to a .war file outside a host's appBase.  If it does return null, 
then the app is truly being served from the .war file, not from an 
"exploded" directory.

Jake 


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