[ https://issues.apache.org/jira/browse/KARAF-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-3136: ---------------------------------------- Fix Version/s: (was: 2.3.10) 2.3.11 > 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: 4.0.0, 2.4.2, 3.0.4, 2.3.11 > > 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.3.4#6332)