tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nuno Faria <nuno.m.fa...@gmail.com>
Subject Re: Tomcat 6 error compiling JSPs with nested @include directives
Date Wed, 05 May 2010 10:26:38 GMT
That would be a pain because I develop and maintain over 20 apps in a
CVS system and would force major changes on the dir estructure for our
development environments.

I got to this working config


      <Host name="proidev.lardocelar.com" debug="0"
appBase="c:/caixatec/webapps/"
       unpackWARs="true" autoDeploy="false" deployOnStartup="false">

	  <Context path="" docBase="proi" reloadable="true" />

      </Host>


      <Host name="sites_empresa.lardocelar.com" appBase="c:/caixatec/webapps/"
       unpackWARs="true" autoDeploy="false" deployOnStartup="false">

	<Context path="" docBase="sites_empresa" reloadable="true"/>

      </Host>

It meets my criteria for my local development environment of

1) do not initialize / load all apps on Tomcat Startup
2) control which Hosts are available (to lower resource consumption)
by just commenting out the Host definition
3) have all my apps in the same webapps folder, with onde folder for
each one and no underlying ROOT folder

Would apreciate your comments.
Thanx in advance

On Fri, Apr 30, 2010 at 4:38 PM, Caldarale, Charles R
<Chuck.Caldarale@unisys.com> wrote:
>> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
>> Subject: RE: Tomcat 6 error compiling JSPs with nested @include
>> directives
>>
>> You missed a critical part - your webapp must be deployed under
>>
>> C:\caixatec\webapps\sites_empresa\ROOT
>>
>> (case sensitive), not directly in the appBase directory.
>>
>> Read the docs.
>
> In particular, this one:
>
> http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
>
>  - 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: 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