karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Liu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-3303) "keyStoreAvailabilityTimeout" is treated as boolean in JMX configuration
Date Thu, 16 Oct 2014 23:35:34 GMT
Tom Liu created KARAF-3303:
------------------------------

             Summary: "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


"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)

Mime
View raw message