Details
Description
"keyStoreAvailabilityTimeout" of Karaf JMX Management Configuration (org.apache.karaf.management) is treated as boolean. Because of that, Karaf Management fails to start after making any change in "org.apache.karaf.management" by Web Console
"keyStoreAvailabilityTimeout" should be a number. NumberFormat exception is shown in log file after it is set to string TRUE or FALSE.
I searched source code and found the problem in following place.
apache-karaf-3.0.2managementserversrcmainresourcesOSGI-INFmetatypemetatype.xml (line: 38)
<AD id="keyStoreAvailabilityTimeout" type="Boolean" default="false" name="%keyStoreAvailabilityTimeout.name" description="%keyStoreAvailabilityTimeout.description"/>
it should be
<AD id="keyStoreAvailabilityTimeout" type="Integer" default="5000" name="%keyStoreAvailabilityTimeout.name" description="%keyStoreAvailabilityTimeout.description"/>