Local Installation Launch Localhost:8085
Asked by mkumar30:

Hi Team,

I am trying to install Bamboo latest version on my mac machine.

I am following same steps as below page

<https://confluence.atlassian.com/bamboo/installing-bamboo-on-mac-os-x-289276789.html>

1- I created a Bamboo folder on desktop. Unzip downloaded version in that folder.

2- create a Home folder insider Bamboo folder.

3- set path in property setting.

4- start bamboo shell script.

**Error Logs When i run below command on Terminal:=**

Command :- ./start-bamboo.sh -fg

Error Logs:=

Server startup logs are located in /Users/apple/Desktop/Bamboo/atlassian-bamboo-7.1.1/bin/logs/catalina.out

Bamboo Server Edition

Version : 7.1.1

If you encounter issues starting or stopping Bamboo Server, please see the Troubleshooting guide at <https://confluence.atlassian.com/display/BAMBOO/Installing+and+upgrading+Bamboo>

Using CATALINA_BASE: /Users/apple/Desktop/Bamboo/atlassian-bamboo-7.1.1

Using CATALINA_HOME: /Users/apple/Desktop/Bamboo/atlassian-bamboo-7.1.1

Using CATALINA_TMPDIR: /Users/apple/Desktop/Bamboo/atlassian-bamboo-7.1.1/temp

Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home

Using CLASSPATH: /Users/apple/Desktop/Bamboo/atlassian-bamboo-7.1.1/bin/bootstrap.jar:/Users/apple/Desktop/Bamboo/atlassian-bamboo-7.1.1/bin/tomcat-juli.jar

26-Aug-2020 23:16:58.894 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine/Valve} Setting property 'resolveHosts' to 'false' did not find a matching property.

26-Aug-2020 23:16:58.952 INFO \[main\] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: \[/Users/apple/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.\]

26-Aug-2020 23:16:59.103 INFO \[main\] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The \["http-nio-8085"\] connector has been configured to support HTTP upgrade to \[h2c\]

26-Aug-2020 23:16:59.103 INFO \[main\] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler \["http-nio-8085"\]

26-Aug-2020 23:16:59.165 SEVERE \[main\] org.apache.catalina.core.StandardService.initInternal Failed to initialize connector \[Connector\[HTTP/1.1-8085\]\]

org.apache.catalina.LifecycleException: Protocol handler initialization failed

at org.apache.catalina.connector.Connector.initInternal(Connector.java:1032)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:552)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:848)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.startup.Catalina.load(Catalina.java:639)

at org.apache.catalina.startup.Catalina.load(Catalina.java:662)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:303)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)

Caused by: java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:433)

at sun.nio.ch.Net.bind(Net.java:425)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:221)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1118)

at org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:223)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:587)

at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:74)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:1030)

... 13 more

26-Aug-2020 23:16:59.167 INFO \[main\] org.apache.catalina.startup.Catalina.load Initialization processed in 1621 ms

26-Aug-2020 23:16:59.194 INFO \[main\] org.apache.catalina.core.StandardService.startInternal Starting service \[Catalina\]

26-Aug-2020 23:16:59.195 INFO \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.51

26-Aug-2020 23:17:40.578 INFO \[localhost-startStop-1\] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

26-Aug-2020 23:17:53.853 INFO \[main\] org.apache.catalina.startup.Catalina.start Server startup in 54685 ms

26-Aug-2020 23:17:53.871 SEVERE \[main\] org.apache.catalina.core.StandardServer.await StandardServer.await: create\[localhost:8007\]:

java.net.BindException: Address already in use (Bind failed)

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)

at java.net.ServerSocket.bind(ServerSocket.java:375)

at java.net.ServerSocket.\<init\>(ServerSocket.java:237)

at org.apache.catalina.core.StandardServer.await(StandardServer.java:421)

at org.apache.catalina.startup.Catalina.await(Catalina.java:776)

at org.apache.catalina.startup.Catalina.start(Catalina.java:722)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)

26-Aug-2020 23:17:53.872 INFO \[main\] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler \["http-nio-8085"\]

26-Aug-2020 23:17:53.872 INFO \[main\] org.apache.catalina.core.StandardService.stopInternal Stopping service \[Catalina\]

26-Aug-2020 23:17:54.114 WARNING \[localhost-startStop-1\] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application \[ROOT\] registered the JDBC driver \[org.h2.Driver\] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

26-Aug-2020 23:17:54.189 INFO \[main\] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler \["http-nio-8085"\]

26-Aug-2020 23:17:54.189 INFO \[main\] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler \["http-nio-8085"\]

**Error when i launch Localhost:8085**

TimeLevelTypeDescriptionException.

|---------------------|-------|-----------|-------------------------------------------|---------------------------------------------------------------------------|
| 2020-08-25 00:10:18 | fatal | bootstrap | Could not load bootstrap from environment | java.lang.IllegalStateException: Unsupported Java version 14.0.2 detected |


Answers:
author: mkumar30
body: Fixed self. Closed this ticket