This page last changed on Apr 23, 2008 by bmccoy.

These instructions apply to Bamboo Standalone, 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:

<Call name="addListener">
        <Arg>
            <New class="org.mortbay.http.SocketListener">
                <Set name="Port">
                    <SystemProperty name="jetty.port" default="8085"/>
                </Set>
                <Set name="Host">127.0.0.1</Set>

Change the last line as follows:

<Call name="addListener">
        <Arg>
            <New class="org.mortbay.http.SocketListener">
                <Set name="Port">
                    <SystemProperty name="jetty.port" default="8085"/>
                </Set>
                <Set name="Host">YOUR_HOST_URL</Set>


If you are using Bamboo 2.0

Find the following section:

 <Call name="addConnector">
    <Arg>
      <New class="org.mortbay.jetty.bio.SocketConnector">
        <Set name="Port">
          <SystemProperty name="jetty.port" default="8085"/>
        </Set>
        <!--<Set name="Host">127.0.0.1</Set>-->

Uncomment the host property as follows:

 <Call name="addConnector">
    <Arg>
      <New class="org.mortbay.jetty.bio.SocketConnector">
        <Set name="Port">
          <SystemProperty name="jetty.port" default="8085"/>
        </Set>
        <Set name="Host">YOUR_HOST_URL</Set>


Step 3 — Restart Bamboo

Document generated by Confluence on Mar 02, 2009 18:52