Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo6.5 installation on EC2 instance- Cannot stop Tomcat

Rajashree Baradur May 11, 2018

I am installing Atlassian Bamboo 6.5 on an Amazon EC2 instance. I have followed the steps mentioned in this post -

These are the version deatils:

Using CATALINA_BASE:   /opt/bamboo
Using CATALINA_HOME:   /opt/bamboo
Using CATALINA_TMPDIR: /opt/bamboo/temp
Using JRE_HOME:        /usr/lib/jvm/java-1.8.0-openjdk-amd64
Using CLASSPATH:       /opt/bamboo/bin/bootstrap.jar:/opt/bamboo/bin/tomcat juli.jar
Server version: Apache Tomcat/8.0.36
Server built:   Jun 9 2016 13:55:50 UTC
Server number:
OS Name:        Linux
OS Version:     4.4.0-1052-aws
Architecture:   amd64
JVM Version:    1.8.0_171-8u171-b11-0ubuntu0.16.04.1-b11
JVM Vendor:     Oracle Corporation

When I run, I get this output:

Using CATALINA_BASE:   /opt/bamboo
Using CATALINA_HOME:   /opt/bamboo
Using CATALINA_TMPDIR: /opt/bamboo/temp
Using JRE_HOME:        /usr/lib/jvm/java-1.8.0-openjdk-amd64
Using CLASSPATH:       /opt/bamboo/bin/bootstrap.jar:/opt/bamboo/bin/tomcat-juli.jar
Tomcat started.

But I am not able to browse to the application using the IP address or the servername.

When I run, I get the following error:

org.apache.catalina.startup.Catalina stopServer
SEVERE: Could not contact localhost:8007. Tomcat may not be running.
org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop: Connection timed out (Connection timed out)
    at Method)
        at org.apache.catalina.startup.Catalina.stopServer(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.catalina.startup.Bootstrap.stopServer(
        at org.apache.catalina.startup.Bootstrap.main(

Has anyone had the same issue? I think it means that Tomcat is not running on the server and it has something to do with the 8007 port which is the SHUTDOWN port mentioned in the server.xml file. Please advise.

1 answer

0 votes
Alexis Robert
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2019

Hi @Rajashree Baradur


you should first check if Bamboo is running after you start it with the following command:

ps -ef | grep bamboo

You should also have a look at the logs in /opt/bamboo/logs/catalina.out to check if you have any errors.

Regarding the shutdown port, don't worry about it: it's normal for this to be different than the application port, the error you're seeing is because there is no Bamboo process running, so Tomcat is unable to perform the shutdown action.


There is very probably another problem that prevents Bamboo from starting, this is what you should look for in the first place.


Let me know if you have any questions,



Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events