From commits-return-49283-apmail-tomee-commits-archive=tomee.apache.org@tomee.apache.org Tue Dec 3 10:02:02 2019 Return-Path: X-Original-To: apmail-tomee-commits-archive@www.apache.org Delivered-To: apmail-tomee-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 63A9F19434 for ; Tue, 3 Dec 2019 10:02:02 +0000 (UTC) Received: (qmail 77701 invoked by uid 500); 3 Dec 2019 10:02:01 -0000 Delivered-To: apmail-tomee-commits-archive@tomee.apache.org Received: (qmail 77682 invoked by uid 500); 3 Dec 2019 10:02:01 -0000 Mailing-List: contact commits-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tomee.apache.org Delivered-To: mailing list commits@tomee.apache.org Received: (qmail 77664 invoked by uid 500); 3 Dec 2019 10:02:01 -0000 Delivered-To: apmail-openejb-commits@openejb.apache.org Received: (qmail 77660 invoked by uid 99); 3 Dec 2019 10:02:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Dec 2019 10:02:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1F3E6E2C1A for ; Tue, 3 Dec 2019 10:02:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 4967A78024A for ; Tue, 3 Dec 2019 10:02:00 +0000 (UTC) Date: Tue, 3 Dec 2019 10:02:00 +0000 (UTC) From: "Jonathan Gallimore (Jira)" To: commits@openejb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TOMEE-2719) ValidationMessages.properties not found MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TOMEE-2719?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1698= 6767#comment-16986767 ]=20 Jonathan Gallimore commented on TOMEE-2719: ------------------------------------------- Would you be able to attach a small sample which can reproduce this? That w= ould be a huge help. > ValidationMessages.properties not found > --------------------------------------- > > Key: TOMEE-2719 > URL: https://issues.apache.org/jira/browse/TOMEE-2719 > Project: TomEE > Issue Type: Bug > Components: TomEE Core Server > Affects Versions: 8.0.0-Final > Environment: Apache TomEE Plus 8.0.0 > OpenJDK 12 > Windows 10 > Apache Netbeans 11.1 > Reporter: C=C3=A9dric Servais > Priority: Major > > Hello, > =C2=A0 > I'm using Apache TomEE for a home project and I was trying to move bean v= alidation towards my entities. Doing so, everything is working fine. Howeve= r, when I tried to use localized messages according to the specs (Validatio= nMessages.properties at the root of the classpath) but I've been unfortunat= e, my expression=C2=A0\{users.name.notnull} is displayed as such in my rend= ered JSF form and it seems that no replacement is being performed by BVAL. > =C2=A0 > I've opened an issue at BVAL initially and, thanks to the help of [~romai= n.manni-bucau], I've been able to suspect a classloader issue. Testing the = same code with TomEE embedded allows BVAL to find the right resource file a= nd display the concerned message. ([https://issues.apache.org/jira/projects= /BVAL/issues/BVAL-179?filter=3Dallopenissues]) > =C2=A0 > Could you please have a look to this case and indicate where the issue co= uld come from when running it as an embedded jar within TomEE ? -- This message was sent by Atlassian Jira (v8.3.4#803005)