• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Starting and Stopping Tomcat Server Using Ant Script

 
Venkata Sirish
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,
I want to start and stop Tomcat server using Ant Script ... Can anyone help me... Please send me tha code if possible......
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat doesn't supply any Ant tasks. But you can do it with the existing tasks Ant supplies. You can use the <exec /> task to run a command.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Individual web apps can be started, stopped and reloaded by the Tomcat Manager Ant tasks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic