File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 17417

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: tomcat with maven
It's not a secret anymore!