You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2014/07/23 13:55:38 UTC

[jira] [Assigned] (KARAF-3136) Karaf can't start if you have whitespaces in brackets in JAVA_OPTS

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

Jean-Baptiste Onofré reassigned KARAF-3136:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> Karaf can't start if you have whitespaces in brackets in JAVA_OPTS
> ------------------------------------------------------------------
>
>                 Key: KARAF-3136
>                 URL: https://issues.apache.org/jira/browse/KARAF-3136
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-config
>    Affects Versions: 2.3.1, 3.0.1
>         Environment: Windows 7
>            Reporter: Abakumov Konstantin
>            Assignee: Jean-Baptiste Onofré
>            Priority: Trivial
>             Fix For: 2.4.0, 4.0.0, 3.0.2, 2.3.6
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If you set java option in setenv.bat with whitespaces, inserted between double-quotation symobols like this:
>   *set JAVA_OPTS=%JAVA_OPTS% -Dlog4j.configuration="C:\programm files\karaf\etc\log4j.properties"*
> You'll get error on startup
> *files\karaf\etc\log4j.properties" " was unexpected at this time.*
> This goes from karaf.bat line:
> *if "%JAVA_OPTS%" == "" set JAVA_OPTS=%DEFAULT_JAVA_OPTS%*
> quote symbols wrongly associated in "%JAVA_OPTS%" during script execution



--
This message was sent by Atlassian JIRA
(v6.2#6252)