trinidad-demo-1.2.3.war or trinidad-demo-1.2.4.war can't run under tomcat
-------------------------------------------------------------------------

                 Key: TRINIDAD-868
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-868
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 1.2.4-core
         Environment: windows xp,tomcat 6.0.14,jdk 1.5.0.14 or 1.5.0.0
            Reporter: eelaa
            Priority: Critical


The environments are:
 
(1)Windows2000(or window xp)
 
(2)Tomcat:6.0.14(setup by apache-tomcat-6.0.14.exe) or 5.5.25.
 
(3)Jjdk:1.5.0_14(we also test the program in jdk1.5.0,1.5.0_04,1.5.0_06)
 
When run the program trinidad-demo-1.2.4,we found it worked well in some 
PCs(windows xp or windows2000),but in other PCs(windows xp),there were some 
errors:
 
 
------------------------------------------------------------------------------
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from 
fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet faces threw exception
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 java.lang.Thread.run(Unknown Source)
root cause
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>
 javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90)
 javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 java.lang.Thread.run(Unknown Source)
note The full stack trace of the root cause is available in the Apache 
Tomcat/6.0.14 logs.
Apache Tomcat/6.0.14 
 
 Trinidad-demo-1.2.3.war exists the same errors.
 
---------------------------------------------------------------------

We googled the errors for some days,somebodies met the errors also,but we did't 
found any helpful information.What's the matter?
 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to