Description
A space in the KARAF_ETC environment variable will cause problems at least under MS Windows, because the entry
wrapper.java.additional.11=-Djava.util.logging.config.file=%KARAF_ETC%/java.util.logging.properties
**is missing double quotes at least around %KARAF_ETC%.
The wrapper.log shows this:
INFO | jvm 1 | 2019/03/08 02:06:13 | Error: Could not find or load main class Files\foo\karaf\bin\..\etc.java.util.logging.properties ERROR | wrapper | 2019/03/08 02:06:13 | JVM exited while loading the application.
Changing the entry to
wrapper.java.additional.11=-Djava.util.logging.config.file="%KARAF_ETC%/java.util.logging.properties"
fixes the issue.
What irritates me still, ist the dot (".") between "etc" and "java.util...." in the log message, but as I said, the double quotes around the complete entry fixed it.
This is can happen under MS Windows if the Karaf service is installed below the default "C:\Program Files\..." directory.
We have not found a hint from the service wrapper documentation how to fix this via configuration.
Attachments
Issue Links
- links to