[jboss-jira] [JBoss JIRA] Commented: (JBAS-3158) Need a way to detect collisions between JSF RI and JSF MyFaces
Stan Silvert (JIRA)
jira-events at jboss.com
Tue Nov 28 09:21:55 EST 2006
[ http://jira.jboss.com/jira/browse/JBAS-3158?page=comments#action_12347763 ]
Stan Silvert commented on JBAS-3158:
------------------------------------
I think I can do a simple version of this fix for 4.2. Since 4.2 will contain the RI, we will do the opposite logic. We'll just detect if MyFaces can be loaded. If so, we will spit out a warning message.
For JBoss 5, I'd like to do something a bit more elaborate that automatically disables any JSF implementation that is bundled with the WAR.
> Need a way to detect collisions between JSF RI and JSF MyFaces
> --------------------------------------------------------------
>
> Key: JBAS-3158
> URL: http://jira.jboss.com/jira/browse/JBAS-3158
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Stan Silvert
> Assigned To: Stan Silvert
> Priority: Minor
>
> Developers who choose to bundle the Sun JSF Reference Implementation with their WAR will get strange errors like ERROR [javax.faces.webapp.UIComponentTag] Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml.
> This is because of collisions between classes provided in both implementations which are required to have the same javax.faces package name. We should be able to detect if the RI is present and tell the user to either remove the RI, remove MyFaces, or scope the deployment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list