Hi,

This may or may not be related, but try deleting the ./wdir/defaultJBI folder
before launching ServiceMix.. I remember I had weird results when reusing a
wdir/defaultJBI folder when changing some stuff in the JBI components /
Spring..

Are you running the BPEL example as shipped with servicemix 1.0.1, without any
modification ?

Good luck,
Sami Dalouche


Quoting Terance Dias <[EMAIL PROTECTED]>:

>
> Hi,
>
> I've downloaded servicemix-1.0.1 and am trying to run the BPEL example.
>
> First I got an error saying that the jbi.xml file is not present in the
>
examples/bpel/./wdir/defaultJBI/components/PxeBpelEngine/installation/META-INF/jbi.xml
>
> After I placed the file in this place, I'm now getting an error saying.
>
>
>
> [ERROR] InstallationService - -Unable to read descriptor:
> <org.springframework.b
> eans.factory.BeanCreationException: Error creating bean with name
> 'org.servicemi
> x.jbi.deployment.Component' defined in URL
> [file:/D:/Softwares/ServiceMix/servic
>
emix-1.0.1/examples/bpel/./wdir/defaultJBI/components/PxeBpelEngine/installation
> /META-INF/jbi.xml]: Error setting property values; nested exception is
> org.sprin
> gframework.beans.NotWritablePropertyException: Invalid property 'type' of
> bean c
> lass [org.servicemix.jbi.deployment.Component]: Bean property 'type' is not
> writ
> able or has an invalid setter method: Does the parameter type of the setter
> matc
> h the return type of the
> getter?>org.springframework.beans.factory.BeanCreationE
> xception: Error creating bean with name
> 'org.servicemix.jbi.deployment.Component
> ' defined in URL
> [file:/D:/Softwares/ServiceMix/servicemix-1.0.1/examples/bpel/.
> /wdir/defaultJBI/components/PxeBpelEngine/installation/META-INF/jbi.xml]:
> Error
> setting property values; nested exception is
> org.springframework.beans.NotWritab
> lePropertyException: Invalid property 'type' of bean class
> [org.servicemix.jbi.d
> eployment.Component]: Bean property 'type' is not writable or has an invalid
> set
> ter method: Does the parameter type of the setter match the return type of
> the g
> etter?
> org.springframework.beans.NotWritablePropertyException: Invalid property
> 'type'
> of bean class [org.servicemix.jbi.deployment.Component]: Bean property 'type'
> is
>  not writable or has an invalid setter method: Does the parameter type of the
> se
> tter match the return type of the getter?
>         at
> org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrappe
> rImpl.java:797)
>         at
> org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrappe
> rImpl.java:717)
>         at
> org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrappe
> rImpl.java:845)
>         at
> org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapp
> erImpl.java:872)
>         at
> org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapp
> erImpl.java:861)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:930)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.populateBean(AbstractAutowireCapableBeanFactory.java:731)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.createBean(AbstractAutowireCapableBeanFactory.java:340)
>         at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver
> .resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:147)
>         at
> org.springframework.beans.factory.support.BeanDefinitionValueResolver
> .resolveValueIfNecessary(BeanDefinitionValueResolver.java:96)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:920)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.populateBean(AbstractAutowireCapableBeanFactory.java:731)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.createBean(AbstractAutowireCapableBeanFactory.java:340)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> (AbstractBeanFactory.java:223)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> (AbstractBeanFactory.java:147)
>         at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.
> preInstantiateSingletons(DefaultListableBeanFactory.java:277)
>         at
> org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:312)
>         at
> org.springframework.context.support.FileSystemXmlApplicationContext.<
> init>(FileSystemXmlApplicationContext.java:82)
>         at
> org.springframework.context.support.FileSystemXmlApplicationContext.<
> init>(FileSystemXmlApplicationContext.java:67)
>         at
> org.springframework.context.support.FileSystemXmlApplicationContext.<
> init>(FileSystemXmlApplicationContext.java:58)
>         at
> org.servicemix.jbi.framework.InstallationService.buildDescriptor(Inst
> allationService.java:438)
>         at
> org.servicemix.jbi.framework.InstallationService.buildComponent(Insta
> llationService.java:667)
>         at
> org.servicemix.jbi.framework.InstallationService$1.run(InstallationSe
> rvice.java:643)
>         at
> org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.ja
> va:291)
>         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
> So
> urce)
>         at java.lang.Thread.run(Thread.java:536)
>
> Any idea about this error?
>
> Thanks and Regards,
>
> Terance.
>
>
> ---------------------------------
> Yahoo! for Good
>  Click here to donate to the Hurricane Katrina relief effort.




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to