Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-2935

Wrong description to the content of "setenv.bat" in chapter 2.3.2.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.2
    • 6.0.2
    • Documentation
    • None

      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

            rhn-support-vigoyal Vikram Goyal (Inactive)
            rhn-support-lywang Lyle Wang (Inactive)
            Marek Baluch Marek Baluch
            Vikram Goyal Vikram Goyal (Inactive)
            Marek Baluch Marek Baluch
            brms-docs brms-docs (Inactive), Marek Baluch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: