camel-cxfrs blueprint configure could not be installed if there are some subelement settings
Issue
Whenever I add interceptors (For example: GZIPInInterceptor and GZIPOutIntercepter) to an rsClient or rsServer in my blueprint, I receive an OutOfMemory exception in the container logs while the container is starting up.
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2219)[:1.7.0_45]
at java.util.ArrayList.grow(ArrayList.java:242)[:1.7.0_45]
at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:216)[:1.7.0_45]
at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:208)[:1.7.0_45]
at java.util.ArrayList.add(ArrayList.java:440)[:1.7.0_45]
at org.apache.aries.blueprint.reflect.BeanMetadataImpl.addProperty(BeanMetadataImpl.java:154)
at org.apache.aries.blueprint.reflect.BeanMetadataImpl.addProperty(BeanMetadataImpl.java:159)
at org.apache.camel.component.cxf.blueprint.RsServerDefinitionParser.parse(RsServerDefinitionParser.java:72)
at org.apache.camel.component.cxf.blueprint.CxfNamespaceHandler.parse(CxfNamespaceHandler.java:62)
at org.apache.aries.blueprint.parser.Parser.parseCustomElement(Parser.java:1279)
at org.apache.aries.blueprint.parser.Parser.loadComponents(Parser.java:337)
at org.apache.aries.blueprint.parser.Parser.populate(Parser.java:277)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:309)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:255)
at org.apache.aries.blueprint.container.BlueprintExtender.checkBundle(BlueprintExtender.java:325)
at org.apache.aries.blueprint.container.BlueprintExtender.bundleChanged(BlueprintExtender.java:243)
at org.apache.aries.blueprint.container.BlueprintExtender$BlueprintBundleTrackerCustomizer.modifiedBundle(BlueprintExtender.java:471)
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:198)
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:128)
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:468)
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:161)
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:117)
at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)
at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4479)
at org.apache.felix.framework.Felix$4.run(Felix.java:2019)
at org.apache.felix.framework.Felix$5.run(Felix.java:2061)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_45]
at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_45]
Environment
- Fuse ESB 7.1
- Red Hat JBoss Fuse 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
