• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 2.2
    • 2.2
    • None

      Standalone distribution ships some Tomcat webapps in the webapps directory. You probably don't want to.

            [CONFSERVER-5918] Standalone package has apps in the webapp directory

            2.2 now clears out the webapps directory of Tomcat properly, and adds JAVA_OPTS using setenv.[sh|bat], the same as JIRA.

            Charles Miller (Inactive) added a comment - 2.2 now clears out the webapps directory of Tomcat properly, and adds JAVA_OPTS using setenv. [sh|bat] , the same as JIRA.

            jens added a comment -

            Thanks Bob,

            We'll look into this for the final release of 2.2.

            Cheers,
            Jens

            jens added a comment - Thanks Bob, We'll look into this for the final release of 2.2. Cheers, Jens

            Bob Swift added a comment -

            Sorry to go on about this, but why not just set JAVA_OPTS in your startup.sh (and.bat) file and leave the catalina.sh alone? Something like:
            $JAVA_OPTS="-Xms128m -Xmx256m $JAVA_OPTS"

            Bob Swift added a comment - Sorry to go on about this, but why not just set JAVA_OPTS in your startup.sh (and.bat) file and leave the catalina.sh alone? Something like: $JAVA_OPTS="-Xms128m -Xmx256m $JAVA_OPTS"

            Bob Swift added a comment -

            Actually, I now see what you did. The mod for adding the memory was not done properly either. The JAVA_OPTS needs to follow the -Xms128m -Xmx256m change or else you override my JAVA_OPTS. The JIRA distribution does it right...

            Bob Swift added a comment - Actually, I now see what you did. The mod for adding the memory was not done properly either. The JAVA_OPTS needs to follow the -Xms128m -Xmx256m change or else you override my JAVA_OPTS. The JIRA distribution does it right...

            jens added a comment -

            Thanks for the hint Bob.

            jens added a comment - Thanks for the hint Bob.

            Bob Swift added a comment -

            And btw, there is a bug in catalina.sh. Not sure if this is yours or came with distro

            ine 148 of catalina.sh: JAVA_OPTS -Xms128m -Xmx256m="$JAVA_OPTS -Xms128m -Xmx256m "-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" "-Djava.util.logging.config.file="$CATALINA_BASE/conf/logging.properties"

            Bob Swift added a comment - And btw, there is a bug in catalina.sh. Not sure if this is yours or came with distro ine 148 of catalina.sh: JAVA_OPTS -Xms128m -Xmx256m="$JAVA_OPTS -Xms128m -Xmx256m "-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" "-Djava.util.logging.config.file="$CATALINA_BASE/conf/logging.properties"

              Unassigned Unassigned
              bob.swift@charter.net Bob Swift
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: