Hi,

I'm running Karaf 2.3.4 with:
Apache Aries Blueprint Core (1.4.0)
Apache Aries Blueprint CM (1.0.3)
Apache Aries Blueprint API (1.0.0)

I've got the following XML file in one of my bundles:
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
       xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.2.0";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       default-activation="eager">

       <cm:property-placeholder persistent-id="httpclient" 
update-strategy="reload" placeholder-prefix="$[" placeholder-suffix="]">
              <cm:default-properties>
                     <cm:property name="httpclient.proxy.hostAndPort" value="" 
/>
              </cm:default-properties>
       </cm:property-placeholder>

       <bean id="geoEventHttpClientService" class="HttpClientServiceImpl" 
init-method="init">
          <property name="proxyAndHost"  
value="$[httpclient.proxy.hostAndPort]" />
          <property name="bundleContext" ref="blueprintBundleContext"/>
       </bean>

       <cm:property-placeholder persistent-id=" local" update-strategy="reload" 
placeholder-prefix="${" placeholder-suffix="}">
              <cm:default-properties>
                     <cm:property name="http.port"   value="6080" />
                     <cm:property name="https.port"  value="6443" />
                     <cm:property name="arcgis.host" value="" />
              </cm:default-properties>
       </cm:property-placeholder>

       <bean id="localArcgisInfo" class="LocalServerImpl" init-method="init" >
              <property name="HttpClientService" 
ref="geoEventHttpClientService" />
              <property name="httpPort"          value="${http.port)" />
              <property name="httpsPort"         value="${https.port}" />
              <property name="host"              value="${arcgis.host}" />
       </bean>

       <service ref="geoEventHttpClientService" interface="HttpClientService"/>
       <service ref="localArcgisInfo"           interface="LocalServer" />
</blueprint>

Every time I deploy my bundle, I get the message:
2014-06-05 15:48:42,006 | ERROR | l Console Thread | BlueprintContainerImpl     
      | container.BlueprintContainerImpl  402 | 10 - 
org.apache.aries.blueprint.core - 1.4.0 | Unable to start blueprint container 
for bundle
org.osgi.service.blueprint.container.ComponentDefinitionException: Multiple 
placeholders with the same prefix and suffix are not allowed

What am I doing wrong?  The placholder-prefix and placeholder-suffix attributes 
are set, so not sure what else is left.

Any help would be appreciated.

-Javier

Reply via email to