Thorsten Meinl created TOMEE-1513: ------------------------------------- Summary: catalina.sh does not quote javaagent argument correctly Key: TOMEE-1513 URL: https://issues.apache.org/jira/browse/TOMEE-1513 Project: TomEE Issue Type: Bug Affects Versions: 1.7.1 Reporter: Thorsten Meinl If TomEE is installed in a path with spaces (CATALINA_HOME), it wont start because the OpenEJB javaagent cannot be found. The reasons is that the "-javaagent" parameter in catalina.sh is not quoted correctly. Currently it is JAVA_OPTS=""-javaagent:$CATALINA_HOME/lib/openejb-javaagent.jar" $JAVA_OPTS" however, the quotes around the first agument must be escaped: JAVA_OPTS="\"-javaagent:$CATALINA_HOME/lib/openejb-javaagent.jar\" $JAVA_OPTS" -- This message was sent by Atlassian JIRA (v6.3.4#6332)