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

Installation of bamboo

bsarkar June 19, 2012

I am trying to istall bamboo.

I already edit the "bamboo-init.properties" file

then start the bamboo server.

after start the server i am getting following error.

HTTP ERROR: 404

Problem accessing /. Reason:

    Not Found


<small>Powered by Jetty://</small>

plz help

5 answers

1 accepted

0 votes
Answer accepted
Renan Battaglin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 20, 2012

Hi Biswajit,

Would you confirm if the Java JDK being pointed by the local JAVA_HOME environment variable is a Sun/Oracle JDK? You can check the current Java vendor running "java -version" on the console.

Bamboo currently supports Oracle JDK and OpenJDK. Please, make sure that the JAVA_HOME variable is pointing to one of these.

Let us know what you find,

Cheers,

Renan

0 votes
Renan Battaglin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 28, 2012

Hi,

I can see that Bamboo can see a JAVA JDK 1.5 (version not supported) as being the one available:

Starting Bamboo using Java 1.5.0 from Free Software Foundation, Inc.

Please, make sure that version 1.6 or 1.7 are the ones available to in the JAVA_HOME variable.

You can see more details about the supported versions in this page.

Cheers,

Renan

Pynlab SRL June 4, 2019

hi,

help me please!

i've a similar problem but i have installed jdk 1.8

see log:

