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

        Deryk Sinotte created issue -
        Deryk Sinotte made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Affects Sample App./Tutorial [ 10001 ]
        Assignee Deryk Sinotte [ deryk.sinotte ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 3.3 [ 10370 ]
        Ken Fyten made changes -
        Affects Version/s EE-3.0.0.GA_P01 [ 10327 ]
        Affects Version/s 3.2 [ 10338 ]
        Affects Version/s EE-3.2.0.BETA [ 10573 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: