icedtea isn't able to open jnlp file

I’m attempting to connect to an iDRAC 8 virtual console from Ubuntu 22.04. Icedtea is installed:

  Installed: 1.8.4-1build1
  Candidate: 1.8.4-1build1

When clicking launch on the console link in iDRAC, a .jnlp file is downloaded. Iced tea attempts to open, however it hangs every time:

enter image description here

I enabled logging in the Iced Tea web console, here is that output:

[acoder][ITW-APPLET][WARNING_ALL][Thu Nov 02 17:41:19 EDT 2023][java.desktop/net.sourceforge.jnlp.util.logging.FileLog.getHeadlineHeader(] NETX Thread# 569d5e0f, name Output controller consumer daemon writer-based impl.
System is already following XDG .cache and .config specifications
config: /home/acoder/.config/icedtea-web file exists: true
cache: /home/acoder/.cache/icedtea-web file exists:true
Ico provider registered correctly.
Loading User level properties from: file:/home/acoder/.config/icedtea-web/
WARNING: key deployment.system.cachedir has no value, setting to default value
Attempting to log into: /home/acoder/.config/icedtea-web/log/itw-javantx-2023-11-02_17:41:19.127.log
WARNING: key deployment.system.cachedir has no value, skipping
Forcing of offline set to: false
Starting security dialog thread
Using firefox's profiles file: /home/acoder/.mozilla/firefox/profiles.ini
Found preferences file: /home/acoder/.mozilla/firefox/mwad0hks.default/prefs.js
Read 523 entries from Firefox's preferences
Proceeding with jnlp
JNLP file location: /home/acoder/Downloads/viewer-5.jnlp
Using MalformedXMLParser
<?xml version="1.0" standalone="yes"?>
line: 2 
line: 3 <jnlp codebase="" spec="1.0+" ing
Key : Accept-Ranges ,Value : [bytes]
Key : X-Frame-Options ,Value : [SAMEORIGIN]
Key : Keep-Alive ,Value : [timeout=60, max=199]
Key : null ,Value : [HTTP/1.1 200 OK]
Key : Strict-Transport-Security ,Value : [max-age=63072000]
Key : ETag ,Value : [1677718134]
Key : Connection ,Value : [Keep-Alive]
Key : Vary ,Value : [Accept-Encoding]
Key : Last-Modified ,Value : [Wed, 01 Mar 2023 16:05:12 GMT]
Key : Content-Length ,Value : [26696]
Key : Date ,Value : [Thu, 02 Nov 2023 22:40:48 GMT]
Key : Content-Type ,Value : [application/octet-stream]
isCached: remote:26696 cached:26696
isCurrent:isCached true
isCurrent:lastModified cache:1677686712000 actual:1677686712000
isCurrent: = true

If I try using the installed openjdk-19, this appears:

enter image description here

I’ve never had to set .jnlp files to be executable in the past. However, this post is more focused on icedtea.

As of now I am not able to remotely administer my iDRAC due to this issue.

What could be going on here to cause icedtea to hang?

Asked By: a coder


Finally got this working by blowing out everything, then installing OpenJDK 8, followed by icedtea. Yes icedtea installs openjdk-11, but it’s 8 installed beforehand that appears to work.

sudo apt purge icedtea*
sudo apt purge *openjdk* -y
sudo apt purge oracle-java11-* -y
sudo apt autoremove --purge -y
sudo apt update && sudo apt install openjdk-8-jdk
sudo apt install icedtea*

Verify installation:

$ update-java-alternatives -l
java-1.11.0-openjdk-amd64      1111       /usr/lib/jvm/java-1.11.0-openjdk-amd64
java-1.8.0-openjdk-amd64       1081       /usr/lib/jvm/java-1.8.0-openjdk-amd64

Close your browser or just restart.

Now head to your iDRAC Launch Console link and give it a try.

Answered By: a coder
Categories: Answers Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.