You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bernd Bohmann (Resolved) (JIRA)" <de...@myfaces.apache.org> on 2012/01/06 11:59:39 UTC

[jira] [Resolved] (TOBAGO-164) Faces initialisation doesn't work if Tomcat installation path contains spaces

     [ https://issues.apache.org/jira/browse/TOBAGO-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Bohmann resolved TOBAGO-164.
----------------------------------

    Resolution: Invalid

I think this is an old fixed myfaces problem
                
> Faces initialisation doesn't work if Tomcat installation path contains spaces
> -----------------------------------------------------------------------------
>
>                 Key: TOBAGO-164
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-164
>             Project: MyFaces Tobago
>          Issue Type: Bug
>    Affects Versions: 1.0.8
>         Environment: WinXP
> Tomcat 5.5.20
>            Reporter: Tobias Glensk
>         Attachments: stacktrace.txt
>
>
> I have installed Tomcat 5.5.20 in the directory "C:\Programme\Apache Software Foundation\apache-tomcat-5.5.20" and deployed a web application. The error message I received is the following:
> 2006-10-26 11:27:33 http-8080-Processor24 ERROR - org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/web-app]:675 -  StandardWrapper.Throwable java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions! If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml.
> A typical config looks like this;
> <listener>
>   <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
> </listener>
> 	at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90)
>         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)
> 	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
> 	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
> 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:641)
> ...
> After that I installed Tomcat in a directory containing no spaces like "C:\Programme\apache-tomcat-5.5.20"  and deployed the same web application it works.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira