[jboss-dev-forums] [JBoss AS Development] - Jboss 6.0.M1 - BeanValidation deployer
aslak
do-not-reply at jboss.com
Thu Nov 26 18:16:14 EST 2009
There seems to be a bug in the bean validator deployer filter config.
deployers/beanvalidation.deployer/META-INF/bv-core-jboss-beans.xml
When deploying a ear with a jar containing a beans.xml(CDI) this happens:
First the BeanValidator kicks in on the jar file, but not ear(due to filtering),
then WeldBoostrapDeployer kicks in on the Ear deployment.
The WeldBootstrapDeployer fails to start due to not finding the ValidatorFactory provided by the Bean Validator deployer..
The filer is defined as:
| <set>
| <value>org.jboss.metadata.ear.spec.EarMetaData</value>
| <value>org.jboss.metadata.web.jboss.JBossWebMetaData</value>
| <value>org.jboss.metadata.ejb.jboss.JBossMetaData</value>
| </set>
|
Changing it to this seems to work:
| <set>
| <value>org.jboss.metadata.ear.jboss.JBossAppMetaData</value>
| <value>org.jboss.metadata.web.jboss.JBossWebMetaData</value>
| <value>org.jboss.metadata.ejb.jboss.JBossMetaData</value>
| </set>
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267717#4267717
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267717
More information about the jboss-dev-forums
mailing list