3 Replies Latest reply on Oct 24, 2018 11:04 PM by brian.stansberry

    ResourceBundle properties not resolved since WildFly 14 (10-13 work fine)

    linuxexpert

      I am developing an application with JSF 2.2 and running it on WildFly. With WildFly 14.0.1, my i18n properties are not resolved properly. They are all shown as "???somekey???". The very same source code works fine on WildFly 10, 11, 12, and 13 though. Since the very same code stopped working with WildFly 14, it should be something within this version. Any idea what the problem could be?

       

      My properties file is defined within faces-config.xml:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <faces-config xmlns="http://xmlns.jcp.org/xml/ns/javaee"

          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

          xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd"

          version="2.2">

        <application>

          <locale-config>

            <default-locale>en</default-locale>

          </locale-config>

          <resource-bundle>

            <base-name>messages</base-name>

            <var>msg</var>

          </resource-bundle>

        </application>

      </faces-config>