• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

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

 
Ranch Hand
Posts: 36
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please check which Mojarra you are using..Please try the latest one..
reply
    Bookmark Topic Watch Topic
  • New Topic