[hibernate-dev] WildFly BeanValidationCdiIntegrationTestCase test failure with ORM 5

Sanne Grinovero sanne at hibernate.org
Wed Jul 8 07:15:41 EDT 2015


On 8 July 2015 at 11:42, Hardy Ferentschik <hardy at hibernate.org> wrote:
> On Tue, Jul 07, 2015 at 04:50:36PM -0400, Scott Marlow wrote:
>> Hardy,
>>
>> It seems that the ValidatorFactoryBean#createConstraintValidatorFactory is
>> getting called too late for some reason. http://pastebin.com/WrdD91Hr shows
>> the call stack for
>> ValidatorFactoryBean#create(CreationalContext<ValidatorFactory> ctx) which
>> calls createConstraintValidatorFactory, which seems too late
>> (CdiValidatorFactoryService is shutting down).
>
> Did you not change some of the integration code in order to upgrade to ORM 5
> within Wildfly? It is not just a version upgrade, right?
>
> The reason I am asking is that afaik we jump through quite some hoops regarding
> the Bean Validation integration to ensure that the JNDI bound Validator(Factory)
> is CDI enabled and identical to the one which can be retrieved via CDI. This
> is the whole LazyValidatorFactory stuff. I am not so familiar with this code,
> but I am wondering whether your changes for the ORM 5 integration interfere with
> the Bean Valiadtion bootstrapping. What needed to change for the ORM 5 integration?
> I know that you and Sanne discussed the ability to bootstrap the PersistenceProvider
> using the API as defined by JPA. Did you go in this direction?
>
>> To recreate the WildFly ORM 5 issue on WildFly (if you want to see it
>> yourself), steps are:
>
> Ok, I'll take a look at your branch.
>
> Is this test failure the last hurdle to integrate ORM5 into Wildfly 10?

I have the same question, I'm confused as yesterday I heard we were
down to zero failures.
Did something else change, or are tests being run in incremental
iterations? Just wondering how confident we are about not seeing more
issues being reported tomorrow.

Sanne

>
> --Hardy
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


More information about the hibernate-dev mailing list