myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bellen, Arnaud" <Arnaud.Bel...@ids-scheer.com>
Subject RE: My faces on a WebAS
Date Mon, 21 Aug 2006 07:02:40 GMT
Hy Matthias ,

Well, 

when I've uploaded your WAR file I get first this error :

Application error occurred during request processing.
  Details: 	

  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>

And in the Log it was this :

#1.5#000D606F6C2B0019000000F20000149000041B81473C12F6#1156141966782#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/DeployerJSFApp#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#2####dbe78de030de11db80f8000d606f6c2b#SAPEngine_Application_Thread[impl:3]_6##0#0#Error#1#/System/Server/WebRequests#Plain###Processing
HTTP request to servlet [faces] finished with error.
The error is: 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>

Exception id: [000D606F6C2B0019000000F10000149000041B81473C112F]#
#1.5#000D606F6C2B0014000001360000149000041B81476D4FE3#1156141970016#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/DeployerJSFApp#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Guest#2####ddd5060030de11db8f39000d606f6c2b#SAPEngine_Application_Thread[impl:3]_9##0#0#Error##Plain###Processing
HTTP request to servlet [faces] finished with error. The error is: 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 com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.getServlet(WebComponents.java:339)
	at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:343)
	at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
	at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
	at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
	at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
	at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
	at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
	at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
	at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
	at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
	at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
	at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
	
	

	
Even if I add the "
<listener>
  <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>"
to my web.xml I get the same error !

Now I'm going to create my war using your lib and I hope it will run.

Kind regards,

Arnaud 

-----Original Message-----
From: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com] On Behalf Of Matthias Wessendorf
Sent: vendredi 18 août 2006 18:51
To: MyFaces Development
Subject: Re: My faces on a WebAS

Fun,
in this stack trace I don't see "org.apache.myfaces.***" or "com.sun.faces.***"

Can you try the following?
getting the myfaces code,
runing the build and deploy the WAR ?

or give the trinidad w/ myfaces war a try?

http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/trinidad/trinidad-demo/incubator-m1-SNAPSHOT/trinidad-demo-incubator-m1-SNAPSHOT.war

Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
--

Mime
View raw message