Bug#925928: tomcat9: Error occurred during initialization of VM: Option -XX:+UseG1GC not supported

2019-03-29 Thread Thorsten Glaser
Emmanuel Bourg dixit: >Indeed, but running Tomcat on Zero is not a good idea anyway. ;-) In the end, we give users rope. Whether they hang themselves with it or use it to climb a rock is up to them. (Having the *ability* to do it, even if it's not *generally* a good idea, may be worth

Bug#925928: tomcat9: Error occurred during initialization of VM: Option -XX:+UseG1GC not supported

2019-03-29 Thread Emmanuel Bourg
Le 28/03/2019 à 21:50, Thorsten Glaser a écrit : > 11. Apparently, the option is not available in the Zero VM, > only in Hotspot (didn’t check DCE, JamVM, etc). Indeed, but running Tomcat on Zero is not a good idea anyway. G1 isn't available for DCEVM, but at least the error message is clear:

Bug#925928: tomcat9: Error occurred during initialization of VM: Option -XX:+UseG1GC not supported

2019-03-28 Thread Thorsten Glaser
Emmanuel Bourg dixit: >I can't reproduce this issue. What JRE did you use? G1 has been >available since Java 7. 11. Apparently, the option is not available in the Zero VM, only in Hotspot (didn’t check DCE, JamVM, etc). But the manpage says that a suitable GC is nowadays picked automatically

Bug#925928: tomcat9: Error occurred during initialization of VM: Option -XX:+UseG1GC not supported

2019-03-28 Thread Emmanuel Bourg
Le 28/03/2019 à 18:31, Thorsten Glaser a écrit : > tomcat9 does not start at all: > > […] > NOTE: Picked up JDK_JAVA_OPTIONS: > --add-opens=java.base/java.lang=ALL-UNNAMED > --add-opens=java.base/java.io=ALL-UNNAMED > --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED > Error occurred during

Bug#925928: tomcat9: Error occurred during initialization of VM: Option -XX:+UseG1GC not supported

2019-03-28 Thread Thorsten Glaser
Package: tomcat9 Version: 9.0.16-3 Severity: important tomcat9 does not start at all: […] NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED Error occurred during