Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-3748

Allow expansion of system properties from forking to forked in tika-server

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.1
    • None
    • None

    Description

      In the original request on the user list, we received this use case.  The forked process should be able to receive the forking processes system properties as passed in via the commandline, e.g. java -Dlogpath=something...

      It would be trivial add some expansion code to allow this, and it would be fairly secure because we can limit it to system variables and the user has to specify which system properties to interpolate.

       <forkedJvmArgs>
        <arg>-Xms1g</arg>
        <arg>-Xmx1g</arg>
        <arg>-Dlogpath="${sys:logpath}"</arg>
        <arg>-Dlog4j.configurationFile="C:\tmp\configs\log4jTika.xml"</arg>
      </forkedJvmArgs>
      
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            tallison Tim Allison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: