-
Enhancement
-
Resolution: Done
-
Major
-
7.0.2.Final, 7.1.0.Final, 7.1.1.Final
-
None
when deploying a sar with mbean attribute of java.math.BigDecimal type following warning appears in log:
14:14:11,010 WARN [org.jboss.as.deployment.service] (MSC service thread 1-1) Unable to find PropertyEditor for type class java.math.BigDecimal
and BigDecimal attribute value from jboss-service.xml descriptor is not set into mbean
In POJO deployments:
13:59:54,149 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.pojo.propertysBean.CONFIGURED: org.jboss.msc.service.StartException in service jboss.pojo.propertysBean.CONFIGURED: java.lang.IllegalArgumentException: argument type mismatch
at org.jboss.as.pojo.service.BeanUtils.configure(BeanUtils.java:136)
at org.jboss.as.pojo.service.ConfiguredPojoPhase.configure(ConfiguredPojoPhase.java:47)
at org.jboss.as.pojo.service.ConfiguredPojoPhase.start(ConfiguredPojoPhase.java:53)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_29]
at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_29]
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_29]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_29]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.6.0_29]
at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.6.0_29]
at org.jboss.as.pojo.service.MethodJoinpoint.dispatch(MethodJoinpoint.java:41)
at org.jboss.as.pojo.service.BeanUtils.configure(BeanUtils.java:202)
at org.jboss.as.pojo.service.BeanUtils.configure(BeanUtils.java:126)
... 7 more