Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0EF55187C5 for ; Wed, 16 Dec 2015 12:13:47 +0000 (UTC) Received: (qmail 77488 invoked by uid 500); 16 Dec 2015 12:13:47 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 77452 invoked by uid 500); 16 Dec 2015 12:13:46 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 77441 invoked by uid 99); 16 Dec 2015 12:13:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2015 12:13:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B63122C1F6F for ; Wed, 16 Dec 2015 12:13:46 +0000 (UTC) Date: Wed, 16 Dec 2015 12:13:46 +0000 (UTC) From: "Benson Margulies (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CXF-6706) Bean validation seems to not be working in OSGi MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15059894#comment-15059894 ] Benson Margulies edited comment on CXF-6706 at 12/16/15 12:12 PM: ------------------------------------------------------------------ [~chris@die-schneider.net] https://github.com/benson-basis/hibernate-karaf-tc If you can help me figure out why pax-exam refuses to run this simple thing, I will be very, very grateful. was (Author: bmargulies): [~chris@die-schneider.net] git@github.com:benson-basis/hibernate-karaf-tc.git If you can help me figure out why pax-exam refuses to run this simple thing, I will be very, very grateful. > Bean validation seems to not be working in OSGi > ----------------------------------------------- > > Key: CXF-6706 > URL: https://issues.apache.org/jira/browse/CXF-6706 > Project: CXF > Issue Type: Bug > Affects Versions: 3.1.4, 3.2.0 > Reporter: Benson Margulies > Assignee: Benson Margulies > Fix For: 3.1.5, 3.2.0 > > > Using Karaf 4.0.2, > if you take this repo: > git@github.com:benson-basis/cxf-karaf-validation-tc.git > and checkout the use-cxf-support branch, it will build you a Karaf assembly that, when you poke the service (http://localhost:8181/cxf/validate) > will yield the following backtrace. This assumes that you are up to date with my fix to cxf-6705 which is on master and the 3.1.x branch. > {noformat} > javax.validation.ValidationException: Unable to find a default provider > at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264) > at javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:111) > at org.apache.cxf.validation.BeanValidationProvider.(BeanValidationProvider.java:45) > at com.basistech.ts.impl.TrivialService.validate(TrivialService.java:50) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)