The AbstractSecurityDeployer setup of the ServiceConstructorMetaData was
not correct in terms of relying on metaData.getClass() being a valid
type for the EjbPolicyConfigurationFacade ctor. It was trying to handle
this using a generic, but it was using the wrong base type. For an ejb
attachment, the attachment type has to be fixed to
org.jboss.metadata.ejb.jboss.JBossMetaData.
I have fixed this.
Scott Stark wrote:
After updating trunk, the security mbean creation in ejb2 is failing.
I'll fix it as it seems to be that the ejb2 deployer code has not been
updated, but wanted to see if if I'm missing something.
Caused by: java.lang.NoSuchMethodException:
org.jboss.deployment.security.EjbPolicyConfigurationFacade.<init>(java.lang.String,
org.jboss.metadata.ejb.jboss.JBossMetaData)
at java.lang.Class.getConstructor0(Class.java:2678)
at java.lang.Class.getConstructor(Class.java:1629)
at
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1241)
at
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
at
org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
at
org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:197)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:115)
... 85 more
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development