File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Problem in migrating from myfaces to sun  RI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem in migrating from myfaces to sun  RI" Watch "Problem in migrating from myfaces to sun  RI" New topic
Author

Problem in migrating from myfaces to sun RI

Arunoday Das Gupta
Greenhorn

Joined: Sep 02, 2011
Posts: 6
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

Joined: Sep 02, 2011
Posts: 6


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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Problem in migrating from myfaces to sun RI
 
Similar Threads
Both MyFaces and the RI are on your classpath.
JBOSS ERROR - "Both MyFaces and the RI are on your classpath."
Myfaces
JSF tree , tabbed pane & datagrid
CommandLink ActionListeners in DataTable