aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Deploying multiple web projects on Tomcat in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Deploying multiple web projects on Tomcat in Eclipse" Watch "Deploying multiple web projects on Tomcat in Eclipse" New topic
Author

Deploying multiple web projects on Tomcat in Eclipse

Vivek Alampally
Ranch Hand

Joined: Jul 10, 2008
Posts: 67
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

Joined: May 14, 2008
Posts: 5845
    
    7

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.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying multiple web projects on Tomcat in Eclipse