[ https://issues.apache.org/jira/browse/KARAF-3303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré reassigned KARAF-3303:
-------------------------------------------
Assignee: Jean-Baptiste Onofré
> "keyStoreAvailabilityTimeout" is treated as boolean in JMX configuration
> ------------------------------------------------------------------------
>
> Key: KARAF-3303
> URL: https://issues.apache.org/jira/browse/KARAF-3303
> Project: Karaf
> Issue Type: Bug
> Components: karaf-config
> Affects Versions: 3.0.2
> Environment: tested on windows 7 / JDK 7, 64 bits
> Reporter: Tom Liu
> Assignee: Jean-Baptiste Onofré
> Attachments: KARAF-3303.jpg
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> "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.
> {code:title=apache-karaf-3.0.2\management\server\src\main\resources\OSGI-INF\metatype\metatype.xml
(line: 38)|borderStyle=solid}
> <AD id="keyStoreAvailabilityTimeout" type="Boolean" default="false" name="%keyStoreAvailabilityTimeout.name"
description="%keyStoreAvailabilityTimeout.description"/>
> {code}
> it should be
> {code}
> <AD id="keyStoreAvailabilityTimeout" type="Integer" default="5000" name="%keyStoreAvailabilityTimeout.name"
description="%keyStoreAvailabilityTimeout.description"/>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|