Re: System properties: JVM launch versus catalina.properties

2018-12-28 Thread Igal Sapir
Chris, On 12/28/2018 7:07 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, Someone asked this question on SO recently: https://stackoverflow.com/questions/53921375/tomcat-overriding-catalina- properties-from-commandline/53952396#53952396 TLDR: this person

Re: System properties: JVM launch versus catalina.properties

2018-12-28 Thread Romain Manni-Bucau
Except if you call java -jar catalina_home/lib/prdtartup.jar which creates a temp file used instead of setenv (just a generator) so you can read it in plain java and launch tomcat only later to ensure it respects all props. This small main would do anything except suceed or fail. Le ven. 28 déc.

Re: System properties: JVM launch versus catalina.properties

2018-12-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Romain, On 12/28/18 10:10, Romain Manni-Bucau wrote: > Hi > > As a user it is nicer to be able to set all system properties in > the same place and catalina code is too late for some of them like > log manager. Why not having a

Re: System properties: JVM launch versus catalina.properties

2018-12-28 Thread Romain Manni-Bucau
Hi As a user it is nicer to be able to set all system properties in the same place and catalina code is too late for some of them like log manager. Why not having a conf/system.properties handled by scripts and in fallback by Tomcat (embedded case)? Would just be a more natural way to write it

System properties: JVM launch versus catalina.properties

2018-12-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, Someone asked this question on SO recently: https://stackoverflow.com/questions/53921375/tomcat-overriding-catalina- properties-from-commandline/53952396#53952396 TLDR: this person wants to set system properties in catalina.properties but be