Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Component/s: Documentation, Framework
-
Labels:None
-
Environment:ICEfaces 1.8.x with JSF 2.0 runtimes, such as Glassfish v3 Preview.
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
Description
ICEfaces 1.8.x is not certified to run on JSF 2.0 runtimes. When this combination is attempted with ICEfaces 1.8.1, it fails with an exception such as
java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2
...rather than logging confusing exceptions we should add detection for JSF 2 and log an informative message, such as: "This version of ICEfaces does not support JSF 2.0. JSF 1.2 is recommended. For JSF 2.0 support ICEfaces 2.0 is recommended."
java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2
...rather than logging confusing exceptions we should add detection for JSF 2 and log an informative message, such as: "This version of ICEfaces does not support JSF 2.0. JSF 1.2 is recommended. For JSF 2.0 support ICEfaces 2.0 is recommended."
I've added a check for JSF 2.0 and a warning level log message that indicates that the current version of ICEfaces is not supported on 2.0 but have not thrown any exception that would terminate the application as we have some experimental code for running on JSF 2.0 in the core (although it's currently not operational).