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_114(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.3,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 reportmessagedescription The server encountered an 
internal error () that prevented it from fulfilling this 
request.exceptionjavax.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 causejava.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   
---------------------------------------------------------------------We googled 
the errors for some days,somebodies met the errors also,but we did't found any 
helpful information.What's the matter? Please help we!  

Reply via email to