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

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

After latest modifications (made today) the build on JDK 1.6 is still running 
fine (as Jenkins builds successfully) while on JDK 1.7 the build fails with:

Running org.apache.syncope.core.rest.UserTestITCase
Tests run: 51, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 36.021 sec <<< 
FAILURE!
issueSYNCOPE279[0](org.apache.syncope.core.rest.UserTestITCase)  Time elapsed: 
20.101 sec  <<< ERROR!
java.lang.Exception: Unexpected exception, 
expected<org.apache.syncope.common.validation.SyncopeClientCompositeErrorException>
 but was<org.springframework.web.client.HttpServerErrorException>
        at 
org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91)
        at 
org.apache.syncope.common.validation.SyncopeClientErrorHandler.handleError(SyncopeClientErrorHandler.java:48)
        at 
org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:532)
        at 
org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:488)
        at 
org.springframework.web.client.RestTemplate.execute(RestTemplate.java:446)
        at 
org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:294)
        at 
org.apache.syncope.client.services.proxy.UserServiceProxy.create(UserServiceProxy.java:73)
        at 
org.apache.syncope.core.rest.UserTestITCase.issueSYNCOPE279(UserTestITCase.java:1882)

suspendReactivate[0](org.apache.syncope.core.rest.UserTestITCase)  Time 
elapsed: 0.103 sec  <<< ERROR!
org.apache.syncope.common.validation.SyncopeClientCompositeErrorException: 
{[DataIntegrityViolation [The transaction has been rolled back.  See the nested 
exceptions for details on the errors that occurred.]]}
        at 
org.apache.syncope.common.validation.SyncopeClientErrorHandler.handleError(SyncopeClientErrorHandler.java:58)
        at 
org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:532)
        at 
org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:488)
        at 
org.springframework.web.client.RestTemplate.execute(RestTemplate.java:446)
        at 
org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:294)
        at 
org.apache.syncope.client.services.proxy.UserServiceProxy.create(UserServiceProxy.java:73)
        at 
org.apache.syncope.core.rest.UserTestITCase.suspendReactivate(UserTestITCase.java:1121)

                
> Using Standard JAX-RS API in Syncope (Replace Spring Webservice Stack with 
> Apache CXF)
> --------------------------------------------------------------------------------------
>
>                 Key: SYNCOPE-231
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-231
>             Project: Syncope
>          Issue Type: Improvement
>          Components: console, core
>            Reporter: Jan Bernhardt
>            Assignee: Jan Bernhardt
>             Fix For: 1.2.0
>
>         Attachments: TaskService.patch
>
>
> Current REST Interfaces are based on Spring Webservice framework. 
> Goal of this task is to replace Spring with CXF and to relay on JAX-B and 
> JAX-RS annotations rather then Spring annotations.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to