Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in migrating from myfaces to sun RI

 
Arunoday Das Gupta
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I am trying to migrate an application from sun RI but failing to do so . The error is a common one and found some remedies posted on google but still making the changes suggested doesnt work. The error is :


java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory:
javax.faces.context.FacesContextFactory

The solution was given to include a listener class in the web.xml.

<listener>
<listener-class>
com.sun.faces.config.ConfigureListener
</listener-class>
</listener>
<!-- Listener implementation to handle web application lifecycle
events -->
<listener>
<listener-class>
com.sun.faces.application.WebappLifecycleListener
</listener-class>
</listener>


But still the application doesnt work with the above changes.


i had some filter classes too pertaining to myfaces and tried after removing it but in vain.

Does somebody have an idea about the same ??
 
Arunoday Das Gupta
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi all,

I was awaiting the reply. Have i posted the question in the wrong forum or not following some protocol . Please any hints will be greatly appreciated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic