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."
Activity
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Assignee Priority | P3 |
| Fix Version/s | 1.8.2-RC1 [ 10210 ] |
| Issue Type | Bug [ 1 ] | Task [ 3 ] |
| Salesforce Case | [] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #19216 | Thu Sep 03 13:55:02 MDT 2009 | deryk.sinotte | |
| Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/D2DViewHandler.java
|
| Salesforce Case | [] | |
| Fix Version/s | 1.8.2 [ 10190 ] | |
| Affects | [Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration] | |
| Assignee Priority | P3 | |
| Assignee | Deryk Sinotte [ deryk.sinotte ] |
| Field | Original Value | New Value |
|---|---|---|
| Summary | Add warning message to when JSF 2.0 is detected in ICEfaces 1.x | Add warning message to log when JSF 2.0 is detected in ICEfaces 1.x |
| Salesforce Case | [] |

Tested successfully on ICEfaces trunk revision 19228 + Glassfish v3 preview using component showcase jsp
The following massage displays in the server log:
[#|2009-09-06T14:19:40.747-0600|WARNING|glassfish|com.icesoft.faces.application.D2DViewHandler|_ThreadID=17;_ThreadName=Thread-1;|JSF 2.0 libraries detected. This version of ICEfaces is not supported on JSF 2.0. JSF 1.1 or 1.2 are required.|#]
On browser (FF3.5), the following shows:
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.Exception: java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2
root cause
java.lang.Exception: java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2
root cause
java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2