-
May 19th, 2011, 11:38 AM
#1
Spring MBean Server Conversion from LazyMBeanServer To MBeanServer
I am migrating code from JBoss 4.0.5.GA to JBoss 6.0. Much of the code uses Spring 3.0.3. I placed the Spring DIST jars in the JBoss common/lib directory. However, when my applications launch, I get the following error:
Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.jboss.system.server.jmx.LazyMBeanServer] to required type [javax.management.MBeanServer] for property 'mbeanServer': no matching editors or conversion strategy found
at org.springframework.beans.TypeConverterDelegate.co nvertIfNecessary(TypeConverterDelegate.java:231) [:3.0.3.RELEASE]
at org.springframework.beans.BeanWrapperImpl.convertI fNecessary(BeanWrapperImpl.java:447) [:3.0.3.RELEASE]
... 100 more
Do you know what can cause this type of problem? It seems the LazyMBeanServer should implement the javax.management.MBeanServer, so I am not sure why it is complaining. This worked fine in the older version of JBoss.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules