You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sébastien Piller <pi...@hmcrecord.ch> on 2008/02/11 09:44:23 UTC
Make Tomcat not clean directory on new deployment
Hello people,
First, I would like to thank you all for your work on this great
project. Tomcat is, was, and will be my favourite webapp server from a
long time ;)
I never need to do a lot with its internal configuration, but now I'm
asking myself if the following stuff could be done:
I have an "upload" directory in my app. Users send us some files
(pictures and swf) and I put them in this directory.
But when I make some update of my webapp, I deploy a .war file. But
*this one doesn't have all the images* that were previously on the server!
Is it possible to tell Tomcat not to clean the webapp directory when a
war file is deployed?
Thank you vm ;)
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Make Tomcat not clean directory on new deployment
Posted by Sébastien Piller <pi...@hmcrecord.ch>.
Ok thank you, that's what I was afraid on...
My only problem is that I use a special web framework, I'll try to see
how I can load resource from out of the app in that framework.
Thank you again for your confirmation
David Smith a écrit :
> If you want to retain modifications like this, your only option is to
> deploy the exploded webapp. I would encourage you to store the
> uploaded files in another folder outside your webapp which would make
> updating your webapp cleaner, easier to manage.
>
> --David
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Make Tomcat not clean directory on new deployment
Posted by David Smith <dn...@cornell.edu>.
If you want to retain modifications like this, your only option is to
deploy the exploded webapp. I would encourage you to store the uploaded
files in another folder outside your webapp which would make updating
your webapp cleaner, easier to manage.
--David
Sébastien Piller wrote:
> Is it at least possible? Or is the only way to fix my issue to upload
> only exploded files (so Tomcat will not redeploy the app)?
>
> Anybody has an idea?
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Make Tomcat not clean directory on new deployment
Posted by Sébastien Piller <pi...@hmcrecord.ch>.
Is it at least possible? Or is the only way to fix my issue to upload
only exploded files (so Tomcat will not redeploy the app)?
Anybody has an idea?
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org