It's not a secret anymore!*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
Consider Paul's rocket mass heater.
 
subject: Problem in migrating from myfaces to sun RI
 
Similar Threads
Myfaces
Both MyFaces and the RI are on your classpath.
JSF tree , tabbed pane & datagrid
CommandLink ActionListeners in DataTable
JBOSS ERROR - "Both MyFaces and the RI are on your classpath."