Just installed Jira on a clean install of CentOS 6 w/ apache on it. I plan to also install conflunence and use virtual hosts to proxy the ports for both applications. However, after installing Jira ad starting the service, I am not able to access the installation through the server's IP w/ the 8080 port. I'm sure I missed something pretty obvious, but any guidance will certainly be appreciated!
Also, for anyone who can recommend certain things to avoid (or make sure to do) when installing both of these applications on the server w/ Apache, let me know!
This is what I found in the startup logs:
2014-02-04 20:46:46,920 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger] Running JIRA startup checks.
2014-02-04 20:46:46,920 localhost-startStop-1 FATAL [atlassian.jira.startup.JiraStartupLogger] Startup check failed. JIRA will be locked.
2014-02-04 20:46:46,991 localhost-startStop-1 INFO [jira.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /var/atlassian/application-data/jira/dbconfig.xml
2014-02-04 20:46:47,475 localhost-startStop-1 WARN [jira.config.properties.ApplicationPropertiesStore] Exception getting property 'jira.trustedapps.user.name.transformation.policy.class' from database. Using default
2014-02-04 20:46:48,241 localhost-startStop-1 ERROR [jira.web.dispatcher.JiraWebworkActionDispatcher]
JIRA startup failed, JIRA has been locked.
Feb 04, 2014 8:46:48 PM org.apache.catalina.startup.HostConfig start
SEVERE: Unable to create directory for deployment: /opt/atlassian/jira/conf/Catalina/localhost
Feb 04, 2014 8:46:48 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Feb 04, 2014 8:46:48 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 18713 ms
I think I got to the root of the issue, or at least, one of the big ones. From what I could tell, when I installed Jira, then Confluence, then Stash, I used the automated installer for the first two, which put them both in the same Tomcat container (correct?). I'm not all that familiar with Tomcat unfortunately, but certainly going to do some more reading up now.
So, I have a clean install of CentOS. Is it possible to install Confluence and then Jira using the automated BIN file, but making sure they are two separate Tomcat containers, so they don't interfere with each other?
I checked out this page: https://confluence.atlassian.com/display/DOC/Installing+Confluence+and+JIRA+Together
Which was helpful in explaining the situation, but doesn't go into any detail on making sure to install them so they won't interfere with each other, and they can still play nice.
I'd be surprised if the installers put Jira and Confluence in the same Tomcat - that's explicitly stated as a bad idea on Atlassian's website!
You're absolutely right that they should be separate, and the BIN installers should create completely separate installations (including the Tomcats).
As long as they are installed in different locations (so as a really simple example, /opt/jira and /opt/conf for the installs and /data/jira and /data/conf for their "home" directories) then the only clash you might get is the ports - you need to make sure they listen on different ones. (e.g. Jira on 8080 and confluence on 8090, and Stash on 8075 or something). That's all in the server.xml for each one.
Followed those instructions, unfortunately, same issue upon restarting Jira. I'm not sure if this is related, but Confluence is throwing this 500 error...
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149) com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) com.atlassian.confluence.setup.ConfluenceEncodingFilter.getGlobalSettings(ConfluenceEncodingFilter.java:45) com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncodingInternal(ConfluenceEncodingFilter.java:35) com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncoding(ConfluenceEncodingFilter.java:27) com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:38) com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:65)
If you think it's worth installing piece by piece overagain on a clean OS install, I can make better notes of what I do, and if the same issue
comes up again, hopefully that can help solve the issue, and anyone else who bumps into similar circumstances.
Let me know what you think.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....
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!
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