Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.2
-
Fix Version/s: 2.1-Beta, 3.0, EE-2.0.0.GA_P01
-
Component/s: None
-
Labels:None
-
Environment:server
Description
JSF logs warning messages when resources are created with an unknown file extension. These messages appeared after a fix for ICE-6851 was applied:
com.sun.faces.context.ExternalContextImpl getMimeType
WARNING: JSF1091: No mime type could be found for file listen.icepush. To resolve this, add a mime-type mapping to the applications web.xml.
com.sun.faces.context.ExternalContextImpl getMimeType
WARNING: JSF1091: No mime type could be found for file create-push-id.icepush. To resolve this, add a mime-type mapping to the applications web.xml.
com.sun.faces.context.ExternalContextImpl getMimeType
WARNING: JSF1091: No mime type could be found for file notify.icepush. To resolve this, add a mime-type mapping to the applications web.xml.
com.sun.faces.context.ExternalContextImpl getMimeType
WARNING: JSF1091: No mime type could be found for file add-group-member.icepush. To resolve this, add a mime-type mapping to the applications web.xml.
com.sun.faces.context.ExternalContextImpl getMimeType
WARNING: JSF1091: No mime type could be found for file remove-group-member.icepush. To resolve this, add a mime-type mapping to the applications web.xml.
Even when the mime-type was provided by calling ResourceHandler.createResource(resourceName, libraryName, contentType) the warnings are still shown.
com.sun.faces.context.ExternalContextImpl getMimeType
WARNING: JSF1091: No mime type could be found for file listen.icepush. To resolve this, add a mime-type mapping to the applications web.xml.
com.sun.faces.context.ExternalContextImpl getMimeType
WARNING: JSF1091: No mime type could be found for file create-push-id.icepush. To resolve this, add a mime-type mapping to the applications web.xml.
com.sun.faces.context.ExternalContextImpl getMimeType
WARNING: JSF1091: No mime type could be found for file notify.icepush. To resolve this, add a mime-type mapping to the applications web.xml.
com.sun.faces.context.ExternalContextImpl getMimeType
WARNING: JSF1091: No mime type could be found for file add-group-member.icepush. To resolve this, add a mime-type mapping to the applications web.xml.
com.sun.faces.context.ExternalContextImpl getMimeType
WARNING: JSF1091: No mime type could be found for file remove-group-member.icepush. To resolve this, add a mime-type mapping to the applications web.xml.
Even when the mime-type was provided by calling ResourceHandler.createResource(resourceName, libraryName, contentType) the warnings are still shown.
Activity
Mircea Toma
created issue -
Mircea Toma
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Mircea Toma [ mircea.toma ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | EE-2.0.0.GA_P01 [ 10271 ] |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 2.1-Beta [ 10291 ] | |
Fix Version/s | 2.1 [ 10241 ] |
Ken Fyten
made changes -
Fix Version/s | 3.0 [ 10241 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
The warnings should not be shown by JSF if the resource content type is provided. We need to record a bug in the JSF bug tracking system. Also attach a patch to the JSF bug.