Description of problem: Doc URL: https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_BPM_Suite/6.0/html/Installation_Guide/sect-Installing_the_generic_deployable_package.html Chapter "2.3.2.1. Setting up transaction manager for Red Hat JBoss Web Server 2.0 (Tomcat 7)" Point 9. Define the btm.root system property and location where bitronix config file is placed: [ In $TOMCAT_DIR/bin/, create the setenv.sh or setenv.bat file with the following content: CATALINA_OPTS="-Xmx512M -XX:MaxPermSize=512m -Dbtm.root=$CATALINA_HOME -Dbitronix.tm.configuration=$CATALINA_HOME/conf/btm-config.properties" ...... On Microsoft Windows systems, replace the $CATALINA_HOME value in the content of the file with the equivalent environment variable name or use the absolute path. ] Actually, on Windows, I need to have a setenv.bat like this to get it working: set "CATALINA_OPTS=-Xmx512M -XX:MaxPermSize=512m -Dbtm.root=$CATALINA_HOME -Dbitronix.tm.configuration=$CATALINA_HOME/conf/btm-config.properties" Note 2 points: 1) use "set" in front of CATALINA_OPTS; 2) the position of double quote "" This is verified on Windows 7
So finally it looks like: set "CATALINA_OPTS=-Xmx512M -XX:MaxPermSize=512m -Dbtm.root=C:/Tomcat -Dbitronix.tm.configuration=C:/Tomcat/conf/btm-config.properties"
Added note about setting the variables differently on Windows. The change can be verified here [1]. Moving this to ON_QA. [1] http://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_JBoss_BPM_Suite/6.0/html-single/Installation_Guide/index.html#Setting_up_transaction_manager
Verified using link in comment #3. A warning explaining the differences between Linux and Windows is now present.