karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-3303) "keyStoreAvailabilityTimeout" is treated as boolean in JMX configuration
Date Mon, 30 Nov 2015 16:16:11 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15032021#comment-15032021

ASF GitHub Bot commented on KARAF-3303:

GitHub user oscerd opened a pull request:


    [KARAF-3303] "keyStoreAvailabilityTimeout" is treated as boolean in J…

    …MX configuration
    Hi all,
    This PR is related to:

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/oscerd/karaf KARAF-3303

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #110
commit ea6dc4374de3722406f2c97f2a5500e7db35aec6
Author: Andrea Cosentino <ancosen@gmail.com>
Date:   2015-11-30T16:13:44Z

    [KARAF-3303] "keyStoreAvailabilityTimeout" is treated as boolean in JMX configuration


> "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
>         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"
> {code}
> it should be
> {code}
>          <AD id="keyStoreAvailabilityTimeout" type="Integer" default="5000" name="%keyStoreAvailabilityTimeout.name"
> {code}

This message was sent by Atlassian JIRA

View raw message