This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 89
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: 15960

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.
It is sorta covered in the JavaRanch Style Guide.
subject: tomcat with maven
Similar Threads
tomcat status
Deploy to Tomcat with Maven
How to see sessions in my tomcat hosts
manager app