2019-06-04 13:05:57,856 INFO [localhost-startStop-1] [BootstrapLoaderListener] Starting BootstrapLoaderListener
2019-06-04 13:05:57,857 INFO [localhost-startStop-1] [lifecycle] *******************************
2019-06-04 13:05:57,857 INFO [localhost-startStop-1] [lifecycle] * Bamboo is starting up *
2019-06-04 13:05:57,857 INFO [localhost-startStop-1] [lifecycle] *******************************
2019-06-04 13:05:57,857 INFO [localhost-startStop-1] [ServletContextHolder] Setting servlet context: Bamboo
2019-06-04 13:05:57,915 INFO [localhost-startStop-1] [lifecycle] atlassian.org.osgi.framework.bootdelegation set to javax.servlet,javax.servlet.*,sun.*,com.sun.*,org.w3c.dom.*,org.apache.xerces.*,org.jboss.byteman.*,jdk.internal.reflect
2019-06-04 13:05:58,228 INFO [localhost-startStop-1] [BootstrapLoaderListener] App classloader is the same as web app classloader
2019-06-04 13:06:00,029 INFO [localhost-startStop-1] [lifecycle] Starting Bamboo 6.9.0 (build #60909 Wed May 22 16:17:44 CEST 2019) using Java 1.8.0_212 from Oracle Corporation
2019-06-04 13:06:00,029 INFO [localhost-startStop-1] [lifecycle] Real path of servlet context: /var/atlassian/application/bamboo/atlassian-bamboo-6.9.0/atlassian-bamboo/
2019-06-04 13:06:00,140 INFO [localhost-startStop-1] [lifecycle] Bamboo home directory: /var/atlassian/application/bamboo
2019-06-04 13:06:00,140 INFO [localhost-startStop-1] [lifecycle] Default charset: UTF-8, file name ecoding: UTF-8
2019-06-04 13:06:00,150 INFO [localhost-startStop-1] [UpgradeLauncher] Upgrades not performed since the application has not been set up yet.
2019-06-04 13:06:00,190 INFO [localhost-startStop-1] [CompressingFilter] CompressingFilter has initialized
2019-06-04 13:06:01,047 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2019-06-04 13:06:02,602 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2019-06-04 13:06:02,754 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2019-06-04 13:06:03,929 INFO [localhost-startStop-1] [AccessLogFilter] AccessLogFilter initialized. Format is: <user> <url> <starting memory free (kb)> +- <difference in free mem (kb)> <query time (ms)>
2019-06-04 13:06:04,095 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2019-06-04 13:06:04,418 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2019-06-04 13:06:04,523 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
04-Jun-2019 13:06:04.811 INFORMAZIONI [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-8085"]
04-Jun-2019 13:06:04.930 INFORMAZIONI [main] org.apache.catalina.startup.Catalina.start Server startup in 23422 ms

Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 4, 2019

Hi @Pynlab SRL,

The snippet of the log file you provided doesn't seem to have any errors listed.  Which log file did you get this from? 

This indicates that the webserver started so if you didn't grab this from the atlassian-bamboo.log file in the logs folder of your BAMBOO_HOME directory you should check there for errors.

Thanks!

-James 

Pynlab SRL June 4, 2019

Thank you James,

 

this is snippet from netstat -tulpn

[root@bamboo atlassian-bamboo-6.9.0]# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3187/sshd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 3212/postgres
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3560/master
tcp6 0 0 127.0.0.1:8085 :::* LISTEN 3935/java
tcp6 0 0 :::22 :::* LISTEN 3187/sshd
tcp6 0 0 ::1:5432 :::* LISTEN 3212/postgres
tcp6 0 0 ::1:25 :::* LISTEN 3560/master
udp 0 0 0.0.0.0:68 0.0.0.0:* 2995/dhclient
udp 0 0 127.0.0.1:323 0.0.0.0:* 2671/chronyd
udp6 0 0 ::1:323 :::* 2671/chronyd

 

 

this from atlassian-bamboo.log

2019-06-04 15:19:43,933 INFO [localhost-startStop-1] [BootstrapLoaderListener] Starting BootstrapLoaderListener
2019-06-04 15:19:43,933 INFO [localhost-startStop-1] [lifecycle] *******************************
2019-06-04 15:19:43,933 INFO [localhost-startStop-1] [lifecycle] * Bamboo is starting up *
2019-06-04 15:19:43,933 INFO [localhost-startStop-1] [lifecycle] *******************************
2019-06-04 15:19:43,934 INFO [localhost-startStop-1] [ServletContextHolder] Setting servlet context: Bamboo
2019-06-04 15:19:44,043 INFO [localhost-startStop-1] [lifecycle] atlassian.org.osgi.framework.bootdelegation set to javax.servlet,javax.servlet.*,sun.*,com.sun.*,org.w3c.dom.*,org.apache.xerces.*,org.jboss.byteman.*,jdk.internal.reflect
2019-06-04 15:19:44,356 INFO [localhost-startStop-1] [BootstrapLoaderListener] App classloader is the same as web app classloader
2019-06-04 15:19:46,194 INFO [localhost-startStop-1] [lifecycle] Starting Bamboo 6.9.0 (build #60909 Wed May 22 16:17:44 CEST 2019) using Java 1.8.0_212 from Oracle Corporation
2019-06-04 15:19:46,194 INFO [localhost-startStop-1] [lifecycle] Real path of servlet context: /var/atlassian/application/bamboo/atlassian-bamboo-6.9.0/atlassian-bamboo/
2019-06-04 15:19:46,324 INFO [localhost-startStop-1] [lifecycle] Bamboo home directory: /var/atlassian/application/bamboo
2019-06-04 15:19:46,324 INFO [localhost-startStop-1] [lifecycle] Default charset: UTF-8, file name ecoding: UTF-8
2019-06-04 15:19:46,341 INFO [localhost-startStop-1] [UpgradeLauncher] Upgrades not performed since the application has not been set up yet.
2019-06-04 15:19:46,377 INFO [localhost-startStop-1] [CompressingFilter] CompressingFilter has initialized
2019-06-04 15:19:47,278 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2019-06-04 15:19:48,763 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2019-06-04 15:19:48,896 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2019-06-04 15:19:50,071 INFO [localhost-startStop-1] [AccessLogFilter] AccessLogFilter initialized. Format is: <user> <url> <starting memory free (kb)> +- <difference in free mem (kb)> <query time (ms)>
2019-06-04 15:19:50,221 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2019-06-04 15:19:50,475 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2019-06-04 15:19:50,576 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy

 

this from catalina.out

04-Jun-2019 15:19:25.980 AVVERTENZA [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Valve} Setting property 'resolveHosts' to 'false' did not find a matching property.
04-Jun-2019 15:19:26.008 INFORMAZIONI [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: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
04-Jun-2019 15:19:26.059 INFORMAZIONI [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio-127.0.0.1-8085"] connector has been configured to support HTTP upgrade to [h2c]
04-Jun-2019 15:19:26.060 INFORMAZIONI [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-8085"]
04-Jun-2019 15:19:26.092 INFORMAZIONI [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
04-Jun-2019 15:19:26.117 INFORMAZIONI [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1354 ms
04-Jun-2019 15:19:26.124 INFORMAZIONI [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
04-Jun-2019 15:19:26.124 INFORMAZIONI [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.39
04-Jun-2019 15:19:43.158 INFORMAZIONI [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.
2019-06-04 15:19:43,933 INFO [localhost-startStop-1] [BootstrapLoaderListener] Starting BootstrapLoaderListener
2019-06-04 15:19:43,933 INFO [localhost-startStop-1] [lifecycle] *******************************
2019-06-04 15:19:43,933 INFO [localhost-startStop-1] [lifecycle] * Bamboo is starting up *
2019-06-04 15:19:43,933 INFO [localhost-startStop-1] [lifecycle] *******************************
2019-06-04 15:19:43,934 INFO [localhost-startStop-1] [ServletContextHolder] Setting servlet context: Bamboo
2019-06-04 15:19:44,043 INFO [localhost-startStop-1] [lifecycle] atlassian.org.osgi.framework.bootdelegation set to javax.servlet,javax.servlet.*,sun.*,com.sun.*,org.w3c.dom.*,org.apache.xerces.*,org.jboss.byteman.*,jdk.internal.reflect
2019-06-04 15:19:44,356 INFO [localhost-startStop-1] [BootstrapLoaderListener] App classloader is the same as web app classloader
2019-06-04 15:19:46,194 INFO [localhost-startStop-1] [lifecycle] Starting Bamboo 6.9.0 (build #60909 Wed May 22 16:17:44 CEST 2019) using Java 1.8.0_212 from Oracle Corporation
2019-06-04 15:19:46,194 INFO [localhost-startStop-1] [lifecycle] Real path of servlet context: /var/atlassian/application/bamboo/atlassian-bamboo-6.9.0/atlassian-bamboo/
2019-06-04 15:19:46,324 INFO [localhost-startStop-1] [lifecycle] Bamboo home directory: /var/atlassian/application/bamboo
2019-06-04 15:19:46,324 INFO [localhost-startStop-1] [lifecycle] Default charset: UTF-8, file name ecoding: UTF-8
2019-06-04 15:19:46,341 INFO [localhost-startStop-1] [UpgradeLauncher] Upgrades not performed since the application has not been set up yet.
2019-06-04 15:19:46,377 INFO [localhost-startStop-1] [CompressingFilter] CompressingFilter has initialized
2019-06-04 15:19:47,278 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2019-06-04 15:19:48,763 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2019-06-04 15:19:48,896 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2019-06-04 15:19:50,071 INFO [localhost-startStop-1] [AccessLogFilter] AccessLogFilter initialized. Format is: <user> <url> <starting memory free (kb)> +- <difference in free mem (kb)> <query time (ms)>
2019-06-04 15:19:50,221 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2019-06-04 15:19:50,475 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2019-06-04 15:19:50,576 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
04-Jun-2019 15:19:50.865 INFORMAZIONI [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-8085"]
04-Jun-2019 15:19:51.008 INFORMAZIONI [main] org.apache.catalina.startup.Catalina.start Server startup in 24891 ms

 

 

bamboo.home=/var/atlassian/application/bamboo  

is path from bamboo-int.properties

 

regards

0 votes
Renan Battaglin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 20, 2012

Hi,

Indeed, to edit the bamboo-init.properties file is the only necessary step before running Bamboo.

The 404 HTTP error can mean that a resource needed by the server may not be available, causing the server to be unavailable.

Would you attach your bamboo-init.properties file here as well as the server log file so we can check what is being reported?

Cheers,

Renan

bsarkar June 20, 2012
2012-06-20 20:13:36.599:WARN::FAILED WebAppContext@954f00@954f00/,file:/home/office/Desktop/ebook/Bamboo/webapp/,webapp: java.lang.Error: org.xml.sax.SAXNotSupportedException: http://apache.org/xml/features/nonvalidating/load-external-dtd
2012-06-20 20:13:36.601:WARN::Error starting handlers
java.lang.Error: org.xml.sax.SAXNotSupportedException: http://apache.org/xml/features/nonvalidating/load-external-dtd
	at org.eclipse.jetty.xml.XmlParser.setValidating(XmlParser.java:115)
	at org.eclipse.jetty.xml.XmlParser.&lt;init&gt;(XmlParser.java:73)
	at org.eclipse.jetty.webapp.WebDescriptor.newParser(WebDescriptor.java:64)
	at org.eclipse.jetty.webapp.WebDescriptor.ensureParser(WebDescriptor.java:55)
	at org.eclipse.jetty.webapp.Descriptor.parse(Descriptor.java:54)
	at org.eclipse.jetty.webapp.WebDescriptor.parse(WebDescriptor.java:142)
	at org.eclipse.jetty.webapp.MetaData.setDefaults(MetaData.java:116)
	at org.eclipse.jetty.webapp.WebXmlConfiguration.preConfigure(WebXmlConfiguration.java:46)
	at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:463)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)
	at org.eclipse.jetty.server.Server.doStart(Server.java:243)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
	at com.atlassian.bamboo.server.Server.main(Server.java:75)
2012-06-20 20:13:36.633:INFO::Started SelectChannelConnector@0.0.0.0:8085
****************************************************************
*                                                              *
* You can see Bamboo by visiting http://localhost:8085/
*                                                              *
********************

bsarkar June 20, 2012

I chacked the log file it shows

Starting Bamboo using Java 1.5.0 from Free Software Foundation, Inc.
Port        = 8085
Web App     = webapp
contextPath = /
2012-06-20 20:13:35.375:INFO::jetty-7.2.1.v20101111
2012-06-20 20:13:36.578:WARN::EXCEPTION 
org.xml.sax.SAXNotSupportedException: http://apache.org/xml/features/nonvalidating/load-external-dtd
	at gnu.xml.stream.SAXParser.setProperty(libgcj.so.11)
	at gnu.xml.stream.SAXParser.setFeature(libgcj.so.11)
	at org.eclipse.jetty.xml.XmlParser.setValidating(XmlParser.java:108)
	at org.eclipse.jetty.xml.XmlParser.&lt;init&gt;(XmlParser.java:73)
	at org.eclipse.jetty.webapp.WebDescriptor.newParser(WebDescriptor.java:64)
	at org.eclipse.jetty.webapp.WebDescriptor.ensureParser(WebDescriptor.java:55)
	at org.eclipse.jetty.webapp.Descriptor.parse(Descriptor.java:54)
	at org.eclipse.jetty.webapp.WebDescriptor.parse(WebDescriptor.java:142)
	at org.eclipse.jetty.webapp.MetaData.setDefaults(MetaData.java:116)
	at org.eclipse.jetty.webapp.WebXmlConfiguration.preConfigure(WebXmlConfiguration.java:46)
	at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:463)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)
	at org.eclipse.jetty.server.Server.doStart(Server.java:243)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
	at com.atlassian.bamboo.server.Server.main(Server.java:75)

0 votes
Jobin Kuruvilla [Adaptavist]
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.
June 19, 2012

What url are you trying to access?

bsarkar June 19, 2012

localhost:8085

bsarkar June 19, 2012

anyone aware of this problem plz help

0 votes
bsarkar June 19, 2012

plz help me ...its urgent

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events