Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Tomcat instance will not start

Siim Loog July 27, 2016

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

3 votes
Answer accepted
Siim Loog July 31, 2016

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. 

Grigory Salnikov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2019

Hi @Siim Loog1 !

I've been trying to figure it out. Where have you catched this error, what parameter (and how) have you changed in the setenv.sh file?

Thanks in advance.

0 votes
Guilherme V.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 27, 2016

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.

Siim Loog July 27, 2016

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. 

Guilherme V.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 28, 2016

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 .

Siim Loog July 31, 2016

Ok. Thank you for your advice. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events