[ 
https://issues.apache.org/jira/browse/TIKA-3748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Allison updated TIKA-3748:
------------------------------
    Priority: Minor  (was: Major)

> Allow expansion of system properties from forking to forked in tika-server
> --------------------------------------------------------------------------
>
>                 Key: TIKA-3748
>                 URL: https://issues.apache.org/jira/browse/TIKA-3748
>             Project: Tika
>          Issue Type: Wish
>            Reporter: Tim Allison
>            Priority: Minor
>
> 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.
> {noformat}
>  <forkedJvmArgs>
>   <arg>-Xms1g</arg>
>   <arg>-Xmx1g</arg>
>   <arg>-Dlogpath="${sys:logpath}"</arg>
>   <arg>-Dlog4j.configurationFile="C:\tmp\configs\log4jTika.xml"</arg>
> </forkedJvmArgs>
>  {noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to