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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.5
    • 1.0.6
    • Jsvc
    • None
    • 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 Blagojević

        Activity

          People

            mturk@apache.org Mladen Turk
            ognjen Ognjen Blagojević
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: