This page is for people who are deploying the Bamboo EAR/WAR edition on the JBoss 4.x application server.
File extraction notes
To deploy Bamboo EAR-WAR onto your JBoss application server, copy the Bamboo WAR file to ../<JBoss-install>/server/default/deploy/atlassian-bamboo-1.1.2.war.
By default the WAR file will extract to atlassian-bamboo-<version>. The name of the directory in the webapps folder will form the URL required to access Bamboo, e.g. <JBoss-install>/server/default/deploy/atlassian-bamboo-1.1.2.war will become http://host:port/atlassian-bamboo-1.1.2/
How to set Java OPTs on JBoss 4.x
- Windows:
1. Find the run.bat file.
2. Edit JAVA_OPTS to set the desired properties variable:
FROM
if exist "%JBOSS_HOME%\bin\native" set JAVA_OPTS=%JAVA_OPTS% -Djava.library.path=%JBOSS_HOME%\bin\native
TO
if exist "%JBOSS_HOME%\bin\native" set JAVA_OPTS=%JAVA_OPTS% -Djava.library.path=%JBOSS_HOME%\bin\native -server -XX:MaxPermSize=256m -Dbamboo.home=/opt/bamboo/bamboohome -Xmx512m -Djava.awt.headless=true -Dbamboo.home=Your_Path_To_Bamboo
- Linux-based systems:
1. Find the run.sh file
2. Edit JAVA_OPTS to set the desired properties variable:
FROM
# Setup JBoss sepecific properties
JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS"
TO
# Setup JBoss sepecific properties
JAVA_OPTS="-Dprogram.name=$PROGNAME -server -XX:MaxPermSize=256m -Dbamboo.home=/opt/bamboo/bamboohome -Xmx512m -Djava.awt.headless=true -Dbamboo.home=Your_Path_To_Bamboo $JAVA_OPTS"
 | For further reference Please visit the JBoss Wiki page on setting JavaOpts |