Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes How to deploy WAR using command prompt? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to deploy WAR using command prompt?" Watch "How to deploy WAR using command prompt?" New topic
Author

How to deploy WAR using command prompt?

Zabidin Mamat
Greenhorn

Joined: Oct 29, 2009
Posts: 2
Hi,

This is my case. I have server that located 30km from my office. I decide to do remote only instead of i go there and waste my time. So, anybody know how to deploy war file in tomcat using command promt? Any link that can be share with me?

Thank you.
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
How do you deploy on your local machine? Read http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html and pay attention on Deploying using the Tomcat Manager
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 860
You can also copy a war in the webapps directory and tomcat can automatically install reinstall.


http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
Samuel Behrman
Ranch Hand

Joined: Oct 02, 2009
Posts: 49
Hi.
Maye the url below will be helpful:
http://nagpals.com/blog/post.cfm/jboss-deploying-war-ear-from-command-line


RAQ Report: Web-based Excel-like Java reporting tool.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
You really should study the capabilities of the Tomcat Manager for monitoring and controlling your server. The HTML interface is very handy.

Bill
 
 
subject: How to deploy WAR using command prompt?
 
Similar Threads
how to create .war?
Calling java classes from jsp
Hot Deploy in iPlanet 6
Grails web app without using WAR files
JAX WS URL mapping