only tomcat is running but bamboo dosent get installed
Asked by anusha:

The bamboo instance was up and running, and once i restarted my computer, now my instance is not running.With start-bamboo.bat or with BambooConsole.bat, it only starts the tomcat server!

Below is the log,please assist or suggest !

```
C:\Program Files\Bamboo\bin>start-bamboo.bat /fg
Using CATALINA_BASE: "C:\Program Files\apache-tomcat-8.5.33"
Using CATALINA_HOME: "C:\Program Files\apache-tomcat-8.5.33"
Using CATALINA_TMPDIR: "C:\Program Files\apache-tomcat-8.5.33\temp"
Using JRE_HOME: "C:\Program Files\Java\jre"
Using CLASSPATH: "C:\Program Files\apache-tomcat-8.5.33\bin\bootstrap.jar;C:\Program Files\apache-tomcat-8.5.33\bin\tomcat-juli.jar"
11-Sep-2018 10:44:20.881 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.33
11-Sep-2018 10:44:20.881 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Aug 12 2018 08:20:08 UTC
11-Sep-2018 10:44:20.881 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.33.0
11-Sep-2018 10:44:20.881 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
11-Sep-2018 10:44:20.881 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jre
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_172-b11
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Program Files\apache-tomcat-8.5.33
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files\apache-tomcat-8.5.33
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Program Files\apache-tomcat-8.5.33\conf\logging.properties
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Program Files\apache-tomcat-8.5.33
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files\apache-tomcat-8.5.33
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files\apache-tomcat-8.5.33\temp
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.17] using APR version [1.6.3].
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
11-Sep-2018 10:44:20.896 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
11-Sep-2018 10:44:21.647 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2o 27 Mar 2018]
11-Sep-2018 10:44:21.803 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
11-Sep-2018 10:44:21.990 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-Sep-2018 10:44:21.990 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
11-Sep-2018 10:44:22.006 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-Sep-2018 10:44:22.006 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1552 ms
11-Sep-2018 10:44:22.053 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
11-Sep-2018 10:44:22.053 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.33
11-Sep-2018 10:44:22.084 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\apache-tomcat-8.5.33\webapps\docs]
11-Sep-2018 10:44:22.506 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\apache-tomcat-8.5.33\webapps\docs] has finished in [422] ms
11-Sep-2018 10:44:22.506 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\apache-tomcat-8.5.33\webapps\examples]
11-Sep-2018 10:44:23.475 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\apache-tomcat-8.5.33\webapps\examples] has finished in [969] ms
11-Sep-2018 10:44:23.475 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\apache-tomcat-8.5.33\webapps\host-manager]
11-Sep-2018 10:44:23.584 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\apache-tomcat-8.5.33\webapps\host-manager] has finished in [109] ms
11-Sep-2018 10:44:23.584 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\apache-tomcat-8.5.33\webapps\manager]
11-Sep-2018 10:44:23.662 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\apache-tomcat-8.5.33\webapps\manager] has finished in [78] ms
11-Sep-2018 10:44:23.662 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files\apache-tomcat-8.5.33\webapps\ROOT]
11-Sep-2018 10:44:23.741 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files\apache-tomcat-8.5.33\webapps\ROOT] has finished in [79] ms
11-Sep-2018 10:44:23.741 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
11-Sep-2018 10:44:23.756 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
11-Sep-2018 10:44:23.756 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 1758 ms
```


Answers:
author: Anonymous Coward
body: Simon says:

"

It looks like you have a seperate installation of Tomcat (8.5.33) which sets the CATALINA_BASE and CATALINA_HOME in your environment to point to itself and overrides any settings that the Bamboo startup scripts make at runtime. This is why it is not Bamboo that starts but this separate Tomcat instance.

If you are not using this Tomcat instance (which is installed in

```
C:\Program Files\apache-tomcat-8.5.33
```

then uninstall it and try starting Bamboo again. If you need to use this Tomcat instance check where in your environment the two variables are overriden and correct that.

"

Simon out.

comments: author: anusha
body: Thanks ! it worked !


Tags: tomcat