Cannot start Bridge-SA in Geronimo 1.1 + Servicemix 3.0.1 plugin ----------------------------------------------------------------
Key: SM-798 URL: https://issues.apache.org/activemq/browse/SM-798 Project: ServiceMix Issue Type: Bug Components: geronimo Affects Versions: 3.0.1 Environment: Windows XP, JDK 1.5_10, Geronimo 1.1, Servicemix 3.0.1 Reporter: xiaoxiong duan Fix For: 3.1 Attachments: geronimo-service.xml Installed deployer-3.0.1-incubating.car & servicemix-3.0.1-incubating.car plugin in Geronimo 1.1, and deploy all Servicemix 3.0.1 components in Geronimo 1.1, . servicemix-bpe-3.0.1-incubating-installer.zip . servicemix-eip-3.0.1-incubating-installer.zip . servicemix-http-3.0.1-incubating-installer.zip . servicemix-jms-3.0.1-incubating-installer.zip . servicemix-jsr181-3.0.1-incubating-installer.zip . servicemix-lwcontainer-3.0.1-incubating-installer.zip . servicemix-sca-3.0.1-incubating-installer.zip . servicemix-shared-3.0.1-incubating-installer.zip . servicemix-wsn2005-3.0.1-incubating-installer.zip then deploy bridge-sa-3.0.1-incubating.zip and get the following error 17:33:56,166 INFO [BrokerService] ActiveMQ 4.0.2 JMS Message Broker (localhost) is starting 17:33:56,166 INFO [BrokerService] For help or more information please see: http://incubator.apache.org/activemq/ 17:33:56,506 INFO [ServiceAssembly] doFail called for JBI service assembly: bridge-sa 17:33:56,506 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="servicemix-assemblies/bridge-sa/0.0/car?jbiType=JBIServiceAssembly,name=bridge-sa" java.lang.NoClassDefFoundError: org/apache/derby/jdbc/EmbeddedDataSource at org.apache.activemq.store.DefaultPersistenceAdapterFactory.createDataSource(DefaultPersistenceAdapterFactory.java:187) at org.apache.activemq.store.DefaultPersistenceAdapterFactory.getDataSource(DefaultPersistenceAdapterFactory.java:96) at org.apache.activemq.store.DefaultPersistenceAdapterFactory.createPersistenceAdapter(DefaultPersistenceAdapterFactory.java:54) at org.apache.activemq.broker.BrokerService.createPersistenceAdapter(BrokerService.java:968) at org.apache.activemq.broker.BrokerService.getPersistenceAdapter(BrokerService.java:559) at org.apache.activemq.broker.BrokerService.createRegionBroker(BrokerService.java:929) at org.apache.activemq.broker.BrokerService.createBroker(BrokerService.java:888) at org.apache.activemq.broker.BrokerService.getBroker(BrokerService.java:458) at org.apache.activemq.broker.BrokerService.start(BrokerService.java:361) at org.apache.activemq.transport.vm.VMTransportFactory.doCompositeConnect(VMTransportFactory.java:102) at org.apache.activemq.transport.vm.VMTransportFactory.doConnect(VMTransportFactory.java:48) at org.apache.activemq.transport.TransportFactory.doConnect(TransportFactory.java:42) at org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:76) at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:223) at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:211) at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:158) at org.apache.servicemix.jms.AbstractJmsProcessor.start(AbstractJmsProcessor.java:74) at org.apache.servicemix.soap.SoapEndpoint.activate(SoapEndpoint.java:351) at org.apache.servicemix.common.ServiceUnit.start(ServiceUnit.java:50) at org.apache.servicemix.common.BaseServiceUnitManager.start(BaseServiceUnitManager.java:149) at org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:103) at org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:130) at org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:105) at org.apache.servicemix.geronimo.ServiceMixGBean.register(ServiceMixGBean.java:216) at org.apache.servicemix.geronimo.ServiceMixGBean$$FastClassByCGLIB$$fcdcf76b.invoke(<generated>) at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) at org.apache.servicemix.geronimo.Container$$EnhancerByCGLIB$$6a556a4d.register(<generated>) at org.apache.servicemix.geronimo.ServiceAssembly.doStart(ServiceAssembly.java:55) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540) at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:512) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:493) at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>) at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$774d701b.startConfiguration(<generated>) at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67) at java.lang.Thread.run(Thread.java:595) I modify the file servicemix-3.0.1/geronimo/servicemix/src/plan/geronimo-service.xml, and bridge-sa can work fine. ... </dependency> <dependency> <groupId>woodstox</groupId> <artifactId>wstx-asl</artifactId> <version>${woodstox-version}</version> <type>jar</type> </dependency> <!--add derby dependency --> <dependency> <groupId>org.apache.derby</groupId> <artifactId>derby</artifactId> <version>10.1.1.0</version> <type>jar</type> </dependency> </dependencies> </environment> Xiaoxiong, Duan -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira