This documentation relates to an earlier version of Bamboo.
View

Unknown macro: {spacejump}

or visit the current documentation home.

When running Bamboo behind a proxy, you might need to change the Root Context Path i.e. the host URL referenced while accessing Bamboo (e.g. http://localhost:8085/bamboo).

To change the context path from '/' to '/Your_Context_Path':

For Bamboo 3.2 or below

  • If you are using the bamboo.sh script to start Bamboo: 

    Change the following line in your bamboo.shscript:

    RUN_CMD="java -server -Xms256m -Xmx512m -XX:MaxPermSize=256m -Djava.awt.headless=true -classpath $CLASSPATH -Dorg.mortbay.xml.XmlParser.NotValidating=true -Djetty.port=8085
    com.atlassian.bamboo.server.Server 8085 ./webapp /"
    

    to:

    RUN_CMD="java -server -Xms256m -Xmx512m -XX:MaxPermSize=256m -Djava.awt.headless=true -classpath $CLASSPATH -Dorg.mortbay.xml.XmlParser.NotValidating=true -Djetty.port=8085
    com.atlassian.bamboo.server.Server 8085 ./webapp /Your_Context_Path"
    
  • Or, if you are using the wrapper to start Bamboo: 

    The wrapper reads the configuration information from the wrapper.conf file in the  ../<Bamboo-Install>/conf/folder. Find the following line:

    wrapper.app.parameter.4=/
    

    and replace it with the following line:

    wrapper.app.parameter.4=/Your_Context_Path
    

For Bamboo 3.3 or above

  • If you are using the bamboo.sh script or wrapper to start Bamboo:
    The wrapper reads the configuration information from the wrapper.conf file in the  ../<Bamboo-Install>/conf/folder. Find the following line:

wrapper.app.parameter.4=/

and replace it with the following line:

wrapper.app.parameter.4=/Your_Context_Path

 

  • ラベルなし

3 Comments

  1. Anonymous

    Is this up to date with bamboo 3.1?  

    This is the current RUN_CMD

    RUN_CMD="$(getFromWrapperConfig wrapper.java.command) $(getFromWrapperConfig wrapper.java.additional.*) \-classpath $CLASSPATH $BAMBOO_OPTIONS $(getFromWrapperConfig wrapper.app.parameter.*)"
    

    Which doesn't match above.

    1. Ricardo DeMatos

      looks like you need to edit $BAMBOO_INSTALL/conf/wrapper.conf

  2. dushan abeyruwan

    Hi

     I have provided context relative path and the bamboo starts successfully, then I have noticed that the icons not getting loaded, if start again without providing context relative path its work find, pls let me know if whether any other configuration to be done at config.wrapper to allow icons to load successfully