Problem with Tomcat by second instance

Hi everybody,

we use JIRA in version 6.3.12 (Windows 64 Bit Installer) standalone on our system.

Now we have installed a second instance of JIRA on the same Server.

The second instance starts, but we have problems with Tomcat.

 

 Tomcat.png

 

We have read from the Atlassian website:

Not deploying multiple instances using a Single Tomcat Application Container

https://confluence.atlassian.com/display/JIRA/Running+multiple+instances+of+JIRA+on+one+machine

Is there a specific configuration we need to do for tomcat ?

 

Best Regards,

Sven & Andrei / Peter

 

 

8 answers

1 accepted

0 votes
Accepted answer

Hello Sven,

I looked to my server.xml in JIRA Tomcat and think that you could need to adjust one more port not outlined in article you linked in the question. Here is snipped of the XML with ports highlighted by "==".

<Server port="==8005==" shutdown="SHUTDOWN">
  ...
  <Service name="Catalina">
    ...
    <Connector port="==8080==" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" 
    ...
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="==8009==" protocol="AJP/1.3" redirectPort="8443" />

You can use 8006, 8081 and 8010. Just make sure that they are not used: http://stackoverflow.com/questions/273159/how-to-determine-if-a-port-is-open-on-a-windows-server

Hi Sven and Peter,

 

What's the error message you are getting? I can't seem to see it in the attached screenshot.

Anyway, if you want to install multiple instances of Stand Alone JIRA on a server you will need to change at least:

  • the ports the JIRA instances are using
  • make sure they use a different database
  • make sure they use a different home and install directory

Best regards,

Peter

Hi Sven!

You need separate Tomcat and need to adjust ports as described in the article you linked.

Hello Volodymyr and Peter,

Thank you for the quick reply, we did use different ports and also created another database and of course we used different instalation folders. The only thing we didn't know how to do was the configuration for Tomcat to not use the same container, we are noobs on this part and we need some guidance.

The issue is that the second instance is not launching, the web page is not starting.

Should we get you some log files ? And which ones ?

Capture.PNG

Thanks,

Peter

Could you take a look in the atlassian-jira.log file in the home-dir/logs directory of your second instance? If you have installed a second standalone the container shouldn't be an issue. Best regards, Peter

 Please find attached the log file

Peter and Sven, It seems that your JIRA instance is locked, could you please follow the instructions here: https://confluence.atlassian.com/pages/viewpage.action?pageId=223220062

Hi again and thank you for the support so far, we managed to get it up and running but we stumbled now again on a different issue. As we have two instances on the same server, we can only run one instance at a time, they can't run both at the same time. Is this normal to happen or are we doing something wrong ?

Hi Andrei! They should run as long as they are on different ports. Please check the ports as outlined in my previous answer.

 

@Volodymyr Krupach

 

Now we have made screens from our server.xml.

 

As you can see we used different ports, but issue is still the same, that is why we don't think it's port related but rather it has something to do with tomcat. We don't know for sure.

 

THX for helping

first_instance.png

 

 

 

 

second instance.png

 

 

 

@all

THX for Support.

It works now perfectly.

  

Best Regards,

Sven & Peter

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,143 views 12 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you