Blank/empty window on RHEL9 w/ OpenWebStart 1.6.0

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
portom
Posts: 4
Joined: 30 Jun 2022, 11:53

Blank/empty window on RHEL9 w/ OpenWebStart 1.6.0

Post by portom »

Hello,

I have the following problem:
I try to access the iLO using OpenWebStart but the displayed windows are blank that is, nothing is visible inside, they seem empty.


I installed OpenWebStart 1.6.0 on RHEL9 by:

  1. Convert the *.deb to *.rpm:

    Code: Select all

    alien --to-rpm --target=x86_64 OpenWebStart_linux_1_6_0.deb
  2. Export the scripts:

    Code: Select all

    dpkg -e OpenWebStart_linux_1_6_0.deb
  3. Install openwebstart-1.6.0-2.x86_64.rpm on RHEL9:

    Code: Select all

    dnf install openwebstart-1.6.0-2.x86_64.rpm
  4. Execute the post-install script (this is a first install):

    Code: Select all

    ./DEBIAN/postinst configure
Then I download the jnlp to access an iLO of an HP server and launch javaws manually for the output. Everything seems to be OK. I get 3 windows:
  1. The one with the OpenWebStart splash screen.
  2. A window titled "iLOJIRC - Applet" which is blank/empty.
  3. A window titled "iLO Integrated Remote Console - Server: ProLiant ..." which is also blank/empty.
Here's the output of

Code: Select all

javaws ~/Downloads/iLO-jirc.jnlp
which I terminated with Ctrl-C after waiting a bit:

Code: Select all

[ITW-CORE][2022-07-06 11:05:37.122 CEST][INFO ][com.openwebstart.launcher.OpenWebStartLauncher] OWS main args [/home/pnt/Downloads/iLO-jirc.jnlp].
[ITW-CORE][2022-07-06 11:05:37.189 CEST][INFO ][com.openwebstart.launcher.PhaseTwoWebStartLauncher] Starting OpenWebStart 1.6.0
[ITW-CORE][2022-07-06 11:05:37.227 CEST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Ico provider registered correctly.
[ITW-CORE][2022-07-06 11:05:37.255 CEST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Ico provider registered correctly.
[ITW-CORE][2022-07-06 11:05:37.257 CEST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Loading USER level properties from: file:/home/pnt/.config/icedtea-web/deployment.properties
[ITW-CORE][2022-07-06 11:05:37.301 CEST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Loading USER level properties from: file:/home/pnt/.config/icedtea-web/deployment.properties
[ITW-CORE][2022-07-06 11:05:37.345 CEST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Saving properties into /home/pnt/.config/icedtea-web/deployment.properties
[ITW-CORE][2022-07-06 11:05:37.376 CEST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Loading USER level properties from: file:/home/pnt/.config/icedtea-web/deployment.properties
[ITW-CORE][2022-07-06 11:05:37.495 CEST][INFO ][com.openwebstart.launcher.PhaseTwoWebStartLauncher] Calling ITW Boot with args [/home/pnt/Downloads/iLO-jirc.jnlp].
[ITW-CORE][2022-07-06 11:05:37.498 CEST][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] OpenWebStartLauncher called with args: [/home/pnt/Downloads/iLO-jirc.jnlp].
[ITW-CORE][2022-07-06 11:05:37.498 CEST][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] OS: Linux
[ITW-CORE][2022-07-06 11:05:37.498 CEST][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] Java Runtime Temurin-1.8.0_332
[ITW-CORE][2022-07-06 11:05:37.816 CEST][INFO ][net.sourceforge.jnlp.runtime.Boot] Proceeding with jnlp
[ITW-CORE][2022-07-06 11:05:37.818 CEST][INFO ][net.sourceforge.jnlp.runtime.Boot] JNLP file location: /home/pnt/Downloads/iLO-jirc.jnlp
[ITW-CORE][2022-07-06 11:05:37.872 CEST][INFO ][net.adoptopenjdk.icedteaweb.xmlparser.MalformedXMLParser] Using MalformedXMLParser
[ITW-CORE][2022-07-06 11:05:38.131 CEST][INFO ][net.sourceforge.jnlp.Parser] Homepage: null
[ITW-CORE][2022-07-06 11:05:38.131 CEST][INFO ][net.sourceforge.jnlp.Parser] Description: null
[ITW-CORE][2022-07-06 11:05:38.132 CEST][INFO ][net.sourceforge.jnlp.JNLPFile] Acceptable vendor tag found, contains: HPE
[ITW-CORE][2022-07-06 11:05:38.144 CEST][INFO ][net.sourceforge.jnlp.Parser] good - your JRE - 1.8.0_332 - match requested JRE - 1.5+
[ITW-CORE][2022-07-06 11:05:38.153 CEST][INFO ][net.adoptopenjdk.icedteaweb.xmlparser.MalformedXMLParser] Using MalformedXMLParser
[ITW-CORE][2022-07-06 11:05:38.168 CEST][INFO ][net.sourceforge.jnlp.Parser] Homepage: null
[ITW-CORE][2022-07-06 11:05:38.168 CEST][INFO ][net.sourceforge.jnlp.Parser] Description: null
[ITW-CORE][2022-07-06 11:05:38.169 CEST][INFO ][net.sourceforge.jnlp.JNLPFile] Acceptable vendor tag found, contains: HPE
[ITW-CORE][2022-07-06 11:05:38.169 CEST][INFO ][net.sourceforge.jnlp.Parser] good - your JRE - 1.8.0_332 - match requested JRE - 1.5+
[ITW-CORE][2022-07-06 11:05:38.309 CEST][INFO ][net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader] New classloader: file:/home/pnt/Downloads/iLO-jirc.jnlp
[ITW-CORE][2022-07-06 11:05:38.539 CEST][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.CacheImpl] isCached: CacheKey{location=https://ilo-rhv1-dmz/html/intgapp4_252.jar, version=null} = true
[ITW-CORE][2022-07-06 11:05:39.422 CEST][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.CacheImpl] isCached: CacheKey{location=https://ilo-rhv1-dmz/html/intgapp4_252.jar, version=null} = true
[ITW-CORE][2022-07-06 11:05:39.424 CEST][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.CacheImpl] isUpToDate: CacheKey{location=https://ilo-rhv1-dmz/html/intgapp4_252.jar, version=null} = false
[ITW-CORE][2022-07-06 11:05:39.868 CEST][INFO ][net.adoptopenjdk.icedteaweb.manifest.ManifestAttributesChecker] Codebase matches codebase manifest attribute, and application is signed. Continuing. See: http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html for details.
[ITW-CORE][2022-07-06 11:05:39.891 CEST][INFO ][net.sourceforge.jnlp.cache.NativeLibraryStorage] Activate native: https://ilo-rhv1-dmz/html/intgapp4_252.jar
[ITW-CORE][2022-07-06 11:05:39.897 CEST][INFO ][net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader] Permission added: ("java.io.FilePermission" "/home/pnt/.cache/icedtea-web/cache/0/2/intgapp4_252.jar" "read")
Exception: java.io.FileNotFoundException: /home/pnt/.java/hp.properties (No such file or directory)
Trying to select locale: en_US
[ITW-CORE][2022-07-06 11:05:40.038 CEST][INFO ][net.sourceforge.jnlp.util.AppletUtils] Found to small applet!
[ITW-CORE][2022-07-06 11:05:40.039 CEST][INFO ][net.sourceforge.jnlp.util.AppletUtils] defaulting to 800
[ITW-CORE][2022-07-06 11:05:40.039 CEST][INFO ][net.sourceforge.jnlp.util.AppletUtils] Found to small applet!
[ITW-CORE][2022-07-06 11:05:40.039 CEST][INFO ][net.sourceforge.jnlp.util.AppletUtils] defaulting to 600
Started Retrieving parameters from ILO..
chk getPort: -1
Value serverAddressString: https://ilo-rhv1-dmz/redfish/v1/Managers/1/RcInfo/
Completed Retrieving parameters from ILO
Message from beginning of initLocStrings
langStr received:en
lolcalized xml file shoudl be:lang/en/jirc_strings.xml
Creating/tmp/jirc_strings77140971.xml...
try localize file from webserver..
trying to retreive webser localize file:https://ilo-rhv1-dmz/lang/en/jirc_strings.xml
Write xml to/tmp/jirc_strings77140971.xmlcomplete
Message after comp of webserver retrieval
Message after completion of initLocStrings
chk getPort: -1
chk getPort: -1
Value serverAddressString: https://ilo-rhv1-dmz/redfish/v1/Managers/1/NetworkService/
chk getPort: -1
Value serverAddressString: https://ilo-rhv1-dmz/redfish/v1/Systems/1/
chk getPort: -1
Value serverAddressString: https://ilo-rhv1-dmz/redfish/v1/
chk getPort: -1
Value serverAddressString: https://ilo-rhv1-dmz/redfish/v1/chassis/1/
kbhookdll Detected 64bit linux jvm
checking for kbddll/tmp/HpqKbHook-5b26e8a1.dll
Extracting HpqKbHook-x86-linux-64...
Writing dll to /tmp/HpqKbHook-5b26e8a1.dllcomplete
 Loading /tmp/HpqKbHook-5b26e8a1.dll...
 Loaded..!
Trying to select locale: en_US
Screen: com.hp.ilo2.remcons.dvcwin[,0,0,0x0,invalid,layout=java.awt.FlowLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
telent lang: Keyboard layout is en_US
Keyboard Hook available and timer started...
Message from ui_init55
chk getPort: -1
0
setKbdLayoutHandler: kHook not available. dbg caching..
chk getPort: -1
chk getPort: -1
check dimensions 1054 874 1011 187
Exception: java.io.FileNotFoundException: /home/pnt/.java/hp.properties (No such file or directory)
virt: Detected 64bit linux jvm
Checking for /tmp/cpqma-5b26e8a1
DLL not present
chk getPort: -1
Loading /tmp/cpqma-5b26e8a1
..screen update thread started..
Starting kvm receiver run
Starting cmd receiver run
Remote Console inactivity timeout = 15 minutes.
Set Inital focus for session..
dvc initializing
Setting encryption -> AES - 128 bit
SetLicensed: true
halfHeightCapable true
Moving Power to ON state
Rcvd helper app status

^C[ITW-CORE][2022-07-06 11:08:25.887 CEST][INFO ][net.sourceforge.jnlp.util.logging.OutputController] Increase polling interval for shutdown phase
[ITW-CORE][2022-07-06 11:08:25.891 CEST][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.CacheImpl] No other instances of javaws are running
For what its worth, the iLO is an iLO5 v. 2.55 from 2021-10-01.
Does anybody know what is wrong? How can I get the content of the windows?

Thank you in advance and best regards


Tom

portom
Posts: 4
Joined: 30 Jun 2022, 11:53

Re: Blank/empty window on RHEL9 w/ OpenWebStart 1.6.0

Post by portom »

After some more searching, I found this topic https://board.karakun.com/viewtopic.php?p=9181#p9181 which seems to have the same behavior but no solution, yet. So, after activating the logs as follows:

Code: Select all

cat >> ~/.config/icedtea-web/deployment.properties <<EOF
deployment.log=true
deployment.console.startup.mode=SHOW
deployment.log.file=true
EOF
Here's the jnlp file:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>  <jnlp spec="1.0+" codebase="https://ilo-rhv1-dmz.example.com/" href="">    <information>      <title>Integrated Remote Console</title>      <vendor>HPE</vendor>      <offline-allowed></offline-allowed>    </information>    <security>      <all-permissions></all-permissions>    </security>    <resources>      <j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se" />      <jar href="https://ilo-rhv1-dmz.example.com/html/intgapp4_252.jar" main="false" />    </resources>    <property name="deployment.trace.level property" value="basic" />    <applet-desc main-class="com.hp.ilo2.intgapp.intgapp" name="iLOJIRC" documentbase="https://ilo-rhv1-dmz.example.com/html/java_irc.html" width="1" height="1">      <param name="RCINFO1" value="192c17807194d59892853b3a70561ccc" />      <param name="RCINFOLANG" value="en" />      <param name="INFO0" value="7AC3BDEBC9AC64E85734454B53BB73CE" />      <param name="INFO1" value="17988" />      <param name="INFO2" value="composite" />    </applet-desc>    <update check="background" />  </jnlp>
I then had another run at it

Code: Select all

jawas ~/Downloads/iLO-jirc.jnlp
but I only get a stage1 log file and no stage2! Also, the windows can not be closed but have to be killed (xkill or kill PID) (I added a screenshot).

Here's the link to the stage1 file which is too big to include here.

Thank you in advance and best regards

Tom

Janak Mulani
Posts: 725
Joined: 24 Mar 2020, 13:37

Re: Blank/empty window on RHEL9 w/ OpenWebStart 1.6.0

Post by Janak Mulani »

Stage 1 log says Launching Applet

Your application is an Applet. OWS does not support Applets.

The Jnlp has Applet tag. Your main class must be deriving from Applet or JApplet.

Code: Select all

<applet-desc main-class="com.hp.ilo2.intgapp.intgapp" name="iLOJIRC" documentbase="https://ilo-rhv1-dmz.example.com/html/java_irc.html" width="1" height="1">      
<param name="RCINFO1" value="192c17807194d59892853b3a70561ccc" />      
<param name="RCINFOLANG" value="en" />      
<param name="INFO0" value="7AC3BDEBC9AC64E85734454B53BB73CE" />      
<param name="INFO1" value="17988" />      
<param name="INFO2" value="composite" />    
</applet-desc>    

portom
Posts: 4
Joined: 30 Jun 2022, 11:53

Re: Blank/empty window on RHEL9 w/ OpenWebStart 1.6.0

Post by portom »

Thank you for your answer Janak. I did not understand fully what you are meaning, but creating a test.jnlp file with your suggested content:

Code: Select all

cat ~/tmp/test.jnlp
<applet-desc main-class="com.hp.ilo2.intgapp.intgapp" name="iLOJIRC" documentbase="https://ilo-rhv1-dmz.example.com/html/java_irc.html" width="1" height="1">
<param name="RCINFO1" value="192c17807194d59892853b3a70561ccc" />
<param name="RCINFOLANG" value="en" />
<param name="INFO0" value="7AC3BDEBC9AC64E85734454B53BB73CE" />
<param name="INFO1" value="17988" />
<param name="INFO2" value="composite" />
</applet-desc>
Then launching javaws:

Code: Select all

javaws ~/tmp/test.jnlp
I get the following error:
Fatal: Read Error: Could not read or parse the JNLP file at 'file:/home/user/tmp/test.jnlp'. You can try to download this file manually and send it as bug report IcedTea-Web team.

Code: Select all

net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or parse the JNLP file at 'file:/home/pnt/tmp/edited.jnlp'. You can try to download this file manually and send it as bug report to IcedTea-Web team.
	at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:332)
	at net.sourceforge.jnlp.Launcher.launch(Launcher.java:192)
	at net.sourceforge.jnlp.runtime.Boot.launch(Boot.java:355)
	at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:335)
	at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:73)
	at java.security.AccessController.doPrivileged(Native Method)
	at net.sourceforge.jnlp.runtime.Boot.runMain(Boot.java:279)
	at net.sourceforge.jnlp.runtime.Boot.mainWithReturnCode(Boot.java:132)
	at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:114)
	at com.openwebstart.launcher.PhaseTwoWebStartLauncher.main(PhaseTwoWebStartLauncher.java:93)
	at com.openwebstart.launcher.OpenWebStartLauncher.main(OpenWebStartLauncher.java:47)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84)
	at com.install4j.runtime.launcher.UnixLauncher.start(UnixLauncher.java:66)
	at install4j.com.openwebstart.launcher.OpenWebStartLauncher.main(Unknown Source)
Caused by: net.adoptopenjdk.icedteaweb.xmlparser.ParseException: Root element is not a jnlp element.
	at net.sourceforge.jnlp.Parser.<init>(Parser.java:247)
	at net.sourceforge.jnlp.JNLPFile.parse(JNLPFile.java:744)
	at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:259)
	at net.sourceforge.jnlp.JNLPFileFactory.create(JNLPFileFactory.java:80)
	at net.sourceforge.jnlp.JNLPFileFactory.create(JNLPFileFactory.java:63)
	at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:300)
	... 17 more
Best regards


Tom

Janak Mulani
Posts: 725
Joined: 24 Mar 2020, 13:37

Re: Blank/empty window on RHEL9 w/ OpenWebStart 1.6.0

Post by Janak Mulani »

but creating a test.jnlp file with your suggested content:
I did not suggest the content for jnlp, I merely pasted the content from your jnlp to point out that it has the applet tag, meaning the application you are trying to start is an applet. OWS does not support applets.

portom
Posts: 4
Joined: 30 Jun 2022, 11:53

Re: Blank/empty window on RHEL9 w/ OpenWebStart 1.6.0

Post by portom »

Hello Janak,

Thank you for the clarification. I was under the impression that is was meant to be started with javaws since I accessed it through the link "Web Start" in the following image Image (I did NOT chose the "Applet" link). Here's the link to the image because it does not seem to get included.

As of now, I did not find a way to make it work but the latest version of Firefox ESR (v102) offers an alternative to use the HTML5 console that is not as laggy as w/ v91, so I will stop my investigations here.

Thank you and kind regards


Tom

Post Reply