This week's book giveaway is in the Game Development forum.
We're giving away four copies of Badass: Making Users Awesome and have Kathy Sierra on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes tomcat with maven Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "tomcat with maven" Watch "tomcat with maven" New topic

tomcat with maven

vasu chowdary
Ranch Hand

Joined: Mar 15, 2008
Posts: 90
Hi All,

I have a doubt on starting tomcat with maven.We won't give the tomcat installation path to maven, we just mention the tomcat manager URL.So how the maven will deploy and start the application with out knowing the tomcat installation directory it invoking local tomcat? or somewhere in the maven repository? because i installed tomcat in the port 8099 and i have given the manager URL as http://localhost:8080/manager, but still it is working.
can anybody explain please?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16536

Installing via directory copy is actually a "brute force" approach and it requires local filesystem access.

The Tomcat manager does a web-based install where the WAR is uploaded via an HTTPS file upload and Tomcat places it in a suitable deployment directory. Which is typically, although not always, TOMCAT_HOME/webapps.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: tomcat with maven