tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TOMEE-1513) catalina.sh does not quote javaagent argument correctly
Date Fri, 13 Feb 2015 16:11:11 GMT

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

Romain Manni-Bucau resolved TOMEE-1513.
---------------------------------------
       Resolution: Duplicate
    Fix Version/s: 1.7.2
                   2.0.0-Milestone-1

> 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
>             Fix For: 2.0.0-Milestone-1, 1.7.2
>
>
> 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)

Mime
View raw message