Abakumov Konstantin created KARAF-3136:
------------------------------------------
Summary: 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: 3.0.1, 2.3.1
Environment: Windows 7
Reporter: Abakumov Konstantin
Priority: Trivial
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)