You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Charles Souillard <Ch...@ext.bull.net> on 2006/03/03 14:55:24 UTC

servicemiw-web

Hi all,

I am trying to install my SE to SM web app and it is not going well...
In fact, the folloing sequence call is initiated by SM when I give my 
archive url in JMX console :

BaseBootstrap.constructor
BaseBootstrap.init
Initializing bootstrap
BaseBootstrap.doInit
BaseBootstrap.getExtensionMBean
Bootstrap initialized
Bootstrap onInstall
Bootstrap onInstall done
BaseComponent.constructor
OrchestraComponent.createLifeCycle
BaseLifeCycle.constructor
OrchestraLifeCycle.constructor
BaseComponent.createRegistry
Registry.constructor
OrchestraComponent.createServiceUnitManager
AbstractDeployer.constructor
BaseServiceUnitManager.constructor
2006-03-03 14:50:19,061 : JBIContainer.activateComponent : Activating 
component for: [container=defaultJBI,name=Orchestra,id=Orchestra] with 
service: null component: com.bull.bsoap.bpel.jbi.OrchestraComponent@26c025
BaseBootstrap.cleanUp
Cleaning up bootstrap
BaseBootstrap.doCleanUp
Bootstrap cleaned up

but then nothing happens...

So I tried to install given archives like the jms one available in 
components directory (I am working with svn of today) and I get the 
following error.

Can you help me ?

Thanks a lot
Charles


2006-03-03 14:48:07,774 : AutoDeploymentService$2.run : Directory: 
install: Archive changed: processing servicemix-jms-3.0-SNAPSHOT.zip ...
2006-03-03 14:48:07,799 : AutoDeploymentService.unpackLocation : 
Unpacked archive 
/home/souillac/serviceMix/install/servicemix-jms-3.0-SNAPSHOT.zip to 
/home/souillac/serviceMix/wdir/defaultJBI/tmp/servicemix-jms-3.0-SNAPSHOT.0.tmp
2006-03-03 14:48:07,818 : XmlBeanDefinitionReader.loadBeanDefinitions : 
Loading XML bean definitions from URL 
[file://home/souillac/serviceMix/wdir/defaultJBI/tmp/servicemix-jms-3.0-SNAPSHOT.0.tmp/META-INF/jbi.xml]
2006-03-03 14:48:08,048 : 
AbstractRefreshableApplicationContext.refreshBeanFactory : Bean factory 
for application context 
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext;hashCode=3715728]: 
org.springframework.beans.factory.support.DefaultListableBeanFactory 
defining beans [installationDescriptorExtension,jbi]; root of 
BeanFactory hierarchy
2006-03-03 14:48:08,048 : AbstractApplicationContext.refresh : 2 beans 
defined in application context 
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext;hashCode=3715728]
2006-03-03 14:48:08,049 : AbstractApplicationContext.initMessageSource : 
Unable to locate MessageSource with name 'messageSource': using default 
[org.springframework.context.support.DelegatingMessageSource@1f545b2]
2006-03-03 14:48:08,055 : 
AbstractApplicationContext.initApplicationEventMulticaster : Unable to 
locate ApplicationEventMulticaster with name 
'applicationEventMulticaster': using default 
[org.springframework.context.event.SimpleApplicationEventMulticaster@1b2e497]
2006-03-03 14:48:08,056 : 
DefaultListableBeanFactory.preInstantiateSingletons : Pre-instantiating 
singletons in factory 
[org.springframework.beans.factory.support.DefaultListableBeanFactory 
defining beans [installationDescriptorExtension,jbi]; root of 
BeanFactory hierarchy]
2006-03-03 14:48:08,071 : AutoDeploymentService.updateArchive : 
Uninstalling Component: servicemix-jms
2006-03-03 14:48:08,077 : InstallationService.doInstallComponent : moved 
/home/souillac/serviceMix/wdir/defaultJBI/tmp/servicemix-jms-3.0-SNAPSHOT.0.tmp 
to 
/home/souillac/serviceMix/wdir/defaultJBI/components/servicemix-jms/version_1/installation
2006-03-03 14:48:08,171 : JBIContainer.activateComponent : Activating 
component for: 
[container=defaultJBI,name=servicemix-jms,id=servicemix-jms] with 
service: null component: org.apache.servicemix.jms.JmsComponent@117487
2006-03-03 14:48:08,189 : AutoDeploymentService.monitorDirectory : 
Automatic install of 
/home/souillac/serviceMix/install/servicemix-jms-3.0-SNAPSHOT.zip failed
errorCode: 0
        at 
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:323)
        at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoClassDefFoundError: 
