Karsten Otto created JAMES-3668: ----------------------------------- Summary: Extra system properties from configuration file Key: JAMES-3668 URL: https://issues.apache.org/jira/browse/JAMES-3668 Project: James Server Issue Type: Improvement Components: configuration Affects Versions: master Reporter: Karsten Otto
Many aspects of JVM execution for James can be tweaked by system properties. However, a lot of them will clutter the command line and can become difficult to manage. The solution is to read a properties file and set the contents as system properties. Since this can affect various class initializations, it should be done as soon as possible, e.g. immediately as first line of the server main() method. This proposal adds a small utility class for this purpose. It will read a configuration file "conf/jvm.properties" if present, otherwise do nothing. The location of the file may be overridden by a system property "extra.props" for quick testing. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org