https://bz.apache.org/bugzilla/show_bug.cgi?id=64174
Bug ID: 64174 Summary: Double quotes around CATALINA_OPTS cause startup crash with Introscope Product: Tomcat 9 Version: 9.0.30 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: sh4...@att.com Target Milestone: ----- Created attachment 37040 --> https://bz.apache.org/bugzilla/attachment.cgi?id=37040&action=edit errors produced at startup Somewhere between 9.0.22 and 9.0.30 double quotes were added around CATALINA_OPTS and JAVA_OPTS in the catalina.sh script in bin dir. These caused issues with starting Tomcat (with Confluence 6.13.8) when Introscope present. Returning the variables to the config found in 9.0.22 corrected the issue. At a minimum it would seem they should have been escaped, which also creates startup crash. 9.0.22: eval exec "\"$_RUNJAVA\"" "\"$LOGGING_CONFIG\"" $LOGGING_MANAGER $JAVA_OPTS $CATALINA_OPTS \ 9.0.30: eval exec "\"$_RUNJAVA\"" "\"$LOGGING_CONFIG\"" $LOGGING_MANAGER "$JAVA_OPTS" "$CATALINA_OPTS" \ Attaching the errors in catalina.out. I diff'ed the 2 versions and removed double quotes so it looked like 9.0.22, and startup worked. I then escaped the vars, "\"<var>\"" - gave me this error in catalina.out: Error: Could not find or load main class -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0022 Assuming this is why these vars were not escaped. JDK 1.8.0_231 Running Confluence 6.13.8 -- 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