Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4298

camel-hazelcast stopped to work in Fuse 6.2.1 ER4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2.1
    • Camel
    • None
    • % %
    • Hide

      mvn install
      features:install camel-hazelcast
      install -s mvn:org.example/hazelcast-example/0.0.1-SNAPSHOT

      Show
      mvn install features:install camel-hazelcast install -s mvn:org.example/hazelcast-example/0.0.1-SNAPSHOT

      After installation of a bundle with camel-hazelcast endpoint I get this in the recent builds 50 and 69 (it worked in build 26, for example):

      2015-10-27 21:44:19,109 | ERROR | ExtenderThread-2 | ContextLoaderListener            | 130 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=org.example.hazelcast-example, config=osgibundle:/META-INF/spring/*.xml))
      org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException: Failed to create route mapProducer at: >>> To[hazelcast:map:foo] <<< in route: Route(mapProducer)[[From[direct:startMap]] -> [To[hazelcast:... because of Failed to resolve endpoint: hazelcast://map:foo due to: Cannot auto create component: hazelcast
      	at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1619)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:123)[181:org.apache.camel.camel-spring:2.15.1.redhat-621069]
      	at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:332)[181:org.apache.camel.camel-spring:2.15.1.redhat-621069]
      	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)[125:org.apache.servicemix.bundles.spring-context:3.2.12.RELEASE_2]
      	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)[125:org.apache.servicemix.bundles.spring-context:3.2.12.RELEASE_2]
      	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:950)[125:org.apache.servicemix.bundles.spring-context:3.2.12.RELEASE_2]
      	at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[129:org.springframework.osgi.core:1.2.1]
      	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[129:org.springframework.osgi.core:1.2.1]
      	at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[129:org.springframework.osgi.core:1.2.1]
      	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[129:org.springframework.osgi.core:1.2.1]
      	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[130:org.springframework.osgi.extender:1.2.1]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
      Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route mapProducer at: >>> To[hazelcast:map:foo] <<< in route: Route(mapProducer)[[From[direct:startMap]] -> [To[hazelcast:... because of Failed to resolve endpoint: hazelcast://map:foo due to: Cannot auto create component: hazelcast
      	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1028)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:185)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:841)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:2895)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:2618)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:167)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2467)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2463)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2486)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2463)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2432)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:255)[181:org.apache.camel.camel-spring:2.15.1.redhat-621069]
      	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:121)[181:org.apache.camel.camel-spring:2.15.1.redhat-621069]
      	... 10 more
      Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: hazelcast://map:foo due to: Cannot auto create component: hazelcast
      	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:578)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:79)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:200)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:107)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:113)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:62)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:56)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.model.ProcessorDefinition.makeProcessorImpl(ProcessorDefinition.java:533)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:494)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:219)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1025)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	... 23 more
      Caused by: org.apache.camel.RuntimeCamelException: Cannot auto create component: hazelcast
      	at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:400)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:376)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:548)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	... 33 more
      Caused by: com.hazelcast.config.InvalidConfigurationException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'group'. One of '{"http://www.hazelcast.com/schema/config":import, "http://www.hazelcast.com/schema/config":group, "http://www.hazelcast.com/schema/config":license-key, "http://www.hazelcast.com/schema/config":management-center, "http://www.hazelcast.com/schema/config":properties, "http://www.hazelcast.com/schema/config":wan-replication, "http://www.hazelcast.com/schema/config":network, "http://www.hazelcast.com/schema/config":partition-group, "http://www.hazelcast.com/schema/config":executor-service, "http://www.hazelcast.com/schema/config":queue, "http://www.hazelcast.com/schema/config":map, "http://www.hazelcast.com/schema/config":multimap, "http://www.hazelcast.com/schema/config":replicatedmap, "http://www.hazelcast.com/schema/config":cache, "http://www.hazelcast.com/schema/config":list, "http://www.hazelcast.com/schema/config":set, "http://www.hazelcast.com/schema/config":topic, "http://www.hazelcast.com/schema/config":reliable-topic, "http://www.hazelcast.com/schema/config":jobtracker, "http://www.hazelcast.com/schema/config":semaphore, "http://www.hazelcast.com/schema/config":ringbuffer, "http://www.hazelcast.com/schema/config":listeners, "http://www.hazelcast.com/schema/config":serialization, "http://www.hazelcast.com/schema/config":native-memory, "http://www.hazelcast.com/schema/config":services, "http://www.hazelcast.com/schema/config":security, "http://www.hazelcast.com/schema/config":member-attributes, "http://www.hazelcast.com/schema/config":quorum}' is expected.
      	at com.hazelcast.config.AbstractXmlConfigHelper.schemaValidation(AbstractXmlConfigHelper.java:193)[264:com.hazelcast:3.5.2]
      	at com.hazelcast.config.XmlConfigBuilder.parseAndBuildConfig(XmlConfigBuilder.java:211)[264:com.hazelcast:3.5.2]
      	at com.hazelcast.config.XmlConfigBuilder.build(XmlConfigBuilder.java:194)[264:com.hazelcast:3.5.2]
      	at com.hazelcast.config.XmlConfigBuilder.build(XmlConfigBuilder.java:187)[264:com.hazelcast:3.5.2]
      	at org.apache.camel.component.hazelcast.HazelcastComponent.createOwnInstance(HazelcastComponent.java:176)[265:org.apache.camel.camel-hazelcast:2.15.1.redhat-621069]
      	at org.apache.camel.component.hazelcast.HazelcastComponent.doStart(HazelcastComponent.java:155)[265:org.apache.camel.camel-hazelcast:2.15.1.redhat-621069]
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:2869)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:395)[176:org.apache.camel.camel-core:2.15.1.redhat-621069]
      	... 35 more
      

            janstey@redhat.com Jonathan Anstey
            trohovsky Tomas Rohovsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: