[jboss-user] [Beginner's Corner] - Spring MBean Server Conversion from LazyMBeanServer To MBeanServer
Kevin Urciolo
do-not-reply at jboss.com
Thu May 19 12:28:02 EDT 2011
Kevin Urciolo [http://community.jboss.org/people/greenbean] created the discussion
"Spring MBean Server Conversion from LazyMBeanServer To MBeanServer"
To view the discussion, visit: http://community.jboss.org/message/606098#606098
--------------------------------------------------------------
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.convertIfNecessary(TypeConverterDelegate.java:231) [:3.0.3.RELEASE]
at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(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.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/606098#606098]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110519/7581fec3/attachment.html
More information about the jboss-user
mailing list