multiple tomcat install - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

tmfryer
Posts: 2
Joined: Tue Oct 16, 2012 7:27 pm

multiple tomcat install

I need to install two separate installations (and services) of tomcat (along with my WAR files). Using the Tomcat Web Application I created two separate installers (install Tomcat as a bundle - each in their own application directory, each create their own service, and each use different http ports). Both installers install without error, but only the first installed tomcat runs correctly. What did I miss?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: multiple tomcat install

Hello and welcome to Advanced Installer forums,

I'm not sure why you are encountering this behavior. If both installations succeed, then you should investigate why the related application doesn't run properly (i.e. you can generate a log when run your application). If the behavior is generated by the installation process, then you should tell us what part of installation doesn't execute properly. Also, can you install your second Tomcat web application on a clean machine (without your first Tomcat application) and see if the behavior still reproduce?

Please keep in mind that in order to clearly report an issue you can take a look on our How to report a problem for a faster resolution article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tmfryer
Posts: 2
Joined: Tue Oct 16, 2012 7:27 pm

Re: multiple tomcat install

My apologies...hopefully this will help clarify things

I have two independent Windows 7 (32-bit) installers of Tomcat Web Application that installs Tomcat + my WAR file to a unique directory. Install #1 uses port 8080 and installs to app1 directory. Installer #2 uses port 8086 and installs to app2 directory.

The first installation of Tomcat (regardless of which the two installers are used as the first installer) installs correctly. The Tomcat service is running and I can pull up the Apache page with http://localhost:8080 (or 8086 if I install installer #2 first). When I install the second Tomcat installation, it installs correctly to port 8086 (of 8080 if I install installer #1 as the second installer) and I receive no errors. However, the second Tomcat service is installed (set to Automatic) but will not start automatically or manually.

Each installer installs to different directory and uses separate ports. When either of the installers are installed individually, the single installation works as expected. When the second Tomcat installer is installed, the second Tomcat installation does not work correctly. I have replicated this on two different (clean/new installs) of Windows 7 (32-bit) machines.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: multiple tomcat install

Hello,

I'm afraid I'm not sure why you are encountering this behavior. Can you please make sure that your services have unique service names? Also, you can take a look on "How to deploy multiple web application in tomcat which will run on different ports?" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”