Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat with maven

 
vasu chowdary
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18156
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic