You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/12/10 19:41:11 UTC
[jira] [Commented] (KARAF-3303) "keyStoreAvailabilityTimeout" is
treated as boolean in JMX configuration
[ https://issues.apache.org/jira/browse/KARAF-3303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15051436#comment-15051436 ]
ASF GitHub Bot commented on KARAF-3303:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/karaf/pull/110
> "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é
> Fix For: 4.0.4
>
> 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)