Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Enrico Ascaruta Tangau
Greenhorn
Posts: 11
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
Android Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bishal Ghimire
Greenhorn
Posts: 26
Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem resolved. Had bug in the web.xml, incorrect classpath naming issue.
 
Mital Pritmani
Greenhorn
Posts: 9
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had same exception:
I solved it by adding listener class for jsf in web.xml as below:

 
Ankush Kaundal
Ranch Hand
Posts: 36
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check which Mojarra you are using..Please try the latest one..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic