You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Tobias Glensk (JIRA)" <de...@myfaces.apache.org> on 2006/11/01 10:54:18 UTC

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

    [ http://issues.apache.org/jira/browse/TOBAGO-164?page=comments#action_12446190 ] 
            
Tobias Glensk commented on TOBAGO-164:
--------------------------------------

I am using
myfaces-core version 1.1.4:
- myfaces-api-1.1.4.jar
- myfaces-impl-1.1.4.jar

tobago-core version 1.0.8:
- tobago-core-1.0.8.jar
  

> Faces initialisation doesn't work if Tomcat installation path contains spaces
> -----------------------------------------------------------------------------
>
>                 Key: TOBAGO-164
>                 URL: http://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 contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira