Description
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"
Attachments
Issue Links
- duplicates
-
TOMEE-1450 Unable to shutdown with whitespace in path because of javaagent error
- Closed