Commons Daemon
  1. Commons Daemon
  2. DAEMON-202

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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.

      1. tomcat7-jsvc_opts.patch
        0.7 kB
        Ognjen Blagojevic

        Activity

        Hide
        Mladen Turk added a comment -

        Patch applied. Thanks!

        Show
        Mladen Turk added a comment - Patch applied. Thanks!

          People

          • Assignee:
            Mladen Turk
            Reporter:
            Ognjen Blagojevic
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development