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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor 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.

      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.

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

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

                Created:
                Updated:
                Resolved: