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

Thorsten Glaser tg at mirbsd.de
Thu Mar 28 17:31:13 GMT 2019


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 initialization of VM
Option -XX:+UseG1GC not supported

This is because of this:

tglase at tglase:~/tomcat9 $ git grep UseG1GC
debian/default.template:# options will be: -Djava.awt.headless=true -XX:+UseG1GC
debian/default.template:JAVA_OPTS="-Djava.awt.headless=true -XX:+UseG1GC"
debian/setenv.sh:       JAVA_OPTS="-Djava.awt.headless=true -XX:+UseG1GC"


-- System Information:
Debian Release: buster/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: i386, amd64

Kernel: Linux 4.19.0-4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages tomcat9 depends on:
ii  adduser         3.118
ii  lsb-base        10.2019031300
ii  tomcat9-common  9.0.16-4
ii  ucf             3.0038+nmu1

Versions of packages tomcat9 recommends:
ii  libtcnative-1  1.2.21-1

Versions of packages tomcat9 suggests:
pn  tomcat9-admin     <none>
pn  tomcat9-docs      <none>
pn  tomcat9-examples  <none>
pn  tomcat9-user      <none>

-- Configuration Files:
/etc/tomcat9/policy.d/01system.policy [Errno 13] Permission denied: '/etc/tomcat9/policy.d/01system.policy'
/etc/tomcat9/policy.d/02debian.policy [Errno 13] Permission denied: '/etc/tomcat9/policy.d/02debian.policy'
/etc/tomcat9/policy.d/03catalina.policy [Errno 13] Permission denied: '/etc/tomcat9/policy.d/03catalina.policy'
/etc/tomcat9/policy.d/04webapps.policy [Errno 13] Permission denied: '/etc/tomcat9/policy.d/04webapps.policy'
/etc/tomcat9/policy.d/50local.policy [Errno 13] Permission denied: '/etc/tomcat9/policy.d/50local.policy'

-- no debconf information


More information about the pkg-java-maintainers mailing list