tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hisameer <cool_sameer_fo...@yahoo.com>
Subject Re: Hot deployment Using Tomcat
Date Thu, 31 Jul 2008 14:29:01 GMT

Thanks for your reply Alessandro

The autodeploy is set to true but but whenever my build process tries to
delete the previous .war file and 
the exploded war (which is exploded by tomcat) from webapps directory I
cannot delete them unless until I 
stop the server. I want to do this on the fly.

This is where I am failing.

 

Alessandro Ferrucci-3 wrote:
> 
> autoDeploy is set to true by default in tomcat 6, make sure that this
> attribute is set to "true" in the conf/server.xml.  If it is set to true,
> then no matter if you're re-deploying a packed or un-packed war, it will
> re-deploy should the timestamps on the web deployment descriptor change.
> 
> On Wed, Jul 30, 2008 at 5:30 PM, hisameer
> <cool_sameer_for_u@yahoo.com>wrote:
> 
>>
>> Hello Everyone
>>
>>
>> I am using the following versions :
>>
>> Eclipse Version : Ganemede
>> Tomcat Sysdeo Plugin(version 3.2.1)
>> Tomcat Server(version 6.0.16)
>>
>> I have a build.xml file created which basically puts all the contents of
>> a
>> webproject.war into the location /workspace/dist/webproject or I can say
>> I
>> have an exploded war. I don't know what should I do inorder to deploy
>> that
>> exploded war to the tomcat server. Also I want to get rid of starting and
>> stoping the server over and over again. I should be able to delete the
>> previous exploded war file and place the new one without stopping the
>> server. Previously I was creating a war file and I was stopping the
>> server
>> manually and then I was deleting the war file under /webapps folder of
>> Tomcat and then I was placing the new war file there and then I had to
>> start
>> the server again. But now as the project is growing big and we  want to
>> have
>> the flexibility in our project.
>>
>> We need the help regarding HOT Deployment. I read some online tutorials
>> and
>> tried to use them but no progress so for.
>>
>> Can you please tell me step by step process to achieve that goal.
>>
>>  Right now, I have the functionality of deleting the previous exploded
>> war
>> file and making a new exploded war file using my build.xml and placing it
>> into the /workspace/dist/ folder if there is some additional
>> functionality
>> needed please do let me know related to build.
>>
>> Thanks for YOUR help in advance . Please help me!
>> --
>> View this message in context:
>> http://www.nabble.com/Hot-deployment-Using-Tomcat-tp18743255p18743255.html
>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
>>
>>
> 
> 
> -- 
> Signed,
> Alessandro Ferrucci :)
> 
> 

-- 
View this message in context: http://www.nabble.com/Hot-deployment-Using-Tomcat-tp18743255p18755883.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


Mime
View raw message