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

2 votes
Answer 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 votes

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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

278 views 2 10
Read article

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