Skip to content

Instantly share code, notes, and snippets.

@jstrachan
Created October 11, 2013 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jstrachan/a2249448fc5f81bcc9c4 to your computer and use it in GitHub Desktop.
Save jstrachan/a2249448fc5f81bcc9c4 to your computer and use it in GitHub Desktop.
Adding OSGI-INF/blueprint/osgi-only.xml of:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0">
<cm:property-placeholder persistent-id="io.hawt.hawtio-maven-indexer" update-strategy="reload">
</cm:property-placeholder>
</blueprint>
generates:
2013-10-11 15:02:03,962 | ERROR | NAPSHOT-thread-1 | BlueprintContainerImpl | container.BlueprintContainerImpl 398 | 10 - org.apache.aries.blueprint.core - 1.0.1.redhat-610115 | Unable to start blueprint container for bundle io.hawt.hawtio-maven-indexer
org.osgi.service.blueprint.container.ComponentDefinitionException: Multiple placeholders with the same prefix and suffix are not allowed
at org.apache.aries.blueprint.ext.PlaceholdersUtils.validatePlaceholder(PlaceholdersUtils.java:49)[10:org.apache.aries.blueprint.core:1.0.1.redhat-610115]
at org.apache.aries.blueprint.compendium.cm.CmNamespaceHandler.parsePropertyPlaceholder(CmNamespaceHandler.java:295)[12:org.apache.aries.blueprint.cm:1.0.1.redhat-610115]
at org.apache.aries.blueprint.compendium.cm.CmNamespaceHandler.parse(CmNamespaceHandler.java:176)[12:org.apache.aries.blueprint.cm:1.0.1.redhat-610115]
at org.apache.aries.blueprint.parser.Parser.parseCustomElement(Parser.java:1279)[10:org.apache.aries.blueprint.core:1.0.1.redhat-610115]
at org.apache.aries.blueprint.parser.Parser.loadComponents(Parser.java:337)[10:org.apache.aries.blueprint.core:1.0.1.redhat-610115]
at org.apache.aries.blueprint.parser.Parser.populate(Parser.java:277)[10:org.apache.aries.blueprint.core:1.0.1.redhat-610115]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:319)[10:org.apache.aries.blueprint.core:1.0.1.redhat-610115]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)[10:org.apache.aries.blueprint.core:1.0.1.redhat-610115]
at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:270)[10:org.apache.aries.blueprint.core:1.0.1.redhat-610115]
at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:233)[10:org.apache.aries.blueprint.core:1.0.1.redhat-610115]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[8:org.apache.aries.util:1.0.1.redhat-610115]
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[8:org.apache.aries.util:1.0.1.redhat-610115]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment