-
Bug
-
Resolution: Done
-
Major
-
7.1.6.GA, 7.2.0.GA
resource adapter configured as module not finding validation provider
ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0215: Failed to resume activity org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent$1@3f9a21a1. To resume normal operation it is recommended that you restart the server.: java.lang.RuntimeException: javax.resource.ResourceException: IJ000852: Validation exception at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.activate(MessageDrivenComponent.java:273) at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.access$300(MessageDrivenComponent.java:63) at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent$1.resume(MessageDrivenComponent.java:109) at org.jboss.as.server.suspend.SuspendController.resume(SuspendController.java:126) at org.jboss.as.server.ServerService.finishBoot(ServerService.java:430) at org.jboss.as.server.ServerService.boot(ServerService.java:398) at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:370) at java.lang.Thread.run(Thread.java:748) Caused by: javax.resource.ResourceException: IJ000852: Validation exception at org.jboss.jca.core.rar.EndpointImpl.activate(EndpointImpl.java:177) at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent.activate(MessageDrivenComponent.java:271) ... 7 more Caused by: javax.validation.ValidationException: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath. at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:271) at org.jboss.jca.core.bv.BeanValidationUtil.createValidatorFactory(BeanValidationUtil.java:51) at org.jboss.jca.core.bv.BeanValidationUtil.createValidator(BeanValidationUtil.java:63) at org.jboss.jca.core.rar.EndpointImpl.activate(EndpointImpl.java:165) ... 8 more
It looks like the hibernate validator module should have services=import:
<module name="org.jboss.ironjacamar.impl" xmlns="urn:jboss:module:1.5"> ... <dependencies> ... <module name="javax.validation.api"/> <module name="org.hibernate.validator"/>
- clones
-
WFLY-11974 resource adapter configured as module not finding validation provider
- Closed
- relates to
-
JBEAP-16722 [GSS](7.2.z) JBJCA-1388 - Validator is created using rar ClassLoader as the TCCL
- Closed
- links to