Details
Description
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 line 238:
JAVA_OPTS=""-javaagent:$CATALINA_HOME/lib/openejb-javaagent.jar" $JAVA_OPTS"
To:
JAVA_OPTS=""-javaagent:\"$CATALINA_HOME/lib/openejb-javaagent.jar\"" $JAVA_OPTS"
I first logged this ticket on tomcat: https://issues.apache.org/bugzilla/show_bug.cgi?id=57233. But it seems catalina.sh is different for tomcat and tomee with same tomcat version. Maybe good to check if these are kept in sync in the right way.
Attachments
Issue Links
- is duplicated by
-
TOMEE-1513 catalina.sh does not quote javaagent argument correctly
- Closed