Details
-
Wish
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
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>