com/thoughtworks/xstream/io/HierarchicalStreamDriver
        at 
org.apache.servicemix.jbi.framework.LocalComponentConnector.writeRunningState(LocalComponentConnector.java:338)
        at 
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.persistRunningState(ComponentMBeanImpl.java:225)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.install(InstallerMBeanImpl.java:138)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:369)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:342)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:208)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(AutoDeploymentService.java:517)
        at 
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
        ... 2 more
Exception in thread "Timer-3" java.lang.NoClassDefFoundError: 
com/thoughtworks/xstream/io/HierarchicalStreamDriver
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.persistState(AutoDeploymentService.java:560)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:531)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:61)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:478)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)


Re: servicemiw-web

Posted by Guillaume Nodet <gn...@gmail.com>.
This sequence seems fine to me if you use the
InstallationService.loadNewInstaller.
Check the JBI spec for more infos, but if you install your component using
jmx, there
are several steps to perform.  The next one is to really install your
component using
the newly created installer install method.  Then, you will be able to start
your component
using the LifeCycle mbean for the component.

For the servicemix-jms, it looks like you miss the xstream jar in your
classpath.

Cheers,
Guillaume Nodet

On 3/3/06, Charles Souillard <Ch...@ext.bull.net> wrote:
>
> Hi all,
>
> I am trying to install my SE to SM web app and it is not going well...
> In fact, the folloing sequence call is initiated by SM when I give my
> archive url in JMX console :
>
> BaseBootstrap.constructor
> BaseBootstrap.init
> Initializing bootstrap
> BaseBootstrap.doInit
> BaseBootstrap.getExtensionMBean
> Bootstrap initialized
> Bootstrap onInstall
> Bootstrap onInstall done
> BaseComponent.constructor
> OrchestraComponent.createLifeCycle
> BaseLifeCycle.constructor
> OrchestraLifeCycle.constructor
> BaseComponent.createRegistry
> Registry.constructor
> OrchestraComponent.createServiceUnitManager
> AbstractDeployer.constructor
> BaseServiceUnitManager.constructor
> 2006-03-03 14:50:19,061 : JBIContainer.activateComponent : Activating
> component for: [container=defaultJBI,name=Orchestra,id=Orchestra] with
> service: null component: com.bull.bsoap.bpel.jbi.OrchestraComponent@26c025
> BaseBootstrap.cleanUp
> Cleaning up bootstrap
> BaseBootstrap.doCleanUp
> Bootstrap cleaned up
>
> but then nothing happens...
>
> So I tried to install given archives like the jms one available in
> components directory (I am working with svn of today) and I get the
> following error.
>
> Can you help me ?
>
> Thanks a lot
> Charles
>
>
> 2006-03-03 14:48:07,774 : AutoDeploymentService$2.run : Directory:
> install: Archive changed: processing servicemix-jms-3.0-SNAPSHOT.zip ...
> 2006-03-03 14:48:07,799 : AutoDeploymentService.unpackLocation :
> Unpacked archive
> /home/souillac/serviceMix/install/servicemix-jms-3.0-SNAPSHOT.zip to
> /home/souillac/serviceMix/wdir/defaultJBI/tmp/servicemix-
> jms-3.0-SNAPSHOT.0.tmp
> 2006-03-03 14:48:07,818 : XmlBeanDefinitionReader.loadBeanDefinitions :
> Loading XML bean definitions from URL
> [
> file://home/souillac/serviceMix/wdir/defaultJBI/tmp/servicemix-jms-3.0-SNAPSHOT.0.tmp/META-INF/jbi.xml
> ]
> 2006-03-03 14:48:08,048 :
> AbstractRefreshableApplicationContext.refreshBeanFactory : Bean factory
> for application context
> [org.apache.xbean.spring.context.FileSystemXmlApplicationContext
> ;hashCode=3715728]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans [installationDescriptorExtension,jbi]; root of
> BeanFactory hierarchy
> 2006-03-03 14:48:08,048 : AbstractApplicationContext.refresh : 2 beans
> defined in application context
> [org.apache.xbean.spring.context.FileSystemXmlApplicationContext
> ;hashCode=3715728]
> 2006-03-03 14:48:08,049 : AbstractApplicationContext.initMessageSource :
> Unable to locate MessageSource with name 'messageSource': using default
> [org.springframework.context.support.DelegatingMessageSource@1f545b2]
> 2006-03-03 14:48:08,055 :
> AbstractApplicationContext.initApplicationEventMulticaster : Unable to
> locate ApplicationEventMulticaster with name
> 'applicationEventMulticaster': using default
> [
> org.springframework.context.event.SimpleApplicationEventMulticaster@1b2e497
> ]
> 2006-03-03 14:48:08,056 :
> DefaultListableBeanFactory.preInstantiateSingletons : Pre-instantiating
> singletons in factory
> [org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans [installationDescriptorExtension,jbi]; root of
> BeanFactory hierarchy]
> 2006-03-03 14:48:08,071 : AutoDeploymentService.updateArchive :
> Uninstalling Component: servicemix-jms
> 2006-03-03 14:48:08,077 : InstallationService.doInstallComponent : moved
> /home/souillac/serviceMix/wdir/defaultJBI/tmp/servicemix-
> jms-3.0-SNAPSHOT.0.tmp
> to
>
> /home/souillac/serviceMix/wdir/defaultJBI/components/servicemix-jms/version_1/installation
> 2006-03-03 14:48:08,171 : JBIContainer.activateComponent : Activating
> component for:
> [container=defaultJBI,name=servicemix-jms,id=servicemix-jms] with
> service: null component: org.apache.servicemix.jms.JmsComponent@117487
> 2006-03-03 14:48:08,189 : AutoDeploymentService.monitorDirectory :
> Automatic install of
> /home/souillac/serviceMix/install/servicemix-jms-3.0-SNAPSHOT.zip failed
> errorCode: 0
>         at
> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java
> :323)
>         at
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NoClassDefFoundError:
> com/thoughtworks/xstream/io/HierarchicalStreamDriver
>         at
>
> org.apache.servicemix.jbi.framework.LocalComponentConnector.writeRunningState
> (LocalComponentConnector.java:338)
>         at
> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.persistRunningState
> (ComponentMBeanImpl.java:225)
>         at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.install(
> InstallerMBeanImpl.java:138)
>         at
> org.apache.servicemix.jbi.framework.InstallationService.install(
> InstallationService.java:369)
>         at
> org.apache.servicemix.jbi.framework.InstallationService.install(
> InstallationService.java:342)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
> AutoDeploymentService.java:208)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(
> AutoDeploymentService.java:517)
>         at
> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java
> :291)
>         ... 2 more
> Exception in thread "Timer-3" java.lang.NoClassDefFoundError:
> com/thoughtworks/xstream/io/HierarchicalStreamDriver
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.persistState(
> AutoDeploymentService.java:560)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory
> (AutoDeploymentService.java:531)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(
> AutoDeploymentService.java:61)
>         at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(
> AutoDeploymentService.java:478)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
>
>

