javaws failure "Headless check failed." After upgrade to 7.5 (have work-around)
Posted: 2018/05/15 20:09:14
After upgrading from centos 7.4.1708 to Centos 7.5.1804 via yum, I get the following error while trying to run a .jnlp file via javaws:
==========
[T3 ~]$ javaws Downloads/launch.jnlp
Headless check failed. You are forced to run without any graphics. IcedTea-Web can run like this, but your app probably not. This is likely bug in your system.
Headless check failed. You are forced to run without any graphics. IcedTea-Web can run like this, but your app probably not. This is likely bug in your system.
^C[T3 ~]$
==========
The "launch.jnlp" file is generated by the remote console launch command of the IPMI interface to a 1RU server running a SupeMicro X11SSW-F motherboard. Prior to upgrading to 7.5 I was always able to have the IPMI generate the launch.jnlp file, and download it rather than launch it so I could edit the default port numbers to match the redirections through our firewall. I'd then manually run the .jnlp file via the command above, and my console would pop up. Now it fails.
Via yum I rolled back the three java packages:
java-1.8.0-openjdk.x86_64 1:1.8.0.171-7.b10.el7
java-1.8.0-openjdk-devel.x86_64 1:1.8.0.171-7.b10.el7
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.171-7.b10.el7
But it did not fix the problem, I still get the "headless check failed" error with the following java packages:
==========
[T3 ~]$ yum list installed | grep java
java-1.7.0-openjdk.x86_64 1:1.7.0.181-2.6.14.5.el7 @updates
java-1.7.0-openjdk-headless.x86_64 1:1.7.0.181-2.6.14.5.el7 @updates
java-1.8.0-openjdk.x86_64 1:1.8.0.161-2.b14.el7 @base
java-1.8.0-openjdk-devel.x86_64 1:1.8.0.161-2.b14.el7 @base
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.161-2.b14.el7 @base
javapackages-tools.noarch 3.4.1-11.el7 @base
python-javapackages.noarch 3.4.1-11.el7 @base
tzdata-java.noarch 2018e-3.el7 @updates
[T3 ~]$
==========
Tracing javaws though /bin, /etc/alternatives/, and finally to /usr/bin, the javaws being run is /usr/bin/javaws.itweb .
Has anyone else encountered this? Any help is appreciated.
==========
[T3 ~]$ javaws Downloads/launch.jnlp
Headless check failed. You are forced to run without any graphics. IcedTea-Web can run like this, but your app probably not. This is likely bug in your system.
Headless check failed. You are forced to run without any graphics. IcedTea-Web can run like this, but your app probably not. This is likely bug in your system.
^C[T3 ~]$
==========
The "launch.jnlp" file is generated by the remote console launch command of the IPMI interface to a 1RU server running a SupeMicro X11SSW-F motherboard. Prior to upgrading to 7.5 I was always able to have the IPMI generate the launch.jnlp file, and download it rather than launch it so I could edit the default port numbers to match the redirections through our firewall. I'd then manually run the .jnlp file via the command above, and my console would pop up. Now it fails.
Via yum I rolled back the three java packages:
java-1.8.0-openjdk.x86_64 1:1.8.0.171-7.b10.el7
java-1.8.0-openjdk-devel.x86_64 1:1.8.0.171-7.b10.el7
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.171-7.b10.el7
But it did not fix the problem, I still get the "headless check failed" error with the following java packages:
==========
[T3 ~]$ yum list installed | grep java
java-1.7.0-openjdk.x86_64 1:1.7.0.181-2.6.14.5.el7 @updates
java-1.7.0-openjdk-headless.x86_64 1:1.7.0.181-2.6.14.5.el7 @updates
java-1.8.0-openjdk.x86_64 1:1.8.0.161-2.b14.el7 @base
java-1.8.0-openjdk-devel.x86_64 1:1.8.0.161-2.b14.el7 @base
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.161-2.b14.el7 @base
javapackages-tools.noarch 3.4.1-11.el7 @base
python-javapackages.noarch 3.4.1-11.el7 @base
tzdata-java.noarch 2018e-3.el7 @updates
[T3 ~]$
==========
Tracing javaws though /bin, /etc/alternatives/, and finally to /usr/bin, the javaws being run is /usr/bin/javaws.itweb .
Has anyone else encountered this? Any help is appreciated.