Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1401

Issues accessing JNLP application in Internet Explorer due to missing mime-type.

    XMLWordPrintable

Details

    • Hide

      1) Deploy the Test.jnlp(attached) in welcome-root folder.
      2) Deploy TestJnlp.jar(attached) in deployments/ directory.
      2) Access the URL : https://IP:PORT/Test.jnlp
      3) It will prompt to download the Test.jnlp file. Accept and double click on it.
      4) Click on the "Run" button to lauch the AWT program.

      The above steps will work fine in browsers like Mozilla and Chrome, but fail in IE.

      Show
      1) Deploy the Test.jnlp(attached) in welcome-root folder. 2) Deploy TestJnlp.jar(attached) in deployments/ directory. 2) Access the URL : https://IP:PORT/Test.jnlp 3) It will prompt to download the Test.jnlp file. Accept and double click on it. 4) Click on the "Run" button to lauch the AWT program. The above steps will work fine in browsers like Mozilla and Chrome, but fail in IE.
    • Migration, Compatibility/Configuration, User Experience
    • Workaround Exists
    • Hide

      The work around is to add the mime-type explicitly to the servlet container :

      /subsystem=undertow/servlet-container=default/mime-mapping=json:add(value="application/x-java-jnlp-file")
      
      Show
      The work around is to add the mime-type explicitly to the servlet container : /subsystem=undertow/servlet-container= default /mime-mapping=json:add(value= "application/x-java-jnlp-file" )

    Description

      Issues accessing a JNLP application in Internet Explorer due to missing JNLP extension in undertow. The JNLP application is rendered as an XML file due to incorrect mime-type.
      This works fine in Mozilla and Chrome.

      The JNLP mapping does not exist in Mimemappings.java.

      Attachments

        1. Test.jnlp
          0.6 kB
        2. TestJnlp.jar
          7 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-support-sanaik Saisha Naik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: