You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Donald Kwakkel (JIRA)" <ji...@apache.org> on 2014/11/20 21:19:34 UTC

[jira] [Updated] (TOMEE-1450) Unable to shutdown with whitespace in path because of javaagent error

     [ https://issues.apache.org/jira/browse/TOMEE-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Kwakkel updated TOMEE-1450:
----------------------------------
    Environment: 
Linux 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


  was:
Linux dkwakkelc9zwd12 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux



> Unable to shutdown with whitespace in path because of javaagent error
> ---------------------------------------------------------------------
>
>                 Key: TOMEE-1450
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1450
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 1.7.1
>         Environment: Linux 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Donald Kwakkel
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)