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

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

XMLWordPrintable

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

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              jstourac@redhat.com Jan Stourac
              Jan Stourac Jan Stourac
              Jan Stourac Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: