[
https://issues.apache.org/jira/browse/TIKA-3748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17531310#comment-17531310
]
Hudson commented on TIKA-3748:
------------------------------
SUCCESS: Integrated in Jenkins build Tika » tika-main-jdk8 #538 (See
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/538/])
TIKA-3748 -- allow expansion of system properties into forked process system
properties. (tallison:
[https://github.com/apache/tika/commit/33aa848cfbe1f725c1a92be6d9d9067698478d5a])
* (edit)
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/TikaServerWatchDog.java
* (edit) CHANGES.txt
* (edit)
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/TikaServerConfig.java
* (edit)
tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaServerConfigTest.java
> 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
> Fix For: 2.4.1
>
>
> 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)