aspose file tools*
The moose likes JSF and the fly likes java.lang.IllegalStateException: [...] could not find Factory: javax.faces.context.FacesContex Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "java.lang.IllegalStateException: [...] could not find Factory: javax.faces.context.FacesContex" Watch "java.lang.IllegalStateException: [...] could not find Factory: javax.faces.context.FacesContex" New topic
Author

java.lang.IllegalStateException: [...] could not find Factory: javax.faces.context.FacesContex

Enrico Ascaruta Tangau
Greenhorn

Joined: Aug 23, 2010
Posts: 11
Hi to all.

I'm working on an web application under IBM WAS 6.1 with JSF 1.2, RichFaces 3.3,
the same application was correctly working on a machine but I had the need to migrate to another machine;
I exported and restored the application and the server configuration to the new machine, but...
at the moment to run it, the server start (correctly, i think) but the application responds as follows:




do you have any suggestion ?

thanks.

byez
Abzee AntiPro
Greenhorn

Joined: Aug 23, 2010
Posts: 14

This happens when the application tries to look the jsf jars in the lib folder and fails to find it.

just keep all the jsf jars in the lib folder and restart the server.
your problem should be solved


Back to the Basics. Thats the only solution.
Bishal Ghimire
Greenhorn

Joined: Feb 01, 2011
Posts: 26

Did you able to resolve that issue? I am having the same problem and I had all my jsf jars in lib and, it still throwing the same error.
Bishal Ghimire
Greenhorn

Joined: Feb 01, 2011
Posts: 26

Problem resolved. Had bug in the web.xml, incorrect classpath naming issue.
Mital Pritmani
Greenhorn

Joined: Jan 20, 2010
Posts: 9

I had same exception:
I solved it by adding listener class for jsf in web.xml as below:

Ankush Kaundal
Ranch Hand

Joined: May 12, 2011
Posts: 36

Please check which Mojarra you are using..Please try the latest one..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.IllegalStateException: [...] could not find Factory: javax.faces.context.FacesContex