This content has been marked as final.
Show 2 replies
-
1. Re: SAR deployment with mbean attribute of java.math.BigDecimal type: unable to find PropertyEditor
rhanus Nov 11, 2011 5:07 AM (in response to rhanus)finally I've found a solution by reusing/fixing PropertyEditorManagerService from 4.x/5.x
I'm going to describe it in a separate article along with other 4.x/5.x -> 7migration issues that I have met (and solved :-)
corresponding JIRA issue
-
2. Re: SAR deployment with mbean attribute of java.math.BigDecimal type: unable to find PropertyEditor
rhanus Dec 14, 2011 5:09 AM (in response to rhanus)ok this is a quick and dirty workaround:
- add source files bellow into your project, make then available under the package org.jboss.system
- ensure that ServiceMBeanSupport is the superclass of your service beans
- add dependency on module org.jboss.common-core
finally instead of the warning you should see info message "added bootstrap property editors" in server.log
enjoy
-
ServiceMBeanSupport.java.zip 846 bytes
-
ServiceMBean.java.zip 214 bytes