Tomcat instance will not start

Hello.


64 bit Centos system. Installed Confluence from bin. Opened ports, gave confluence user rights to the confluence install folder.  

When starting up confluence, these are the last lines that appear in catalina.out

27-Jul-2016 09:50:58.983 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone
27-Jul-2016 09:50:58.983 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.36




From testing on my local windows machine, these lines should be followed by  something like this:

27-Jul-2016 09:16:16.777 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]
27-Jul-2016 09:16:16.783 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 15315 ms

But these do not appear.

When stopping the confluence service, I get a message that the PID exists but the process does not.


How should I go about debugging/fixing this? 

 

 

2 answers

1 accepted

Figured it out. 


OOM killer was killing the process. Checked the parameters and noticed the tomcat instance was trying to reserve more memory than was available. Adjusted the memory settings in setenv.sh and instance is running now. 

0 vote

If Tomcat is not starting, you need to see the logs of the catalina.out file. Are you starting tomcat with JDK 1.8? If no, tomcat 8 won't start at all.

If i run confluence in the foreground with the command: 

sudo ./start-confluence.sh -fg



The last lines in the catalina.out file are as follows:

28-Jul-2016 06:51:49.322 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat-Standalone
28-Jul-2016 06:51:49.322 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.36
Killed




The "Killed" part appears ~10 seconds after the previous line. 



 "Are you starting tomcat with JDK 1.8?"

I have jdk 1.8 installed and JAVA_HOME set. 

Hi Siim,

I believe it's better to open a new support ticket at support.atlassian.com

Don't forget to attach in there the atlassian-confluence.log .

Ok. Thank you for your advice. 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,920 views 27 12
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