• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Restart Tomcat Everytime?

 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is a rather elegant manager application in current Tomcat versions that will undeploy/deploy web applications without completely stopping and starting Tomcat.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 67590
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't remember the exact details, but there are ant plugins for the Tomcat manager actions.
bear
 
reply
    Bookmark Topic Watch Topic
  • New Topic