You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Cliff Collins (JIRA)" <ji...@apache.org> on 2014/08/08 18:57:12 UTC

[jira] [Created] (HTTPCLIENT-1537) metatype.xml definition is wrong for httpclient-osgi

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