L.S.,

On my machine, the uploaded version of ServiceMix 3.2.2 does not start. I get the exception below. Strange thing about this is we a) have a PropertyEditor to deal with this (org.apache.xbean.spring.context.impl.ObjectNameEditor) and b) we also have a setter there that takes a String (setObjectName(String)). I'm running this on Linux and get this exception both when running with JDK 1.5 and JDK 1.6. Am I missing the point somewhere here or is this a serious issue with the release?

Regards,

Gert

java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [javax.management.ObjectName] for property 'objectName': no matching editors or conversion strategy found at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:380) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1105) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161) at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
   at org.apache.servicemix.Main.main(Main.java:54)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)


Freeman Fang wrote:
Hi All,

I have uploaded a version of ServiceMix 3.2.2 for you to review. See
http://cwiki.apache.org/confluence/display/SM/ServiceMix+3.2.2
for all the links and release notes.

[ ] +1 Release ServiceMix 3.2.2
[ ] ± 0
[ ] -1 Do not release ServiceMix 3.2.2

Cheers

Freeman


Reply via email to