Embedded Tomcat 9.0.0.M6
  
  
  Issue 1
  //    ctx.setAltDDName( 
"/home/user/microservices/AccountingApp/src/main/webapp/WEB-INF/web.xml"); 
        ctx.getServletContext().setAttribute(Globals.ALT_DD_ATTR, 
"/home/user/microservices/AccountingApp/src/main/webapp/WEB-INF/web.xml");

        Neither of the above  programmatic settings seems to have any effect on 
the message INFO: No global web.xml found


INFO: Starting Servlet Engine: Apache Tomcat/9.0.0.M6
Apr 26, 2021 1:58:59 AM org.apache.catalina.startup.ContextConfig 
getDefaultWebXmlFragment        
INFO: No global web.xml found
Apr 26, 2021 1:58:59 AM org.omnifaces.ApplicationInitializer logOmniFacesVersion
INFO: Using OmniFaces version 3.6.1
Apr 26, 2021 1:58:59 AM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet Faces Servlet as unavailable
Apr 26, 2021 1:58:59 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet [Faces Servlet] in web application [] threw load() exception
java.util.MissingResourceException: Can't find javax.faces.LogStrings bundle 
from 

Issue 2

from error message I think tomcat is looking for the file 
WebMessages.properties and WebMessages_es.properties from the faces-config.xml
which I have in the src/main/resources/hacc/web/ and  in  directory 
src/main/resources/META-INF/resources/hacc/web ,
but still it is giving me the error 
SEVERE: Servlet [Faces Servlet] in web application [] threw load() exception
java.util.MissingResourceException: Can't find javax.faces.LogStrings bundle 
from 

at java.logging/java.util.logging.Logger.setupResourceInfo(Logger.java:2289)
    at java.logging/java.util.logging.Logger.<init>(Logger.java:565)
    at 
java.logging/java.util.logging.LogManager.demandLogger(LogManager.java:522)
    
<!-- faces-config.xml
    <application>
        <resource-bundle>
            <base-name>hacc.web.WebMessages</base-name>
            <var>bundle</var>
        </resource-bundle>
        <locale-config>
            <default-locale>en</default-locale>
            <supported-locale>es</supported-locale>
        </locale-config>
    </application>

Thanks
 
danawhite...@aol.com

Reply via email to