ICEfaces
  1. ICEfaces
  2. ICE-8951

WebLogic 12 logs warning about missing MIME type for xml file

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.0.0.GA_P01
    • Fix Version/s: EE-3.2.0.GA
    • Component/s: Framework, Sample Apps
    • Labels:
      None
    • Environment:
      WebLogic 12
    • Affects:
      Sample App./Tutorial
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Add the following to the application's web.xml:


           <mime-mapping>
               <extension>xml</extension>
               <mime-type>application/xml</mime-type>
           </mime-mapping>
      Show
      Add the following to the application's web.xml:      <mime-mapping>          <extension>xml</extension>          <mime-type>application/xml</mime-type>      </mime-mapping>

      Description

      When running any of the sample apps on WebLogic 12, during the initial access of the application, the following is logged:

      ####<Jan 30, 2013 4:17:48 PM MST> <Warning> <javax.enterprise.resource.webcontainer.jsf.context> <lnvm3> <ICEsoft_Administration_Server> <[ACTIVE]
      ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1359587868830> <BEA-000000> <JSF1091: No mime type could be
      found for file listen.icepush.xml. To resolve this, add a mime-type mapping to the applications web.xml.>

      This appears to be similar to the problem we had with WebSphere 7 (see ICE-7865) where is was not recognizing .png files and the solution (as noted in the forum reference) is basically the same. We just need to add a mime-mapping entry to the application's web.xml.

        Activity

        Hide
        Deryk Sinotte added a comment -

        Added mime mapping entry for all of our sample apps.

        Show
        Deryk Sinotte added a comment - Added mime mapping entry for all of our sample apps.
        Hide
        Carmen Cristurean added a comment -

        Verified fix with Build 11/ showcase, ee-composite-showcase, ee-accessible-showcase on WebLogic12.1 @ lnvm3.

        Show
        Carmen Cristurean added a comment - Verified fix with Build 11/ showcase, ee-composite-showcase, ee-accessible-showcase on WebLogic12.1 @ lnvm3.

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: