You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2014/06/23 17:47:25 UTC

[jira] [Commented] (SYNCOPE-514) Core doesn't deploy on Glassfish

    [ https://issues.apache.org/jira/browse/SYNCOPE-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14040868#comment-14040868 ] 

Francesco Chicchiriccò commented on SYNCOPE-514:
------------------------------------------------

Unfortunately it seems that BVal is stuck in its pre-1.1 spec implementation since a (long) while: I would prefer being more ASF-friendly, but it seems that Hibernate Validator - licensed under ASF 2.0, so no license issues - is the logical choice.

+1 from me

> Core doesn't deploy on Glassfish
> --------------------------------
>
>                 Key: SYNCOPE-514
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-514
>             Project: Syncope
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.2.0
>         Environment: Glassfish 4
>            Reporter: Massimiliano Perrone
>            Assignee: Massimiliano Perrone
>             Fix For: 1.2.0
>
>
> Now, trying to deploy the core on Glassfish 4 the result is:
> [17:07:50.688][info][talledLocalContainer] remote failure: Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'validator' defined in file [/tmp/trunk/core/target/syncope-core-test/WEB-INF/classes/persistenceContext.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.apache.bval.jsr303.ConfigurationImpl.getDefaultParameterNameProvider()Ljavax/validation/ParameterNameProvider;. Please see server.log for more details.
> I have been able to deploy it deleting bval dependencies and replacing them with hibernate-validator libraries.
> Considering that SYNCOPE-46 suggests to replace BVal with Hibernate Validator, what do you think to replace it now?



--
This message was sent by Atlassian JIRA
(v6.2#6252)