I am testing show-case jsf plugin in my project: I copy java files and jsp
files and struts-jsf files as what the showcase does, and I also add jsf
sevlet in web.xml, but there came the error when I deploy the war: it still
searches for the face-config.xml, but in the showcase, there is no
face-config.xml at all. I do not why? Here is the error msg:

31-Jul-2007 10:38:34 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3172 ms
31-Jul-2007 11:08:56 AM org.apache.catalina.startup.HostConfig
checkResources
INFO: Reloading context [/gdi]
31-Jul-2007 11:08:57 AM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
gdi] has not been started
31-Jul-2007 11:09:06 AM org.apache.myfaces.config.FacesConfigurator
feedStandard
Config
INFO: Reading standard config
org/apache/myfaces/resource/standard-faces-config.
xml
31-Jul-2007 11:09:09 AM org.apache.myfaces.shared_impl.util.LocaleUtils
toLocale

WARNING: Locale name in faces-config.xml null or empty, setting locale to
defaul
t locale : en_CA
31-Jul-2007 11:09:09 AM
org.apache.myfaces.webapp.StartupServletContextListener
initFaces
INFO: ServletContext 'C:\Tomcat55\webapps\gdi\' initialized.
31-Jul-2007 11:09:10 AM
com.opensymphony.xwork2.config.providers.XmlConfiguratio
nProvider register
INFO: Parsing configuration file [struts-default.xml]
31-Jul-2007 11:09:10 AM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
31-Jul-2007 11:09:10 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/gdi] startup failed due to previous errors

Also I added the following code in web.xml for the jsf plugin, I do not know
if I need to add myfaces listener:

<listener>
        <listener-class>
          org.apache.myfaces.webapp.StartupServletContextListener
        </listener-class>
    </listener>
    
        <!-- JavaServer Faces Servlet Configuration, not used directly -->
        <servlet>
        <servlet-name>faces</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet>
        <servlet-name>JspSupportServlet</servlet-name>
    
<servlet-class>org.apache.struts2.views.JspSupportServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
        </servlet>
        
        <!-- JavaServer Faces Servlet Mapping, not called directly -->
    <servlet-mapping>
        <servlet-name>faces</servlet-name>
        <url-pattern>*.action</url-pattern>
  </servlet-mapping>
-- 
View this message in context: 
http://www.nabble.com/Struts-2-JSF-plugin%3Afaces-config.xml-null-or-empty-tf4193691.html#a11926284
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to