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:
icedtea-netx:
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:
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(FileLog.java:53)] 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/deployment.properties
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="https://idrac.site.com:443" spec="1.0+" ing sun.net.www.protocol.https.DelegateHttpsURLConnection:https://idrac.site.com:443/software/avctVMAPI_DLLLinux64.jar
Removed sun.net.www.protocol.https.DelegateHttpsURLConnection:https://idrac.site.com:443/software/avctVMAPI_DLLLinux64.jar
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]
Disconnecting sun.net.www.protocol.https.DelegateHttpsURLConnection:https://idrac.site.com:443/software/avctKVMIOLinux64.jar
Removed sun.net.www.protocol.https.DelegateHttpsURLConnection:https://idrac.site.com:443/software/avctKVMIOLinux64.jar
best url for location=https://idrac.site.com:443/software/avctKVMIOLinux64.jar state=PRECONNECT CONNECTING PREDOWNLOAD PROCESSING is https://idrac.site.com:443/software/avctKVMIOLinux64.jar by HEAD
Connecting https://idrac.site.com:443/software/avctKVMIOLinux64.jar
Adding sun.net.www.protocol.https.DelegateHttpsURLConnection:https://idrac.site.com:443/software/avctKVMIOLinux64.jar
done https://idrac.site.com:443/software/avctKVMIOLinux64.jar
isCached: remote:26696 cached:26696
isCurrent:isCached true
isCurrent:lastModified cache:1677686712000 actual:1677686712000
isCurrent: https://idrac.site.com:443/software/avctKVMIOLinux64.jar = true
Disconnecting sun.net.www.protocol.https.DelegateHttpsURLConnection:https://idrac.site.com:443/software/avctKVMIOLinux64.jar
Removed sun.net.www.protocol.https.DelegateHttpsURLConnection:https://idrac.site.com:443/software/avctKVMIOLinux64.jar
If I try using the installed openjdk-19, this appears:
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?
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.