• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Programmaticaly undeploy webapp

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have a ServletContextListener which starts several timers. Under some conditions (some directory are not present for example) I want to prevent the application to be deployed.

Do you know if it is possible ?

Thanks.

Christophe
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

christophe seguinot wrote:Hello,

I have a ServletContextListener which starts several timers. Under some conditions (some directory are not present for example) I want to prevent the application to be deployed.

Do you know if it is possible ?

Thanks.

Christophe



How are you deploying the app? You may be able to use ANT to verify the directories are there and then only deploy if they are.
 
reply
    Bookmark Topic Watch Topic
  • New Topic