[ 
https://issues.apache.org/jira/browse/CAMEL-6267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14214192#comment-14214192
 ] 

Xiaohui Wu commented on CAMEL-6267:
-----------------------------------

The exception like below:
{code}
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]
{code}

> camel-cxfrs blueprint configure could not be installed if there are some 
> subelement settings
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6267
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6267
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.9.6, 2.10.4, 2.11.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.9.7, 2.11.0
>
>
> Got the OOM Exception when blueprint want to parser the setting like this.
> {code}
> <camelcxf:rsClient id="rsClient" address="http://localhost:9002/rest";
>     
> serviceClass="org.apache.camel.itest.osgi.cxf.jaxrs.testbean.CustomerService">
>     <camelcxf:features>
>          <bean class="org.apache.cxf.feature.LoggingFeature"/>
>      </camelcxf:features> 
>   </camelcxf:rsClient>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to