I started servicemix with the following configuration
<sm:container id="jbi" useMBeanServer="true" embedded="false"
createMBeanServer="true" dumpStats="true" statsInterval="10">
<sm:activationSpecs>
<sm:activationSpec componentName="rss"
service="inshare:rss"
destinationService="inshare:trace">
<sm:component>
<bean
class="org.apache.servicemix.components.rss.RssPollingComponent">
<property name="outputType"
value="rss_2.0" />
<property name="period"
value="5000" />
<property name="lastPolledDate">
<value>2005/08/10</value>
</property>
<property name="urlStrings">
<list>
<value>
http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml
</value>
<value>
http://rss.cnn.com/rss/cnn_topstories.rss
</value>
</list>
</property>
</bean>
</sm:component>
</sm:activationSpec>
<!-- Route the event to a trace component that just
outputs the event to
the console -->
<sm:activationSpec componentName="trace"
service="inshare:trace">
<sm:component>
<bean
class="org.apache.servicemix.components.util.TraceComponent" />
</sm:component>
</sm:activationSpec>
</sm:activationSpecs>
</sm:container>
I replaced the spring-2.0M3.jar with the spring-2.0.jar(s) so I had to use a
xbean-spring-2.7-SNAPSHOT.jar. I then dropped the
servicemix-wsn2005-3.0-incubating-installer.zip into the deploy directory.
Previously, I deployed the servicemix-shared-3.0-incubating-installer.zip.
Every other zip works except for this one.
-atif
gnodet wrote:
>
> I can not reproduce the error, it works for me.
> What are the exact steps you followed ?
>
> On 10/27/06, atif kureishy <[EMAIL PROTECTED]> wrote:
>>
>> I receive the following exception when hot deploying the
>> servicemix-wsn2005-3.0-incubating-installer.zip SA
>>
>> 27 Oct 2006 16:39:52,826 [Thread-8] ERROR
>> org.apache.servicemix.jbi.framework.InstallerMBeanImpl - Class not
>> found:
>> org.apache.servicemix.wsn.component.WSNBootstrap
>> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>> at
>> org.apache.servicemix.wsn.component.WSNComponent.createServiceUnitManager(WSNComponent.java:53)
>> at
>> org.apache.servicemix.common.BaseComponent.<init>(BaseComponent.java:51)
>> at
>> org.apache.servicemix.wsn.component.WSNComponent.<init>(WSNComponent.java:41)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>> at
>> java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>> at java.lang.Class.newInstance0(Class.java:350)
>> at java.lang.Class.newInstance(Class.java:303)
>> at
>> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.activateComponent(InstallerMBeanImpl.java:191)
>> at
>> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.install(InstallerMBeanImpl.java:169)
>> at
>> org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:317)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:247)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(AutoDeploymentService.java:592)
>> at
>> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
>> at
>> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
>> at java.lang.Thread.run(Thread.java:595)
>> 27 Oct 2006 16:39:52,826 [Thread-8] ERROR
>> org.apache.servicemix.jbi.framework.AutoDeploymentService - Failed to
>> update Component: servicemix-wsn2005
>> javax.jbi.management.DeploymentException:
>> javax.jbi.management.DeploymentException: java.lang.NoClassDefFoundError:
>> javax/xml/bind/JAXBException
>> at
>> org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:319)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:247)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(AutoDeploymentService.java:592)
>> at
>> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
>> at
>> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
>> at java.lang.Thread.run(Thread.java:595)
>> Caused by: javax.jbi.management.DeploymentException:
>> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>> at
>> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.activateComponent(InstallerMBeanImpl.java:207)
>> at
>> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.install(InstallerMBeanImpl.java:169)
>> at
>> org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:317)
>> ... 5 more
>> Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>> at
>> org.apache.servicemix.wsn.component.WSNComponent.createServiceUnitManager(WSNComponent.java:53)
>> at
>> org.apache.servicemix.common.BaseComponent.<init>(BaseComponent.java:51)
>> at
>> org.apache.servicemix.wsn.component.WSNComponent.<init>(WSNComponent.java:41)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>> at
>> java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>> at java.lang.Class.newInstance0(Class.java:350)
>> at java.lang.Class.newInstance(Class.java:303)
>> at
>> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.activateComponent(InstallerMBeanImpl.java:191)
>> ... 7 more
>> 27 Oct 2006 16:39:52,826 [Thread-8] WARN
>> org.apache.servicemix.jbi.framework.AutoDeploymentService - Directory:
>> deploy: Automatic install of
>> C:\Dev_View\inshare\dissemination\services\core\rootDir\deploy\servicemix-wsn2005-3.0-incubating-installer.zip
>> failed
>> javax.jbi.management.DeploymentException: Failed to update Component:
>> servicemix-wsn2005
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:258)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(AutoDeploymentService.java:592)
>> at
>> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
>> at
>> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
>> at java.lang.Thread.run(Thread.java:595)
>> Caused by: javax.jbi.management.DeploymentException:
>> javax.jbi.management.DeploymentException: java.lang.NoClassDefFoundError:
>> javax/xml/bind/JAXBException
>> at
>> org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:319)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:247)
>> ... 4 more
>> Caused by: javax.jbi.management.DeploymentException:
>> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>> at
>> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.activateComponent(InstallerMBeanImpl.java:207)
>> at
>> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.install(InstallerMBeanImpl.java:169)
>> at
>> org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:317)
>> ... 5 more
>> Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>> at
>> org.apache.servicemix.wsn.component.WSNComponent.createServiceUnitManager(WSNComponent.java:53)
>> at
>> org.apache.servicemix.common.BaseComponent.<init>(BaseComponent.java:51)
>> at
>> org.apache.servicemix.wsn.component.WSNComponent.<init>(WSNComponent.java:41)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>> at
>> java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>> at java.lang.Class.newInstance0(Class.java:350)
>> at java.lang.Class.newInstance(Class.java:303)
>> at
>> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.activateComponent(InstallerMBeanImpl.java:191)
>> ... 7 more
>> --
>> View this message in context:
>> http://www.nabble.com/NoClassDefFoundError---WSNotification-SA-tf2523018.html#a7038082
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
>
>
--
View this message in context:
http://www.nabble.com/NoClassDefFoundError---WSNotification-SA-tf2523018.html#a7040428
Sent from the ServiceMix - User mailing list archive at Nabble.com.