jQuery in Action, 2nd edition*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "tomcat with maven" Watch "tomcat with maven" New topic
Author

tomcat with maven

vasu chowdary
Ranch Hand

Joined: Mar 15, 2008
Posts: 88
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 path.is 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: 15665
    
  15

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: http://aspose.com/file-tools
 
subject: tomcat with maven
 
Similar Threads
manager app
Archiva
tomcat status
Deploy to Tomcat with Maven
How to see sessions in my tomcat hosts