Problem using camel-atom in FUSE ESB
maxpicoz Apr 27, 2012 8:58 AMHello,
I'm trying to use camel-atom component on fuse distribution of apache servicemix (version 4.4.1 fuse-03-06). I've installed the camel-atom feature that installed also the Abdera 1.1.2 atom parser.
I got the following class not found exception:
14:42:46,878 | WARN | ap/wwacapget.php | faultPollingConsumerPollStrategy | 88 - org.apache.camel.camel-core - 2.8.0.fuse-03-06 | Consumer Consumer[atom://http://alerts.weather.gov/cap/wwacapget.php?consumer.delay=60000&x=0] could not poll endpoint: Endpoint[atom://http://alerts.weather.gov/cap/wwacapget.php?consumer.delay=60000&x=0] caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.abdera.parser.stax.FOMParser not found from bundle
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.abdera.parser.stax.FOMParser not found from bundle
at org.apache.abdera.util.Discover.locate(Discover.java:37)[215:org.apache.abdera.core:1.1.2]
at org.apache.abdera.util.Discover.locate(Discover.java:21)[215:org.apache.abdera.core:1.1.2]
at org.apache.abdera.util.AbderaConfiguration.newParserInstance(AbderaConfiguration.java:298)[215:org.apache.abdera.core:1.1.2]
at org.apache.abdera.Abdera.newParser(Abdera.java:215)[215:org.apache.abdera.core:1.1.2]
at org.apache.abdera.Abdera.getParser(Abdera.java:150)[215:org.apache.abdera.core:1.1.2]
at org.apache.camel.component.atom.AtomUtils.getAtomParser(AtomUtils.java:42)[214:org.apache.camel.camel-atom:2.8.0.fuse-03-06]
at org.apache.camel.component.atom.AtomUtils.parseDocument(AtomUtils.java:55)[214:org.apache.camel.camel-atom:2.8.0.fuse-03-06]
at org.apache.camel.component.atom.AtomEntryPollingConsumer.getDocument(AtomEntryPollingConsumer.java:52)[214:org.apache.camel.camel-atom:2.8.0.fuse-03-06]
at org.apache.camel.component.atom.AtomEntryPollingConsumer.createFeed(AtomEntryPollingConsumer.java:77)[214:org.apache.camel.camel-atom:2.8.0.fuse-03-06]
at org.apache.camel.component.feed.FeedEntryPollingConsumer.poll(FeedEntryPollingConsumer.java:46)[214:org.apache.camel.camel-atom:2.8.0.fuse-03-06]
at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:138)[88:org.apache.camel.camel-core:2.8.0.fuse-03-06]
at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:90)[88:org.apache.camel.camel-core:2.8.0.fuse-03-06]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_30]
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)[:1.6.0_30]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)[:1.6.0_30]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)[:1.6.0_30]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)[:1.6.0_30]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)[:1.6.0_30]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_30]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_30]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_30]
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.abdera.parser.stax.FOMParser not found from bundle
at org.apache.abdera.util.Discover.getClass(Discover.java:162)[215:org.apache.abdera.core:1.1.2]
at org.apache.abdera.util.Discover.load(Discover.java:143)[215:org.apache.abdera.core:1.1.2]
at org.apache.abdera.util.Discover.locate(Discover.java:33)[215:org.apache.abdera.core:1.1.2]
... 20 more
Caused by: java.lang.ClassNotFoundException: org.apache.abdera.parser.stax.FOMParser not found from bundle
at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)[81:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)[81:org.springframework.osgi.core:1.2.1]
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_30]
at org.apache.abdera.util.Discover.getClass(Discover.java:159)[215:org.apache.abdera.core:1.1.2]
... 22 more
Caused by: java.lang.ClassNotFoundException: org.apache.abdera.parser.stax.FOMParser not found by ness-dr-so115
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:845)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:74)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1839)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_30]
at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:703)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1624)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:909)[org.apache.felix.framework-3.0.9-fuse-05-06.jar:]
at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)[81:org.springframework.osgi.core:1.2.1]
... 25 more
Any idea ?
Best Regards
Massimo