These instructions apply to the Bamboo distribution (not EAR-WAR), which ships with the Jetty application server.
If you have installed Bamboo on a machine with multiple interfaces, and need to bind Bamboo to a single IP address, follow these instructions.
Step 1 — Instruct Bamboo to read its configuration from the jetty.xml file
By default Bamboo doesn't use the jetty.xml file to configure itself. You will need to tell Bamboo to use it.
Step 2 — Edit the Jetty.xml file
Your jetty.xml file is located in <Bamboo_Install_directory>/webapp/WEB-INF/classes/jetty.xml.
Please note: YOUR_HOST_URL should be the same as the Bamboo base URL configured in Bamboo.
If you are using Bamboo 1.2.4:
Find the following section:
Change the last line as follows:
If you are using Bamboo 2.0
Find the following section:
Uncomment the host property as follows:
Step 3 — Restart Bamboo
If you have any elastic agents running, ensure that they are shut down before you restart the Bamboo server. If you do not shut down your elastic instances before restarting, they will continue to run and become orphaned from your Bamboo server.







7 Comments
Hide/Show CommentsJul 09, 2011
Anonymous
This will not work for 3.1 anymore. jetty.xml format has changed and addConnector directives are simply ignored by the wrapper. Please update this page with working instructions.
Sep 10, 2011
Steve Mueller
I will second what Anonymous has to say. This does not work for Bamboo 3.2.x, either.
Sep 27, 2011
Anonymous
Look further down in jetty.xml
This property <SystemProperty name="bamboo.webapp" default="./webapp"/>
Relative to the wrapper.conf, webapp is at ../webapp/, not ./webapp. Changing this worked for me. Perhaps setting bamboo.webapp would be a better practice, but I'm not sure where the "proper" place to do that would be.
Sep 14, 2011
Anonymous
Please update this page with working instructions for 3.2.x. I do not want Bamboo listening on an external ip!
Sep 19, 2011
Raffael Gottardi
Use a connector tag like the following, it works for me:
I think the main thing is to change
"org.mortbay.http.SocketListener"to "org.eclipse.jetty.server.nio.SelectChannelConnector".May 01, 2012
Chaim Krause
I am using version 4.0.1 and the link listed in step 1 is dead for version 4.x.
http://confluence.atlassian.com/display/BAMBOO/Getting+Bamboo+Standalone+to+use+the+jetty.xml+file
May 04, 2012
Paul Watson [Atlassian Technical Writer]
Thanks for mentioning that – it's fixed now.
Add Comment