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':
If you are using the bamboo.sh script to start Bamboo:
Change the following line in your bamboo.sh
script:
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
Or, if you are using the jetty.xml file to configure Bamboo
See our documentation on configuring jetty.xml file
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
Or, if you are using the jetty.xml file to configure Bamboo
See our documentation on configuring jetty.xml file
3 Comments
Anonymous
Jun 18, 2011Is this up to date with bamboo 3.1?
This is the current RUN_CMD
Which doesn't match above.
Ricardo DeMatos
Jul 18, 2011looks like you need to edit $BAMBOO_INSTALL/conf/wrapper.conf
dushan abeyruwan
Dec 21, 2011Hi
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