Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15264

[GSS](7.1.z) UNDERTOW-1401 - Issues accessing JNLP application in Internet Explorer due to missing mime-type.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.1.5.CR1, 7.1.5.GA
    • 7.1.3.GA
    • Undertow
    • None
    • 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" )
    • 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.

    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
          Saisha Naik

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              rhn-support-sanaik Saisha Naik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: