[jboss-jira] [JBoss JIRA] (WFLY-11974) resource adapter configured as module not finding validation provider
Lin Gao (Jira)
issues at jboss.org
Wed Apr 10 23:27:00 EDT 2019
[ https://issues.jboss.org/browse/WFLY-11974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lin Gao moved JBEAP-16710 to WFLY-11974:
----------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-11974 (was: JBEAP-16710)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: JCA
(was: JCA)
Affects Version/s: (was: 7.2.0.GA)
(was: 7.1.6.GA)
Fix Version/s: (was: 7.2.2.GA)
> resource adapter configured as module not finding validation provider
> ---------------------------------------------------------------------
>
> Key: WFLY-11974
> URL: https://issues.jboss.org/browse/WFLY-11974
> Project: WildFly
> Issue Type: Bug
> Components: JCA
> Reporter: Lin Gao
> Assignee: Lin Gao
> Priority: Major
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> resource adapter configured as module not finding validation provider
> {code}
> ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0215: Failed to resume activity org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponent$1 at 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
> {code}
> It looks like the hibernate validator module should have services=import:
> {code}
> <module name="org.jboss.ironjacamar.impl" xmlns="urn:jboss:module:1.5">
> ...
> <dependencies>
> ...
> <module name="javax.validation.api"/>
> <module name="org.hibernate.validator"/>
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list