Cannot deploy a Camel project with activemq into Fuse ESB server
grafvader Apr 10, 2013 4:52 AMHello,
Steps to reproduce the problem:
1. Download Fuse ESB server from http://repo.fusesource.com/nexus/content/groups/ea/org/fusesource/esb/fuse-esb-full/7.1.0.fuse-047
3. Set etc/users.properties to contain admin=admin,admin
4. Download and instale Fuse IDE from http://repo.fusesource.com/beta/rcp/7.1.61
5. File > New > Fuse Project
6. Select *camel-archetype-activemq* and wait for resolving all dependencies
7. Adding to pom.xml to all dependencies
8. In ide create and run the server (esb-full-047)
9. Open Fuse Integration perspective
10. In JMX Explorer refresh your Fuse ESB
12. Deploy the camle project by drag and drop to this fuse esb
13. The following error occurs
2013-04-10 10:14:52,523 | WARN | 10)-192.168.0.72 | MavenResolverImpl | ?
? | 74 - org.fusesource.fabric.fab.fab-osgi - 7.1.0.fuse-047 | Missing artifact descriptor: javax.ejb:ejb:jar:3.0 null
2013-04-10 10:14:55,197 | WARN | 10)-192.168.0.72 | MavenResolverImpl | ?
? | 74 - org.fusesource.fabric.fab.fab-osgi - 7.1.0.fuse-047 | Failed to resolve dependency of org.apache.xbean:xbean-spri
ng:jar:3.12. The following artifacts could not be resolved: javax.ejb:ejb:jar:3.0, javax.jms:jms:jar:1.1: Could not find ar
tifact javax.ejb:ejb:jar:3.0 in repos0 (http://repo1.maven.org/maven2)
org.sonatype.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: javax.ejb:ejb:ja
r:3.0, javax.jms:jms:jar:1.1: Could not find artifact javax.ejb:ejb:jar:3.0 in repos0 (http://repo1.maven.org/maven2)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:488)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifacts(DefaultRepositorySystem.java:258)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:288)
at org.fusesource.fabric.fab.MavenResolverImpl.resolveDepedencies(MavenResolverImpl.java:396)
at org.fusesource.fabric.fab.MavenResolverImpl.collectDependencies(MavenResolverImpl.java:349)
at org.fusesource.fabric.fab.MavenResolverImpl.collectDependenciesFromPom(MavenResolverImpl.java:291)
at org.fusesource.fabric.fab.MavenResolverImpl.collectDependencies(MavenResolverImpl.java:263)
at org.fusesource.fabric.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.collectDependencyTree(FabResolver
FactoryImpl.java:149)
at org.fusesource.fabric.fab.osgi.internal.FabClassPathResolver.resolve(FabClassPathResolver.java:136)
at org.fusesource.fabric.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.configureInstructions(FabResolver
FactoryImpl.java:283)
at org.fusesource.fabric.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.createInstructions(FabResolverFac
toryImpl.java:275)
at org.fusesource.fabric.fab.osgi.internal.FabResolverFactoryImpl$FabResolverImpl.getInfo(FabResolverFactoryImpl.ja
va:245)
at org.fusesource.fabric.fab.osgi.internal.FabConnection.getInputStream(FabConnection.java:93)
at java.net.URL.openStream(URL.java:1010)[:1.6.0_35]
at org.apache.aries.jmx.framework.Framework.createStream(Framework.java:113)
at org.apache.aries.jmx.framework.Framework.updateBundleFromURL(Framework.java:426)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_35]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_35]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_35]
at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_35]
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)[:1.6.0_35]
at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)[:1.6.0_35]
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)[:1.6.0_35]
at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)[:1.6.0_35]
at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)[:1.6.0_35]
at javax.management.StandardMBean.invoke(StandardMBean.java:391)[:1.6.0_35]
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)[:1.6.0_35]
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)[:1.6.0_35]
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)[:1.6.0_35]
at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)[:1.6.0_35]
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)[:1.6.0_35]
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360)[:1.6.0_35]
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)[:1.6.0_35]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_35]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_35]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_35]
at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_35]
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)[:1.6.0_35]
at sun.rmi.transport.Transport$1.run(Transport.java:159)[:1.6.0_35]
at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_35]
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)[:1.6.0_35]
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)[:1.6.0_35]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)[:1.6.0_35]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)[:1.6.0_35]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_35]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_35]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_35]
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact javax.ejb:ejb:jar:3.0 in repos0
(http://repo1.maven.org/maven2)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:854)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:849)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:602)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:596)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.get(WagonRepositoryConnector.java:355)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:407)
... 46 more
2013-04-10 10:14:55,283 | INFO | 10)-192.168.0.72 | FabResolver | ?
? | 74 - org.fusesource.fabric.fab.fab-osgi - 7.1.0.fuse-047 | Installing feature activemq-camel/5.7.0.fuse-71-047 for mav
en dependency org.apache.activemq/activemq-camel/5.7.0.fuse-71-047
2013-04-10 10:14:55,283 | INFO | 10)-192.168.0.72 | FabResolver | ?
? | 74 - org.fusesource.fabric.fab.fab-osgi - 7.1.0.fuse-047 | Installing feature activemq/5.7.0.fuse-71-047 for maven dep
endency org.apache.activemq/activemq-core/5.7.0.fuse-71-047
2013-04-10 10:14:55,284 | INFO | 10)-192.168.0.72 | FabResolver | ?
? | 74 - org.fusesource.fabric.fab.fab-osgi - 7.1.0.fuse-047 | Installing feature camel-core/2.10.0.fuse-71-047 for maven
dependency org.apache.camel/camel-core/2.10.0.fuse-71-047
2013-04-10 10:14:55,284 | INFO | 10)-192.168.0.72 | FabResolver | ?
? | 74 - org.fusesource.fabric.fab.fab-osgi - 7.1.0.fuse-047 | Installing feature camel-jms/2.10.0.fuse-71-047 for maven d
ependency org.apache.camel/camel-jms/2.10.0.fuse-71-047
2013-04-10 10:14:55,284 | INFO | 10)-192.168.0.72 | FabResolver | ?
? | 74 - org.fusesource.fabric.fab.fab-osgi - 7.1.0.fuse-047 | Installing feature camel-spring/2.10.0.fuse-71-047 for mave
n dependency org.apache.camel/camel-spring/2.10.0.fuse-71-047
2013-04-10 10:14:55,285 | INFO | 10)-192.168.0.72 | FabResolver | ?
? | 74 - org.fusesource.fabric.fab.fab-osgi - 7.1.0.fuse-047 | Installing feature spring/3.0.7.RELEASE for maven dependenc
y org.springframework/spring-context/3.0.7.RELEASE
2013-04-10 10:14:56,225 | INFO | 10)-192.168.0.72 | FabConnection | ?
? | 74 - org.fusesource.fabric.fab.fab-osgi - 7.1.0.fuse-047 | Bundle non-optional packages already installed for: slf4j.a
pi version: 1.6.6 packages: []
When start from console get additional errors:
2013-04-10 10:22:34,360 | ERROR | ExtenderThread-7 | ContextLoaderListener | ?
? | 113 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(
bundle=org.kruk.camel-activemq-test03, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [bundle:
//327.1:0/META-INF/spring/camel-context.xml]; nested exception is java.lang.IllegalArgumentException: Could not load proper
ty editor: org.apache.activemq.util.BooleanEditor
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java
:412)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:3
34)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:3
02)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitio
nReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitio
nReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitio
nReader.java:149)
at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplic
ationContext.java:164)
at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplic
ationContext.java:136)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshable
ApplicationContext.java:130)[104:org.springframework.context:3.0.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext
.java:467)[104:org.springframework.context:3.0.7.RELEASE]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$800(AbstractDelegat
edExecutionApplicationContext.java:69)[114:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExe
cutionApplicationContext.java:269)[114:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[114:org.sp
ringframework.osgi.core:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDeleg
atedExecutionApplicationContext.java:247)[114:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stage
One(DependencyWaiterApplicationContextExecutor.java:214)[113:org.springframework.osgi.extender:1.2.1]
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refre
sh(DependencyWaiterApplicationContextExecutor.java:169)[113:org.springframework.osgi.extender:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedE
xecutionApplicationContext.java:175)[114:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:716)
113:org.springframework.osgi.extender:1.2.1
at java.lang.Thread.run(Thread.java:662)[:1.6.0_35]
Caused by: java.lang.IllegalArgumentException: Could not load property editor: org.apache.activemq.util.BooleanEditor
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.createPropertyEditor(XBeanNamespaceHandler.java:471)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.getValue(XBeanNamespaceHandler.java:446)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.addProperty(XBeanNamespaceHandler.java:417)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.addAttributeProperty(XBeanNamespaceHandler.java:406)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.addAttributeProperties(XBeanNamespaceHandler.java:339)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.ja
va:227)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.ja
va:278)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:156)
at org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49)[140:org.apache.xbe
an.spring:3.12.0]
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelega
te.java:1338)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelega
te.java:1328)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefini
tionDocumentReader.java:135)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDef
initionDocumentReader.java:93)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.ja
va:493)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java
:390)
... 18 more
Caused by: java.lang.ClassNotFoundException: org.apache.activemq.util.BooleanEditor not found from bundle [org.kruk.camel-a
ctivemq-test03]
at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)
at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_35]
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.createPropertyEditor(XBeanNamespaceHandler.java:469)
... 32 more
Caused by: java.lang.ClassNotFoundException: org.apache.activemq.util.BooleanEditor not found by org.kruk.camel-activemq-te
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1499)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1882)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_35]
at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1814)
at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:929)
at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)
... 35 more
2013-04-10 10:22:34,366 | ERROR | ExtenderThread-7 | WaiterApplicationContextExecutor | ?
? | 113 - org.springframework.osgi.extender - 1.2.1 | Unable to create application context for [org.kruk.camel-activemq-te
st03], unsatisfied dependencies: none
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [bundle:
//327.1:0/META-INF/spring/camel-context.xml]; nested exception is java.lang.IllegalArgumentException: Could not load proper
ty editor: org.apache.activemq.util.BooleanEditor
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java
:412)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:3
34)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:3
02)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitio
nReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitio
nReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitio
nReader.java:149)
at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplic
ationContext.java:164)
at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplic
ationContext.java:136)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshable
ApplicationContext.java:130)[104:org.springframework.context:3.0.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext
.java:467)[104:org.springframework.context:3.0.7.RELEASE]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$800(AbstractDelegat
edExecutionApplicationContext.java:69)[114:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExe
cutionApplicationContext.java:269)[114:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[114:org.sp
ringframework.osgi.core:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDeleg
atedExecutionApplicationContext.java:247)[114:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stage
One(DependencyWaiterApplicationContextExecutor.java:214)[113:org.springframework.osgi.extender:1.2.1]
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refre
sh(DependencyWaiterApplicationContextExecutor.java:169)[113:org.springframework.osgi.extender:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedE
xecutionApplicationContext.java:175)[114:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:716)
113:org.springframework.osgi.extender:1.2.1
at java.lang.Thread.run(Thread.java:662)[:1.6.0_35]
Caused by: java.lang.IllegalArgumentException: Could not load property editor: org.apache.activemq.util.BooleanEditor
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.createPropertyEditor(XBeanNamespaceHandler.java:471)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.getValue(XBeanNamespaceHandler.java:446)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.addProperty(XBeanNamespaceHandler.java:417)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.addAttributeProperty(XBeanNamespaceHandler.java:406)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.addAttributeProperties(XBeanNamespaceHandler.java:339)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.ja
va:227)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.ja
va:278)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:156)
at org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49)[140:org.apache.xbe
an.spring:3.12.0]
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelega
te.java:1338)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelega
te.java:1328)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefini
tionDocumentReader.java:135)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDef
initionDocumentReader.java:93)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.ja
va:493)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java
:390)
... 18 more
Caused by: java.lang.ClassNotFoundException: org.apache.activemq.util.BooleanEditor not found from bundle [org.kruk.camel-a
ctivemq-test03]
at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)
at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_35]
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.createPropertyEditor(XBeanNamespaceHandler.java:469)
... 32 more
Caused by: java.lang.ClassNotFoundException: org.apache.activemq.util.BooleanEditor not found by org.kruk.camel-activemq-te
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1499)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1882)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_35]
at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1814)
at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:929)
at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)
... 35 more
2013-04-10 10:22:34,371 | ERROR | ExtenderThread-7 | ContextLoaderListener | ?
? | 113 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(
bundle=org.kruk.camel-activemq-test03, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [bundle:
//327.1:0/META-INF/spring/camel-context.xml]; nested exception is java.lang.IllegalArgumentException: Could not load proper
ty editor: org.apache.activemq.util.BooleanEditor
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java
:412)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:3
34)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:3
02)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitio
nReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitio
nReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitio
nReader.java:149)
at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplic
ationContext.java:164)
at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplic
ationContext.java:136)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshable
ApplicationContext.java:130)[104:org.springframework.context:3.0.7.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext
.java:467)[104:org.springframework.context:3.0.7.RELEASE]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$800(AbstractDelegat
edExecutionApplicationContext.java:69)[114:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExe
cutionApplicationContext.java:269)[114:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[114:org.sp
ringframework.osgi.core:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDeleg
atedExecutionApplicationContext.java:247)[114:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stage
One(DependencyWaiterApplicationContextExecutor.java:214)[113:org.springframework.osgi.extender:1.2.1]
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refre
sh(DependencyWaiterApplicationContextExecutor.java:169)[113:org.springframework.osgi.extender:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedE
xecutionApplicationContext.java:175)[114:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:716)
113:org.springframework.osgi.extender:1.2.1
at java.lang.Thread.run(Thread.java:662)[:1.6.0_35]
Caused by: java.lang.IllegalArgumentException: Could not load property editor: org.apache.activemq.util.BooleanEditor
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.createPropertyEditor(XBeanNamespaceHandler.java:471)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.getValue(XBeanNamespaceHandler.java:446)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.addProperty(XBeanNamespaceHandler.java:417)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.addAttributeProperty(XBeanNamespaceHandler.java:406)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.addAttributeProperties(XBeanNamespaceHandler.java:339)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.ja
va:227)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.ja
va:278)
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:156)
at org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49)[140:org.apache.xbe
an.spring:3.12.0]
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelega
te.java:1338)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelega
te.java:1328)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefini
tionDocumentReader.java:135)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDef
initionDocumentReader.java:93)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.ja
va:493)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java
:390)
... 18 more
Caused by: java.lang.ClassNotFoundException: org.apache.activemq.util.BooleanEditor not found from bundle [org.kruk.camel-a
ctivemq-test03]
at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)
at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_35]
at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.createPropertyEditor(XBeanNamespaceHandler.java:469)
... 32 more
Caused by: java.lang.ClassNotFoundException: org.apache.activemq.util.BooleanEditor not found by org.kruk.camel-activemq-te
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1499)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1882)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_35]
at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1814)
at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:929)
at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)
... 35 more
And my pom.xml
Please help and thank you.