This page last changed on Mar 08, 2009 by alui.


Restarting Bamboo
After editing the options below, Bamboo needs to be shut down and restarted for the changes to take effect. 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.


Configuring Bamboo's start-up parameters under Linux

Bamboo on Linux/Unix can be started by either executing the bamboo.sh script or using the wrapper. Either way, the Bamboo server can be customised at start-up.

Modifying the bamboo.sh script.

The bamboo.sh script takes four parameters: start|stop|restart|status.

To customise these parameters at startup , edit the $RUN_CMD variable:

#
#This is how the Bamboo server will be started
#
RUN_CMD="java -Xms256m -Xmx512m -Djava.awt.headless=true -classpath $CLASSPATH -Dorg.mortbay.xml.XmlParser.NotValidating=true -Djetty.port=8085 com.atlassian.bamboo.server.Server 8085 ./webapp /"
  • java -Xms256m -Xmx512m specifies the minimum and maximum Java Heap size.
  • -classpath $CLASSPATH sets the class path at startup.
  • -Djetty.port=8085 specifies the port number for the Jetty server.
  • com.atlassian.bamboo.server.Server 8085 ./webapp / is the main class that will be executed followed by the context path.

In some cases it might be useful to increase the PermGen space. To do this, add the following parameter to the RUN_CMD variable: "XX:MaxPermSize=512m". This will set the PermGen space to 512mb next time Bamboo is run.

Modifying the wrapper.

The wrapper reads the configuration from wrapper.conf found in ../<BAMBOO_INSTALL>/conf. (The properties are documented inside the file.)

Configuring Bamboo's start-up parameters under Windows

Bamboo can be started in Windows with the startup.bat file (from the command line) or  as a Windows Service. Both use the wrapper to start Bamboo. As in Linux (see above), the wrapper reads the configuration from wrapper.conf. Please edit the .../wrapper/wrapper.conf file (situated in the root of your Bamboo_Installation directory) as required.

Document generated by Confluence on Mar 09, 2009 17:07