We're updating the issue view to help you get more done. 

Upgrade spring project to 4.3.15, start seeing internal.xml.ValidationXmlParser - No META-INF/validation.xml

Description

After upgrading the Spring version, I'm seeing below issues.This causing db transaction failure (intermittent) but i'm not getting any errors.

2019-01-09 06:42:02,321 [WebContainer : 21] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Log4jLoggerProvider
2019-01-09 06:42:02,322 [WebContainer : 21] INFO internal.util.Version - HV000001: Hibernate Validator 5.2.5.Final
2019-01-09 06:42:02,359 [WebContainer : 21] DEBUG engine.resolver.DefaultTraversableResolver - Found javax.persistence.Persistence on classpath containing 'getPersistenceUtil'. Assuming JPA 2 environment. Trying to instantiate JPA aware TraversableResolver
2019-01-09 06:42:02,362 [WebContainer : 21] DEBUG engine.resolver.DefaultTraversableResolver - Instantiated JPA aware TraversableResolver of type org.hibernate.validator.internal.engine.resolver.JPATraversableResolver.
2019-01-09 06:42:02,378 [WebContainer : 21] DEBUG internal.engine.ConfigurationImpl - Setting custom MessageInterpolator of type org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator
2019-01-09 06:42:02,379 [WebContainer : 21] DEBUG internal.engine.ConfigurationImpl - Setting custom ConstraintValidatorFactory of type org.springframework.validation.beanvalidation.SpringConstraintValidatorFactory
2019-01-09 06:42:02,380 [WebContainer : 21] DEBUG internal.engine.ConfigurationImpl - Setting custom ParameterNameProvider of type com.sun.proxy.$Proxy651
2019-01-09 06:42:02,385 [WebContainer : 21] DEBUG internal.xml.ValidationXmlParser - Trying to load META-INF/validation.xml for XML based Validator configuration.
2019-01-09 06:42:02,390 [WebContainer : 21] DEBUG internal.xml.ResourceLoaderHelper - Trying to load META-INF/validation.xml via user class loader
2019-01-09 06:42:02,391 [WebContainer : 21] DEBUG internal.xml.ResourceLoaderHelper - Trying to load META-INF/validation.xml via TCCL
2019-01-09 06:42:02,391 [WebContainer : 21] DEBUG internal.xml.ResourceLoaderHelper - Trying to load META-INF/validation.xml via Hibernate Validator's class loader
2019-01-09 06:42:02,391 [WebContainer : 21] DEBUG internal.xml.ValidationXmlParser - No META-INF/validation.xml found. Using annotation based configuration only.

2019-01-09 06:45:45,687 [WebContainer : 27] DEBUG metadata.descriptor.ConstraintDescriptorImpl - Adding composing constraint: ConstraintDescriptorImpl{annotation=javax.validation.constraints.NotNull, payloads=[], hasComposingConstraints=true, isReportAsSingleInvalidConstraint=false, elementType=FIELD, definedOn=DEFINED_LOCALLY, groups=[interface javax.validation.groups.Default], attributes={groups=[Ljava.lang.Class;@6622009d, payload=[Ljava.lang.Class;@45f6a8e3, message={javax.validation.constraints.NotNull.message}}, constraintType=GENERIC}.
2019-01-09 06:45:45,688 [WebContainer : 27] DEBUG metadata.descriptor.ConstraintDescriptorImpl - Adding composing constraint: ConstraintDescriptorImpl{annotation=javax.validation.constraints.NotNull, payloads=[], hasComposingConstraints=true, isReportAsSingleInvalidConstraint=false, elementType=FIELD, definedOn=DEFINED_LOCALLY, groups=[interface javax.validation.groups.Default], attributes={groups=[Ljava.lang.Class;@4ddc9443, payload=[Ljava.lang.Class;@a771e0e5, message={javax.validation.constraints.NotNull.message}}, constraintType=GENERIC}.
2019-01-09 06:45:45,718 [WebContainer : 27] DEBUG metadata.descriptor.ConstraintDescriptorImpl - Adding composing constraint: ConstraintDescriptorImpl{annotation=javax.validation.constraints.NotNull, payloads=[], hasComposingConstraints=true, isReportAsSingleInvalidConstraint=false, elementType=FIELD, definedOn=DEFINED_IN_HIERARCHY, groups=[interface javax.validation.groups.Default], attributes={groups=[Ljava.lang.Class;@430bec77, payload=[Ljava.lang.Class;@27e42e10, message={javax.validation.constraints.NotNull.message}}, constraintType=GENERIC}.
2019-01-09 06:45:45,719 [WebContainer : 27] DEBUG metadata.descriptor.ConstraintDescriptorImpl - Adding composing constraint: ConstraintDescriptorImpl{annotation=javax.validation.constraints.NotNull, payloads=[], hasComposingConstraints=true, isReportAsSingleInvalidConstraint=false, elementType=FIELD, definedOn=DEFINED_IN_HIERARCHY, groups=[interface javax.validation.groups.Default], attributes={groups=[Ljava.lang.Class;@508ef0a2, payload=[Ljava.lang.Class;@8bbe4281, message={javax.validation.constraints.NotNull.message}}, constraintType=GENERIC}.

Environment

Websphere portal 8.0.0.6
Hibernate : <groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>5.2.5.Final</version>
Spring: 4.3.15.RELEASE

<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.1.0.Final</version>

Status

Assignee

Unassigned

Reporter

Nikita Karnwal

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Affects versions

5.2.5.Final

Priority

Critical