tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Continuing Frustration and Misery with Deployer
Date Fri, 07 Oct 2005 16:23:38 GMT
> From: Allistair Crossley [mailto:Allistair.Crossley@QAS.com] 
> Subject: RE: Continuing Frustration and Misery with Deployer
> 
> The thing is, I do not wish to execute directly from the WAR 
> as that would be inefficient.

If you only have classes (as opposed to resource files) I don't think it
will make a difference.  If you do have other resources in there, then
yes, expanding the war would probably be better.  However, I think
that's controlled solely by the unpackWARs attribute of the <Host> tag,
and has nothing to do with docBase.

> Therefore to avoid executing from the WAR itself I use a 
> relative path to the web application. Perhaps I should be 
> specifying docBase="ROOT" rather than /ROOT. 

That would probably be better; I wonder if you even need a docBase
attribute at all?  If the war file is under webapps, it may be redundant
(and possibly a contributor to the errors in the log).  Is your app
deployed from ROOT.war?

 - 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 unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message