Hi all,
We are running into issues on QL on AIX platform for bunch of tests like
jpa, ejb/mdb, weld, bean-validation, admincli and most of them fail with
this error javax.validation.ValidationException: Unable to find a
default provider .
The bean-validation.jar META-INF/services has
javax.validation.spi.ValidationProvider set to
org.hibernate.validator.HibernateValidator and org.hibernate.validator
is in Export-Package too.
I am trying to look at the source code from here
http://grepcode.com/file/repository.jboss.org/maven2/javax.validation/validation-api/1.0.0.GA/javax/validation/Validation.java#Validation.DefaultValidationProviderResolver
Is there something extra that needs to be done for the ibm jdk which we
have taken care of in our env? Please can you let me know
Regards,
Bhakti
This is the AIX jdk
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap3260sr9fp1-20110208_03(SR9 FP1))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc-32
jvmap3260sr9-20110203_74623 (JIT enabled, AOT enabled)
J9VM - 20110203_074623
JIT - r9_20101028_17488ifx3
GC - 20101027_AA)
JCL - 20110203_01
javax.validation.ValidationException: Unable to find a default provider
at
javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264)
at
com.sun.enterprise.connectors.util.ConnectorJavaBeanValidator.getBeanValidator(
ConnectorJavaBeanValidator.java:109)
at
com.sun.enterprise.connectors.util.ConnectorJavaBeanValidator.validateJavaBean(
ConnectorJavaBeanValidator.java:64)
at
com.sun.enterprise.connectors.ActiveOutboundResourceAdapter.init(ActiveOutbound
ResourceAdapter.java:118)
at
com.sun.enterprise.connectors.ActiveRAFactory.instantiateActiveResourceAdapter(
ActiveRAFactory.java:135)
at
com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(Activ
eRAFactory.java:106)
at
com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createAct
iveResourceAdapter(ResourceAdapterAdminServiceImpl.java:212)
at
com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createAct
iveResourceAdapter(ResourceAdapterAdminServiceImpl.java:348)
at
com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(Conn
ectorRuntime.java:356)
at
com.sun.enterprise.connectors.service.ConnectorService.loadDeferredResourceAdap
ter(ConnectorService.java:183)
at
com.sun.enterprise.connectors.service.ConnectorService.loadResourcesAndItsRar(C
onnectorService.java:147)
at
com.sun.enterprise.connectors.service.ConnectorService.checkAndLoadPool(Connect
orService.java:324)
at
com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.g
etUnpooledConnection(ConnectorConnectionPoolAdminServiceImpl.java:634)
at
com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.g
etConnection(ConnectorConnectionPoolAdminServiceImpl.java:1602)
at
com.sun.enterprise.connectors.ConnectorRuntime.getConnection(ConnectorRuntime.j
ava:584)