This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying multiple web projects on Tomcat in Eclipse

 
Vivek Alampally
Ranch Hand
Posts: 67
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I need to deploy 2 web projects on Tomcat in Eclipse. So what I need is I want to start project 2 only after project 1 starts. Can this be done, If yes can you please tell me how?

Thanks,
Vivekanand Alampally.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After you declare your Tomcat server, you can add projects to it (right-click on the Tomcat instance in the Servers view and select Add and Remove...). Any project you add will be started when Tomcat is started. Thus both apps will start at the same time.

If you want to ensure that a second app is started only after a first one, then you will have to set things up to have only the first app's project added to Tomcat, and once it is running, then add the second project.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic