File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes how to shutdown tomcat remote ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to shutdown tomcat remote ??" Watch "how to shutdown tomcat remote ??" New topic

how to shutdown tomcat remote ??


Joined: Jul 10, 2002
Posts: 3
I have a small problem and don't know how to solve this.
While building some java - web applications i use ANT to do the complete process. But when i have already built my WAR and sent it to my remote tomcat(3.3.1) - server, i don't know how do deploy it as part of my ANT - process.
My remote tomcat - server is running inside an ANT-loop, so every time i shutdown tomcat ANT will restart it (and deploy my war). So if i cloud teach tomcat to shutdown, using a simple URLConnection inside my local build.xml i'll be happy (and my manager too ).
But how can I shutdown tomcat 3.3.1 remotely using a simple URLConnction ?
I agree. Here's the link:
subject: how to shutdown tomcat remote ??
It's not a secret anymore!