Our automated test for BZ1042811 fails on RHEL6:
.qa.[root@intel-sugarbay-dh-02 ~]# service tomcat8 start Starting tomcat8: [ OK ] .qa.[root@intel-sugarbay-dh-02 ~]# pgrep -lf tomcat8 22083 /usr/lib/jvm/java/bin/java -Djava.security.egd=file:/dev/urandom -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/usr/share/tomcat8/conf/logging.properties -classpath /usr/share/tomcat8/bin/bootstrap.jar:/usr/share/tomcat8/bin/tomcat-juli.jar:/usr/share/tomcat8/bin/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat8 -Dcatalina.home=/usr/share/tomcat8 -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat8/temp org.apache.catalina.startup.Bootstrap start .qa.[root@intel-sugarbay-dh-02 ~]# service tomcat8 restart Stopping tomcat8: [ OK ] Starting tomcat8: [ OK ] .qa.[root@intel-sugarbay-dh-02 ~]# pgrep -lf tomcat8 22251 /usr/lib/jvm/java/bin/java -Djava.security.egd=file:/dev/urandom -Djava.security.egd=file:/dev/urandom -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/usr/share/tomcat8/conf/logging.properties -classpath /usr/share/tomcat8/bin/bootstrap.jar:/usr/share/tomcat8/bin/tomcat-juli.jar:/usr/share/tomcat8/bin/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat8 -Dcatalina.home=/usr/share/tomcat8 -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat8/temp org.apache.catalina.startup.Bootstrap start .qa.[root@intel-sugarbay-dh-02 ~]# tr \\0 \\n </proc/22251/cmdline /usr/lib/jvm/java/bin/java -Djava.security.egd=file:/dev/urandom -Djava.security.egd=file:/dev/urandom -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/usr/share/tomcat8/conf/logging.properties -classpath /usr/share/tomcat8/bin/bootstrap.jar:/usr/share/tomcat8/bin/tomcat-juli.jar:/usr/share/tomcat8/bin/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat8 -Dcatalina.home=/usr/share/tomcat8 -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat8/temp org.apache.catalina.startup.Bootstrap start
Note that you have to add an additional parameter for tomcat to duplicate this. In the case above, it is -Djava.security.egd=file:/dev/urandom.
RHEL7 does not have the problem above.
- duplicates
-
JWS-740 [RHEL 6 RPM] JVM options are doubled after service restart
- Closed