tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Singleton <>
Subject Re: large content directory out of the webapp
Date Wed, 14 Sep 2005 10:53:18 GMT
Eickvonder Bjoern wrote:
> Hello,
> my webapplication consists of a rather small set of classes, jsps and so
> on but has got a rather large content directory (some GB). My problem is
> now if I want to update only the application itself but not the content
> by uploading a new war-file I nevertheless have to upload the content
> again.
> I cannot use a combination of Apache and Tomcat, letting Apache serve
> the content (and thus using another docbase) as this content has to be
> protected by a security-mechanism of the application.

Can you neither split it into two pure Tomcat apps?

Paul S.

> Is there any way to store the content data out of the webapplication
> directory but still being able to serve those files to the client? Of
> course I could write a servlet to do this job, but what about the
> performance if every request to a file goes through a servlet that looks
> for the file in another directory, parses it and then sends the stream
> back to the client? Anyone solved this problem that way and got any
> positive or negative experience?
> Or is it better to leave the content where it is and just update the
> application incrementally? If yes has anyone got a good hint how to
> manage this update process without the need of doing this manually (i.e.
> deleting old files, jsps, classes and uploading new ones)?
> Bjoern Eickvonder
> ____________
> Virus checked by G DATA AntiVirusKit
> Version: AVK 16.474 from 14.09.2005
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.24/101 - Release Date: 13/Sep/2005

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message