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.

    Details

    • Target Release:
    • Steps to Reproduce:
      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.
    • Workaround:
      Workaround Exists
    • Workaround Description:
      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.

        Gliffy Diagrams

          Attachments

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

            Issue Links

              Activity

                People

                • Assignee:
                  swd847 Stuart Douglas
                  Reporter:
                  sanaik22 Saisha Naik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: