Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-202

Add JSVC_OPT (options for JSVC executable) into Tomcat7.sh

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.5
    • Fix Version/s: 1.0.6
    • Component/s: Jsvc
    • Labels:
      None
    • Environment:

      Linux

      Description

      Out-of-the box, Tomcat7.sh script runs on default JVM, which is for 32-bit Sun Java equal to 'Client' JVM.

      I assume that starting tomcat on 'Server' JVM is generally better then 'Client' JVM.

      Adding '$JSVC_JVM' into run, start and version actions of that script, would allow user to add e.g. "export JSVC_JVM='-jvm server'" into setenv.sh to use appropriate JVM, without need to modify the example script.

        Attachments

        1. tomcat7-jsvc_opts.patch
          0.7 kB
          Ognjen Blagojevic

          Activity

            People

            • Assignee:
              mturk@apache.org Mladen Turk
              Reporter:
              ognjen Ognjen Blagojevic
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: