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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33291 Fri Feb 01 10:35:30 MST 2013 deryk.sinotte ICE-8951: add mime mapping entry to all of our samples so that WebLogic 12 recognizes requests for listen.icepush.xml as XML content type
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/auction/src/main/webapp/WEB-INF/web.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33290 Fri Feb 01 10:33:48 MST 2013 deryk.sinotte ICE-8951: add mime mapping entry to all of our samples so that WebLogic 12 recognizes requests for listen.icepush.xml as XML content type
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/bodyupdate/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/chat/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/nav/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/compat/auctionMonitor/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/dyninc/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/busyIndicator/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/messages/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/deltasubmit/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/diffconfig/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/fajax/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/navigationNotifier/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/compat/compat-basic/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/basic/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/scopes/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/compat/component-showcase/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase-portlet/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/session-expiry/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/invalidate/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/viewRootUpdate/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/test/elementUpdate/src/main/webapp/WEB-INF/web.xml

          People

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

            Dates

            • Created:
              Updated:
              Resolved: