https://bz.apache.org/bugzilla/show_bug.cgi?id=63815
Eugène Adell <eugene.ad...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #3 from Eugène Adell <eugene.ad...@gmail.com> --- First, please use CATALINA_OPTS when you want to give information to the application, instead of JAVA_OPTS, and edit setenv.sh instead of catalina.sh (it will make your maintenance and upgrades easier). I can't reproduce your problem on Tomcat 7.0 or 8.5. The only side effect that I get with '*' is of course the variable expanding but I can neutralize this by adding a set -o noglob to the setenv.sh Please send the output of 'env|sort', 'bash --version', 'echo $SHELLOPTS' then maybe we can compare My tests below. $ cat bin/setenv.sh set -o noglob CATALINA_OPTS="-Dfoo.cronExpression=\"0 0 0/12 * * ?\"" $ ps -eaf | grep 15394 eadell 15394 1 2 00:22 pts/0 00:00:25 /usr/local/java/1.9/bin/java -Djava.util.logging.config.file=/home/eadell/tests/85/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dfoo.cronExpression=0 0 0/12 * * ? -Dignore.endorsed.dirs= -classpath /home/eadell/tests/85/bin/bootstrap.jar:/home/eadell/tests/85/bin/tomcat-juli.jar -Dcatalina.base=/home/eadell/tests/85 -Dcatalina.home=/home/eadell/tests/85 -Djava.io.tmpdir=/home/eadell/tests/85/temp org.apache.catalina.startup.Bootstrap start eadell 15909 14747 0 00:37 pts/0 00:00:00 grep --color=auto 15394 reading system properties from a JSP : foo.cronExpression: 0 0 0/12 * * ? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org