Re: servicemiw-web

Posted by Charles Souillard <Ch...@ext.bull.net>.
Sorry, I missed to precise that I got the trace concerning the jms 
component through automatic install dir.

You can find the trace when using jmx console hereafter : (no error but 
the install hangs and I get an error in jms console :  
InvocationTargetException)

2006-03-03 14:58:36,957 : AutoDeploymentService.unpackLocation : 
Unpacked archive 
/home/souillac/serviceMix/current/servicemix-3.0-SNAPSHOT/components/servicemix-jms-3.0-SNAPSHOT.zip 
to 
/home/souillac/serviceMix/wdir/defaultJBI/tmp/servicemix-jms-3.0-SNAPSHOT.0.tmp
2006-03-03 14:58:36,976 : XmlBeanDefinitionReader.loadBeanDefinitions : 
Loading XML bean definitions from URL 
[file://home/souillac/serviceMix/wdir/defaultJBI/tmp/servicemix-jms-3.0-SNAPSHOT.0.tmp/META-INF/jbi.xml]
2006-03-03 14:58:37,083 : 
AbstractRefreshableApplicationContext.refreshBeanFactory : Bean factory 
for application context 
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext;hashCode=32139049]: 
org.springframework.beans.factory.support.DefaultListableBeanFactory 
defining beans [installationDescriptorExtension,jbi]; root of 
BeanFactory hierarchy
2006-03-03 14:58:37,085 : AbstractApplicationContext.refresh : 2 beans 
defined in application context 
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext;hashCode=32139049]
2006-03-03 14:58:37,097 : AbstractApplicationContext.initMessageSource : 
Unable to locate MessageSource with name 'messageSource': using default 
[org.springframework.context.support.DelegatingMessageSource@8c4ce2]
2006-03-03 14:58:37,101 : 
AbstractApplicationContext.initApplicationEventMulticaster : Unable to 
locate ApplicationEventMulticaster with name 
'applicationEventMulticaster': using default 
[org.springframework.context.event.SimpleApplicationEventMulticaster@10bc849]
2006-03-03 14:58:37,113 : 
DefaultListableBeanFactory.preInstantiateSingletons : Pre-instantiating 
singletons in factory 
[org.springframework.beans.factory.support.DefaultListableBeanFactory 
defining beans [installationDescriptorExtension,jbi]; root of 
BeanFactory hierarchy]
2006-03-03 14:58:37,134 : InstallationService.doInstallComponent : moved 
/home/souillac/serviceMix/wdir/defaultJBI/tmp/servicemix-jms-3.0-SNAPSHOT.0.tmp 
to 
/home/souillac/serviceMix/wdir/defaultJBI/components/servicemix-jms/version_1/installation
2006-03-03 14:58:37,246 : JBIContainer.activateComponent : Activating 
component for: 
[container=defaultJBI,name=servicemix-jms,id=servicemix-jms] with 
service: null component: org.apache.servicemix.jms.JmsComponent@1a0f663


regards,
Charles

Charles Souillard wrote:

> Hi all,
>
> I am trying to install my SE to SM web app and it is not going well...
> In fact, the folloing sequence call is initiated by SM when I give my 
> archive url in JMX console :
>
> BaseBootstrap.constructor
> BaseBootstrap.init
> Initializing bootstrap
> BaseBootstrap.doInit
> BaseBootstrap.getExtensionMBean
> Bootstrap initialized
> Bootstrap onInstall
> Bootstrap onInstall done
> BaseComponent.constructor
> OrchestraComponent.createLifeCycle
> BaseLifeCycle.constructor
> OrchestraLifeCycle.constructor
> BaseComponent.createRegistry
> Registry.constructor
> OrchestraComponent.createServiceUnitManager
> AbstractDeployer.constructor
> BaseServiceUnitManager.constructor
> 2006-03-03 14:50:19,061 : JBIContainer.activateComponent : Activating 
> component for: [container=defaultJBI,name=Orchestra,id=Orchestra] with 
> service: null component: 
> com.bull.bsoap.bpel.jbi.OrchestraComponent@26c025
> BaseBootstrap.cleanUp
> Cleaning up bootstrap
> BaseBootstrap.doCleanUp
> Bootstrap cleaned up
>
> but then nothing happens...
>
> So I tried to install given archives like the jms one available in 
> components directory (I am working with svn of today) and I get the 
> following error.
>
> Can you help me ?
>
> Thanks a lot
> Charles
>
>
> 2006-03-03 14:48:07,774 : AutoDeploymentService$2.run : Directory: 
> install: Archive changed: processing servicemix-jms-3.0-SNAPSHOT.zip ...
> 2006-03-03 14:48:07,799 : AutoDeploymentService.unpackLocation : 
> Unpacked archive 
> /home/souillac/serviceMix/install/servicemix-jms-3.0-SNAPSHOT.zip to 
> /home/souillac/serviceMix/wdir/defaultJBI/tmp/servicemix-jms-3.0-SNAPSHOT.0.tmp 
>
> 2006-03-03 14:48:07,818 : XmlBeanDefinitionReader.loadBeanDefinitions 
> : Loading XML bean definitions from URL 
> [file://home/souillac/serviceMix/wdir/defaultJBI/tmp/servicemix-jms-3.0-SNAPSHOT.0.tmp/META-INF/jbi.xml] 
>
> 2006-03-03 14:48:08,048 : 
> AbstractRefreshableApplicationContext.refreshBeanFactory : Bean 
> factory for application context 
> [org.apache.xbean.spring.context.FileSystemXmlApplicationContext;hashCode=3715728]: 
> org.springframework.beans.factory.support.DefaultListableBeanFactory 
> defining beans [installationDescriptorExtension,jbi]; root of 
> BeanFactory hierarchy
> 2006-03-03 14:48:08,048 : AbstractApplicationContext.refresh : 2 beans 
> defined in application context 
> [org.apache.xbean.spring.context.FileSystemXmlApplicationContext;hashCode=3715728] 
>
> 2006-03-03 14:48:08,049 : AbstractApplicationContext.initMessageSource 
> : Unable to locate MessageSource with name 'messageSource': using 
> default 
> [org.springframework.context.support.DelegatingMessageSource@1f545b2]
> 2006-03-03 14:48:08,055 : 
> AbstractApplicationContext.initApplicationEventMulticaster : Unable to 
> locate ApplicationEventMulticaster with name 
> 'applicationEventMulticaster': using default 
> [org.springframework.context.event.SimpleApplicationEventMulticaster@1b2e497] 
>
> 2006-03-03 14:48:08,056 : 
> DefaultListableBeanFactory.preInstantiateSingletons : 
> Pre-instantiating singletons in factory 
> [org.springframework.beans.factory.support.DefaultListableBeanFactory 
> defining beans [installationDescriptorExtension,jbi]; root of 
> BeanFactory hierarchy]
> 2006-03-03 14:48:08,071 : AutoDeploymentService.updateArchive : 
> Uninstalling Component: servicemix-jms
> 2006-03-03 14:48:08,077 : InstallationService.doInstallComponent : 
> moved 
> /home/souillac/serviceMix/wdir/defaultJBI/tmp/servicemix-jms-3.0-SNAPSHOT.0.tmp 
> to 
> /home/souillac/serviceMix/wdir/defaultJBI/components/servicemix-jms/version_1/installation 
>
> 2006-03-03 14:48:08,171 : JBIContainer.activateComponent : Activating 
> component for: 
> [container=defaultJBI,name=servicemix-jms,id=servicemix-jms] with 
> service: null component: org.apache.servicemix.jms.JmsComponent@117487
> 2006-03-03 14:48:08,189 : AutoDeploymentService.monitorDirectory : 
> Automatic install of 
> /home/souillac/serviceMix/install/servicemix-jms-3.0-SNAPSHOT.zip failed
> errorCode: 0
>        at 
> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:323) 
>
>        at 
> EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown 
> Source)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NoClassDefFoundError: 
> com/thoughtworks/xstream/io/HierarchicalStreamDriver
>        at 
> org.apache.servicemix.jbi.framework.LocalComponentConnector.writeRunningState(LocalComponentConnector.java:338) 
>
>        at 
> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.persistRunningState(ComponentMBeanImpl.java:225) 
>
>        at 
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.install(InstallerMBeanImpl.java:138) 
>
>        at 
> org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:369) 
>
>        at 
> org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:342) 
>
>        at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:208) 
>
>        at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(AutoDeploymentService.java:517) 
>
>        at 
> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291) 
>
>        ... 2 more
> Exception in thread "Timer-3" java.lang.NoClassDefFoundError: 
> com/thoughtworks/xstream/io/HierarchicalStreamDriver
>        at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.persistState(AutoDeploymentService.java:560) 
>
>        at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:531) 
>
>        at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:61) 
>
>        at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:478) 
>
>        at java.util.TimerThread.mainLoop(Timer.java:512)
>        at java.util.TimerThread.run(Timer.java:462)
>
>