ICEfaces
  1. ICEfaces
  2. ICE-6914

Eliminate JSF warning messages when creating JSF resources with unknown file extension

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24833 Wed Jun 15 14:33:39 MDT 2011 mircea.toma ICE-6914 Added known file extensions to the created resources. Each file extension corresponds to resource's response content type. Renamed dummy resource files to correspond to the new resource names.
        Files Changed
        Commit graph DEL /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/core/src/main/resources/META-INF/resources/listen.icepush
        Commit graph ADD /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/core/src/main/resources/META-INF/resources/notify.icepush.txt
        Commit graph ADD /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/core/src/main/resources/META-INF/resources/listen.icepush.xml
        Commit graph DEL /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/core/src/main/resources/META-INF/resources/create-push-id.icepush
        Commit graph DEL /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/core/src/main/resources/META-INF/resources/notify.icepush
        Commit graph ADD /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/core/src/main/resources/META-INF/resources/add-group-member.icepush.txt
        Commit graph ADD /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/core/src/main/resources/META-INF/resources/remove-group-member.icepush.txt
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/core/src/main/java/org/icefaces/impl/push/servlet/ICEpushResourceHandler.java
        Commit graph ADD /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/core/src/main/resources/META-INF/resources/create-push-id.icepush.txt
        Commit graph DEL /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/core/src/main/resources/META-INF/resources/add-group-member.icepush
        Commit graph DEL /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/core/src/main/resources/META-INF/resources/remove-group-member.icepush
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24788 Thu Jun 09 13:33:43 MDT 2011 mircea.toma ICE-6914 Added known file extensions to the created resources. Each file extension corresponds to resource's response content type. Renamed dummy resource files to correspond to the new resource names.
        Files Changed
        Commit graph ADD /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/resources/add-group-member.icepush.txt
        Commit graph ADD /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/resources/notify.icepush.txt
        Commit graph ADD /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/resources/remove-group-member.icepush.txt
        Commit graph DEL /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/resources/create-push-id.icepush
        Commit graph DEL /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/resources/add-group-member.icepush
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/push/servlet/ICEpushResourceHandler.java
        Commit graph ADD /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/resources/create-push-id.icepush.txt
        Commit graph DEL /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/resources/remove-group-member.icepush
        Commit graph ADD /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/resources/listen.icepush.xml
        Commit graph DEL /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/resources/notify.icepush
        Commit graph DEL /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/resources/listen.icepush

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: