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 2B8EF100CC for ; Fri, 8 Nov 2013 17:00:40 +0000 (UTC) Received: (qmail 58743 invoked by uid 500); 8 Nov 2013 17:00:33 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 58478 invoked by uid 500); 8 Nov 2013 17:00:24 -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 58409 invoked by uid 99); 8 Nov 2013 17:00:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 17:00:22 +0000 Date: Fri, 8 Nov 2013 17:00:22 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-5309) Support Bean Validation API for JAX-RS 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-5309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13817451#comment-13817451 ] Sergey Beryozkin commented on CXF-5309: --------------------------------------- Hi Andriy, All I've spent quite a bit of time trying to get some more useful information into the logs, specifically on how to minimize the amount of the extra information so that the actual violation message does not get lost in the noise. Here is what I've come up so far, the extra info is *optionally* added in '()', examples: 1. Non request body parameter validation issue (FormParam, PathParam, etc): {noformat} SEVERE: BookStoreWithValidation.addBook.arg1(JAXRS param is FORM("id"), class: String): may not be null {noformat} 3. Request Body (example, XML converted to JAXB bean) validation issue {noformat} SEVERE: BookStoreWithValidation.addBookDirect.arg0.name(arg0 JAXRS param is REQUEST_BODY, class: BookWithValidation): may not be null {noformat} 3. Collection Request Body validation issue {noformat} SEVERE: BookStoreWithValidation.addBooksDirect.arg0[0].name(arg0 JAXRS param is REQUEST_BODY, class: List): may not be null {noformat} > Support Bean Validation API for JAX-RS > -------------------------------------- > > Key: CXF-5309 > URL: https://issues.apache.org/jira/browse/CXF-5309 > Project: CXF > Issue Type: Sub-task > Components: JAX-RS, JAX-WS Runtime > Reporter: Sergey Beryozkin > Attachments: patch-validation-exception-mapper.txt, patch-validation-poc.txt, patch-validation-tests.txt > > -- This message was sent by Atlassian JIRA (v6.1#6144)