error installing cluster example
yamilorozco Sep 19, 2012 3:42 PMHi, i'm new with service mix.
I'm tring to install the cluster example, but it's not work.
the log of smx2:
15:20:56,828 | INFO | ExtenderThread-3 | DefaultListableBeanFactory | ort.DefaultSingletonBeanRegistry 422 | 98 - org.springframework.beans - 3.0.5.RELEASE | Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1dbe098: defining beans ; root of factory hierarchy
15:20:56,944 | ERROR | ExtenderThread-3 | ContextLoaderListener | BundleApplicationContextListener 50 | 113 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=jms.xml, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class for bean with name 'pooledConnectionFactory' defined in URL bundle://41.0:0/META-INF/spring/jms.xml; nested exception is java.lang.ClassNotFoundException: org.apache.activemq.pool.PooledConnectionFactoryBean not found from bundle
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1250)[98:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)[98:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1319)[98:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:885)[98:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)[98:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[100:org.springframework.context:3.0.5.RELEASE]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[112:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[112:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[112:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[112:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[113:org.springframework.osgi.extender:1.2.1]
at java.lang.Thread.run(Thread.java:636)[:1.6.0_18]
Caused by: java.lang.ClassNotFoundException: org.apache.activemq.pool.PooledConnectionFactoryBean not found from bundle
at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)[112:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)[112:org.springframework.osgi.core:1.2.1]
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)[:1.6.0_18]
at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)[95:org.springframework.core:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:408)[98:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1271)[98:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1242)[98:org.springframework.beans:3.0.5.RELEASE]
... 11 more
Caused by: java.lang.ClassNotFoundException: org.apache.activemq.pool.PooledConnectionFactoryBean not found by org.apache.activemq.activemq-pool
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:852)[org.apache.felix.framework-3.0.9-fuse-09-15.jar:]
at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:74)[org.apache.felix.framework-3.0.9-fuse-09-15.jar:]
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1846)[org.apache.felix.framework-3.0.9-fuse-09-15.jar:]
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)[:1.6.0_18]
at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:710)[org.apache.felix.framework-3.0.9-fuse-09-15.jar:]
at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:102)[org.apache.felix.framework-3.0.9-fuse-09-15.jar:]
at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1465)[org.apache.felix.framework-3.0.9-fuse-09-15.jar:]
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)[org.apache.felix.framework-3.0.9-fuse-09-15.jar:]
at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:74)[org.apache.felix.framework-3.0.9-fuse-09-15.jar:]
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1846)[org.apache.felix.framework-3.0.9-fuse-09-15.jar:]
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)[:1.6.0_18]
at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:710)[org.apache.felix.framework-3.0.9-fuse-09-15.jar:]
at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1689)[org.apache.felix.framework-3.0.9-fuse-09-15.jar:]
at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:925)[org.apache.felix.framework-3.0.9-fuse-09-15.jar:]
at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)[112:org.springframework.osgi.core:1.2.1]
... 17 more
15:21:01,486 | INFO | ExtenderThread-2 | WaiterApplicationContextExecutor | WaiterApplicationContextExecutor 243 | 113 - org.springframework.osgi.extender - 1.2.1 | No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplicationContext(bundle=camel.xml, config=osgibundle:/META-INF/spring/*.xml)
15:21:01,678 | INFO | ExtenderThread-4 | DefaultListableBeanFactory
osgi:
ID State Blueprint Spring Level Name
geronimo-annotation_1.0_spec (1.1.1)
geronimo-j2ee-management_1.1_spec (1.0.1)
Apache ServiceMix :: Bundles :: commons-lang (2.4.0.4)
Apache ServiceMix :: Bundles :: commons-codec (1.3.0.3)
Apache ServiceMix Bundles: oro-2.0.8 (2.0.8.3)
Apache ServiceMix :: Bundles :: velocity (1.7.0.1)
Apache ServiceMix :: Bundles :: jasypt (1.6.0.1)
Apache ServiceMix :: Specs :: Stax API 1.0 (1.9.0)
Apache ServiceMix :: Bundles :: xpp3 (1.1.0.4c_5)
Apache ServiceMix Bundles: joda-time-1.5.2 (1.5.2.2)
Apache ServiceMix :: Bundles :: jdom (1.1.0.4)
Apache ServiceMix Bundles: dom4j-1.6.1 (1.6.1.2)
Apache ServiceMix Bundles: xstream-1.3 (1.3.0.3)
Apache Aries Transaction Manager (0.3.1.fuse-08-15)
activemq-core (5.5.1.fuse-08-15)
Fragments: 121
activemq-console (5.5.1.fuse-08-15)
activemq-ra (5.5.1.fuse-08-15)
activemq-pool (5.5.1.fuse-08-15)
activemq-karaf (5.5.1.fuse-08-15)
Apache ServiceMix :: Naming (1.5.1.fuse-08-15)
Apache Aries Transaction Blueprint (0.3.1.fuse-08-15)
Apache Aries Transaction Enlisting JDBC Datasource (0.3.1.fuse-08-15)
Apache ServiceMix :: Document (1.5.1.fuse-08-15)
Apache ServiceMix :: Utils (1.5.1.fuse-08-15)
Apache ServiceMix :: NMR :: API (1.5.1.fuse-08-15)
Apache ServiceMix :: NMR :: Core (1.5.1.fuse-08-15)
Apache ServiceMix :: NMR :: OSGi (1.5.1.fuse-08-15)
Apache ServiceMix :: NMR :: Commands (1.5.1.fuse-08-15)
Apache ServiceMix :: NMR :: Management (1.5.1.fuse-08-15)
Apache ServiceMix :: Specs :: Stax API 1.0 (1.8.0)
Woodstox XML-processor (4.1.1)
Apache ServiceMix :: Specs :: Activation API 1.4 (1.8.0)
Apache ServiceMix :: Specs :: JBI API 1.0 (1.8.0)
Apache ServiceMix :: Bundles :: wsdl4j (1.6.2.3)
Apache ServiceMix :: Bundles :: ant (1.7.0.4)
Apache XBean :: Spring (3.11.1)
Apache XBean :: Classloader (3.11.1)
Apache ServiceMix :: Components :: Shared Libraries :: Common (2011.02.1.fuse-08-15)
Apache ServiceMix :: JBI :: Runtime (1.5.1.fuse-08-15)
Apache ServiceMix :: JBI :: OSGi (1.5.1.fuse-08-15)
Apache ServiceMix :: JBI :: Deployer (1.5.1.fuse-08-15)
Apache ServiceMix :: JBI :: Commands (1.5.1.fuse-08-15)
Apache ServiceMix :: Bundles :: aopalliance (1.0.0.5)
Spring Expression Language (3.0.5.RELEASE)
Spring Context (3.0.5.RELEASE)
Spring Context Support (3.0.5.RELEASE)
Apache ServiceMix :: JBI :: Clustering :: Requestor (1.5.1.fuse-08-15)
Apache ServiceMix :: JBI :: Clustering :: Engine (1.5.1.fuse-08-15)
Apache ServiceMix :: JBI :: Clustering :: Config (1.5.1.fuse-08-15)
camel-karaf-commands (2.8.0.fuse-07-15)
Apache ServiceMix :: Bundles :: cglib (2.1.0.3_7)
spring-osgi-annotation (1.2.1)
Spring Transaction (3.0.5.RELEASE)
camel-spring (2.8.0.fuse-07-15)
Apache ServiceMix :: Components :: Camel Service Engine (2011.02.1.fuse-08-15)
Apache ServiceMix :: Specs :: Scripting API 1.0 (1.8.0)
Apache XBean :: OSGI Blueprint Namespace Handler (3.9.0)
activemq-blueprint (5.5.1.fuse-08-15)
Hosts: 63
Apache ServiceMix :: Bundles :: commons-pool (1.5.4.3)
activemq-camel (5.5.1.fuse-08-15)
Apache XBean :: Spring (3.9.0)
activemq-spring (5.5.1.fuse-08-15)
Apache XML Security for Java (1.5.1)
Apache ServiceMix :: Components :: Shared Libraries :: SOAP Stack (2011.02.1.fuse-08-15)
Apache ServiceMix :: Components :: Shared Libraries :: SOAP Stack v2 (2011.02.1.fuse-08-15)
geronimo-j2ee-connector_1.5_spec (2.0.0)
Apache ServiceMix :: Components :: JMS Binding Component (2011.02.1.fuse-08-15)
thanks!!!