Hi,

AFAIK ExtVal is in maintanence mode since years and was probably therefore never tested on JavaEE8.
If you don't need it, just remove it.
I just know that the last release was 2013.

Best regards,
Thomas


Am Mo., 7. Jan. 2019 um 16:33 Uhr schrieb Thomas Kernstock <t.kernstock@e-technologies.at>:

Hi guys,

 

I’m migrating my JEE7 project from Payara 4.1.2.173 to Payara 5.184 and found a possible problem/error!?

 

I run Payara 5 under Windows 7 with OracleJDK8 and use Extval Version 2.08. My project contains:

myfaces-extval-bean-validation-2.08.jar

myfaces-extval-core-2.0.8.jar

myfaces-extval-property-validation-2.0.8.jar

 

One last problem persists when I try to login into my application ->

 

2018-12-28T14:12:31.548+0100|INFORMATION: start init of org.apache.myfaces.extensions.validator.beanval.startup.JSF2AwareBeanValidationStartupListener

2018-12-28T14:12:31.557+0100|INFORMATION: global property [org.apache.myfaces.extensions.validator.core.ProjectStageResolver] added

2018-12-28T14:12:31.583+0100|INFORMATION: init of org.apache.myfaces.extensions.validator.beanval.startup.JSF2AwareBeanValidationStartupListener finished

2018-12-28T14:12:31.583+0100|INFORMATION: start init of org.apache.myfaces.extensions.validator.beanval.startup.BeanValidationStartupListener

2018-12-28T14:12:31.585+0100|INFORMATION: global property [javax.validation.ValidatorFactory] added

2018-12-28T14:12:31.686+0100|INFORMATION: global property [org.apache.myfaces.extensions.validator.beanval.payload.ViolationSeverity$Info] added

2018-12-28T14:12:31.688+0100|INFORMATION: global property [org.apache.myfaces.extensions.validator.beanval.payload.ViolationSeverity$Warn] added

2018-12-28T14:12:31.689+0100|INFORMATION: global property [org.apache.myfaces.extensions.validator.beanval.payload.ViolationSeverity$Fatal] added

2018-12-28T14:12:31.691+0100|INFORMATION: global property [org.apache.myfaces.extensions.validator.beanval.payload.DisableClientSideValidation] added

2018-12-28T14:12:31.691+0100|INFORMATION: init of org.apache.myfaces.extensions.validator.beanval.startup.BeanValidationStartupListener finished

2018-12-28T14:12:31.691+0100|INFORMATION: start init of org.apache.myfaces.extensions.validator.core.startup.ExtValStartupListener

2018-12-28T14:12:31.691+0100|INFORMATION: config for key [class org.apache.myfaces.extensions.validator.core.DefaultExtValCoreConfiguration] added

2018-12-28T14:12:31.691+0100|INFORMATION: starting up MyFaces Extensions Validator v2.0.8

2018-12-28T14:12:31.737+0100|INFORMATION: class org.apache.myfaces.extensions.validator.core.validation.parameter.DefaultViolationSeverityInterpreter is used

2018-12-28T14:12:31.742+0100|INFORMATION: global property [org.apache.myfaces.extensions.validator.core.validation.parameter.ViolationSeverity] added

2018-12-28T14:12:31.743+0100|INFORMATION: global property [org.apache.myfaces.extensions.validator.core.validation.parameter.DisableClientSideValidation] added

2018-12-28T14:12:31.743+0100|INFORMATION: global property [mode:init:required] added

2018-12-28T14:12:31.743+0100|INFORMATION: global property [mode:reset:required] added

2018-12-28T14:12:31.745+0100|INFORMATION: init of org.apache.myfaces.extensions.validator.core.startup.ExtValStartupListener finished

2018-12-28T14:12:31.745+0100|INFORMATION: start init of org.apache.myfaces.extensions.validator.PropertyValidationModuleStartupListener

2018-12-28T14:12:31.746+0100|INFORMATION: config for key [class org.apache.myfaces.extensions.validator.baseval.DefaultExtValBaseValidationModuleConfiguration] added

2018-12-28T14:12:31.746+0100|INFORMATION: config for key [class org.apache.myfaces.extensions.validator.crossval.DefaultExtValCrossValidationModuleConfiguration] added

2018-12-28T14:12:31.754+0100|INFORMATION: adding support for @SkipValidation

2018-12-28T14:12:31.773+0100|INFORMATION: class org.apache.myfaces.extensions.validator.PropertyValidationSkipValidationEvaluator is used

2018-12-28T14:12:31.782+0100|INFORMATION: org.apache.myfaces.extensions.validator.JoinValidationMetaDataStorageFilter added

2018-12-28T14:12:31.783+0100|INFORMATION: init of org.apache.myfaces.extensions.validator.PropertyValidationModuleStartupListener finished

2018-12-28T14:12:37.214+0100|FATAL: JSF1073: java.lang.AbstractMethodError erfasst whrend Verarbeitung von PROCESS_VALIDATIONS 3 : UIComponent-ClientId=, Message=org.apache.myfaces.extensions.validator.beanval.BeanAwareConstraintValidatorFactory.releaseInstance(Ljavax/validation/ConstraintValidator;)V

2018-12-28T14:12:37.215+0100|FATAL: org.apache.myfaces.extensions.validator.beanval.BeanAwareConstraintValidatorFactory.releaseInstance(Ljavax/validation/ConstraintValidator;)V

java.lang.AbstractMethodError: org.apache.myfaces.extensions.validator.beanval.BeanAwareConstraintValidatorFactory.releaseInstance(Ljavax/validation/ConstraintValidator;)V

       at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintValidatorManager.clearEntries(ConstraintValidatorManager.java:198)

       at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintValidatorManager.cacheValidator(ConstraintValidatorManager.java:157)

       at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintValidatorManager.getInitializedValidator(ConstraintValidatorManager.java:137)

       at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.getInitializedConstraintValidator(ConstraintTree.java:148)

       at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.getInitializedConstraintValidator(ConstraintTree.java:136)

       at org.hibernate.validator.internal.engine.constraintvalidation.SimpleConstraintTree.validateConstraints(SimpleConstraintTree.java:55)

       at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.validateConstraints(ConstraintTree.java:73)

       at org.hibernate.validator.internal.metadata.core.MetaConstraint.doValidateConstraint(MetaConstraint.java:127)

       at org.hibernate.validator.internal.metadata.core.MetaConstraint.validateConstraint(MetaConstraint.java:120)

       at org.hibernate.validator.internal.engine.ValidatorImpl.validateMetaConstraint(ValidatorImpl.java:533)

       at org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForSingleDefaultGroupElement(ValidatorImpl.java:496)

       at org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForDefaultGroup(ValidatorImpl.java:465)

       at org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForCurrentGroup(ValidatorImpl.java:430)

       at org.hibernate.validator.internal.engine.ValidatorImpl.validateValueInContext(ValidatorImpl.java:781)

       at org.hibernate.validator.internal.engine.ValidatorImpl.validateValue(ValidatorImpl.java:210)

       at org.apache.myfaces.extensions.validator.beanval.util.BeanValidationUtils.validate(BeanValidationUtils.java:69)

       at org.apache.myfaces.extensions.validator.beanval.BeanValidationModuleValidationInterceptorInternals.validate(BeanValidationModuleValidationInterceptorInternals.java:215)

       at org.apache.myfaces.extensions.validator.beanval.BeanValidationModuleValidationInterceptor.processFieldValidation(BeanValidationModuleValidationInterceptor.java:111)

       at org.apache.myfaces.extensions.validator.beanval.BeanValidationModuleValidationInterceptor.processValidation(BeanValidationModuleValidationInterceptor.java:83)

       at org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor.beforeGetConvertedValue(AbstractValidationInterceptor.java:195)

       at org.apache.myfaces.extensions.validator.core.renderkit.ExtValRendererWrapper.getConvertedValue(ExtValRendererWrapper.java:416)

       at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1122)

       at javax.faces.component.UIInput.validate(UIInput.java:1030)

       at javax.faces.component.UIInput.executeValidate(UIInput.java:1334)

       at javax.faces.component.UIInput.processValidators(UIInput.java:757)

       at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:945)

       at javax.faces.component.UIForm.processValidators(UIForm.java:253)

       at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:945)

       at org.primefaces.component.panel.Panel.processValidators(Panel.java:313)

       at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:945)

       at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:945)

       at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1333)

       at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:77)

       at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:201)

       at org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeLifecycleWrapper.execute(DeltaSpikeLifecycleWrapper.java:89)

       at javax.faces.lifecycle.LifecycleWrapper.execute(LifecycleWrapper.java:97)

       at org.apache.myfaces.extensions.validator.core.startup.ExtValLifecycleWrapper.execute(ExtValLifecycleWrapper.java:59)

       at javax.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:731)

       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:475)

       at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1628)

 

Since I’m not using the myfaces-extval-bean-validation-2.08.jar features I simply removed it from my project and now everything works fine.

 

I’m not sure if I didn’t configure something correctly or if its problem with bean validation – so I just wanted to let you know.

Liebe Grüße
Thomas Kernstock