----- Original Message ----- From: "hisameer" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Thursday, July 31, 2008 4:29 PM
Subject: Re: Hot deployment Using Tomcat



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.

Try this... maybe it does what you want

http://localhost:8080/manager/deploy?localWar=file://PathToYourUnpackedWar&path=/ContextNameYouWant


and thats it... TC should do the rest ;)


---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------

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
<[EMAIL PROTECTED]>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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to