aspose file tools
The moose likes Tomcat and the fly likes Restart Tomcat Everytime? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Restart Tomcat Everytime?" Watch "Restart Tomcat Everytime?" New topic
Author

Restart Tomcat Everytime?

Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

I develop web apps in Eclipse using the Lomboz Plugin. I have an ANT task to deploy my web app into the tomcat/webapps folder. I do not deploy a WAR file do to an XML file I have for my datasource. (tomcat won't unpack the WAR file).
Anyway, Typically, I deploy the app, start Tomcat, test, the Stop Tomcat and undeploy.
Do I have to restart Tomcat everytime? Or can I just leave it running. It seems to tear away at my resources on my PC.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12267
    
    1
There is a rather elegant manager application in current Tomcat versions that will undeploy/deploy web applications without completely stopping and starting Tomcat.


Java Resources at www.wbrogden.com
Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

I would rather use my ANT script to handle all my deploy and undeploy operations. This also keeps me inside eclipse instead of going to another window.
Maybe I should get the IE plugin for eclipse and just run that manager from the plugin. Now there's an idea.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56179
    
  13

I don't remember the exact details, but there are ant plugins for the Tomcat manager actions.
bear


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Restart Tomcat Everytime?
 
Similar Threads
Eclipse + Lomboz problem
Error deploying a .war -- strange
Context and WAR file
war file deployment on tomcat startup, doesnt always work.
Tomcat hot deployment?