https://issues.apache.org/bugzilla/show_bug.cgi?id=57233
Bug ID: 57233
Summary: unable to shutdown with whitespace in path because of
javaagent error
Product: Tomcat 7
Version: 7.0.55
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Tomcat installation path: /opt/tom ee
Execution error:
+ /opt/jdk1.7.0_60/bin/java
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-javaagent:/opt/tom ee/lib/openejb-javaagent.jar
-DCORDYS_HOME=/opt/cordys/defaultInst -Djava.endorsed.dirs=/opt/tom ee/endorsed
-classpath /opt/tom ee/bin/bootstrap.jar:/opt/tom ee/bin/tomcat-juli.jar
-Dcatalina.base=/opt/tom ee -Dcatalina.home=/opt/tom ee
-Djava.io.tmpdir=/opt/tom ee/temp org.apache.catalina.startup.Bootstrap stop
Error opening zip file or JAR manifest missing : /opt/tom
Error occurred during initialization of VM
agent library failed to init: instrument
Proposed fix: Change in catalina.sh following line:
JAVA_OPTS=""-javaagent:$CATALINA_HOME/lib/openejb-javaagent.jar" $JAVA_OPTS"
To:
JAVA_OPTS=""-javaagent:\"$CATALINA_HOME/lib/openejb-javaagent.jar\""
$JAVA_OPTS"
Similair to https://issues.apache.org/bugzilla/show_bug.cgi?id=55336
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]