You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Dmitry Abkhazi (Jira)" <ji...@apache.org> on 2019/12/03 09:15:00 UTC

[jira] [Commented] (TOMEE-2719) ValidationMessages.properties not found

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

Dmitry Abkhazi commented on TOMEE-2719:
---------------------------------------

Hello!

I confirm this issue,  I am using Tomee Maven Plugin 8.0.0 (plus) to test my project and i also get message without template replacement. This issue stop me from migration to Tomee8, still on 7.1.1 where this works well.

> 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édric Servais
>            Priority: Major
>
> Hello,
>  
> I'm using Apache TomEE for a home project and I was trying to move bean validation towards my entities. Doing so, everything is working fine. However, when I tried to use localized messages according to the specs (ValidationMessages.properties at the root of the classpath) but I've been unfortunate, my expression \{users.name.notnull} is displayed as such in my rendered JSF form and it seems that no replacement is being performed by BVAL.
>  
> I've opened an issue at BVAL initially and, thanks to the help of [~romain.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 and display the concerned message. ([https://issues.apache.org/jira/projects/BVAL/issues/BVAL-179?filter=allopenissues])
>  
> Could you please have a look to this case and indicate where the issue could come from when running it as an embedded jar within TomEE ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)