hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cliff Collins (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1537) metatype.xml definition is wrong for httpclient-osgi
Date Fri, 08 Aug 2014 16:57:12 GMT
Cliff Collins created HTTPCLIENT-1537:
-----------------------------------------

             Summary: metatype.xml definition is wrong for httpclient-osgi
                 Key: HTTPCLIENT-1537
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1537
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.3.4
         Environment: OSGi container
            Reporter: Cliff Collins


OSGi containers that read the metatype.xml information report the format as being incorrect
:

Error while loading initial configuration to CM. Problem at attribute: proxy.port
 java.lang.IllegalArgumentException: Value:  does not fit its type!

This is because the proxy port says it is a type Integer but the default value is "". Change
this to a number to fix. i.e.

    <AD id="proxy.port"
      type="Integer"
      default="80"
      name="%proxy.port.name"
      description="%proxy.port.description" />




--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message