javaswingspring-mvcredhatjava-web-start

Redhat 8.4 Java Swing web -- components are not visible, but do exist


We are running some new software that is java-based and are trying to run it on Redhat 8.4. The vendor claims that they have it running on Ubuntu, but I have not been able to do the same. The application runs fine via java thin-client, but the web application exhibits strange behavior: after logging in, most of the content except for menus, is just blank. The content is there because mousover works and I can click on things and see the activity in the logs from the clicks, but the content is not visible.

We are running

I've tried on multiple OS (MacOS, Windows, Linux) using multiple browsers (Edge, Chrome, Safari, Firefox) and always get the same result. Interestingly, when inspecting the components, everything that is not visible seems to be rendering via canvas. However, I have not been successful in digging into the canvas components with any tools as of yet.

Unfortunately, I don't have access to the source code as it's software we have purchased, but I'm hoping someone has seen something like this before and I can help the devs look in the right place or I can correct whatever may be wrong with my setup. Happy to provide more info where I can. Nothing in the wrapper.log or stdout.log lends any guidance as to what could be going wrong.

Does anyone know what webswing/swing canvas web application components are needed to run successfully on Redhat 8.4? Any other advice or suggestions welcome.


Solution

  • We were able to solve the problem by using xpra and Xdummy (https://xpra.org/repos/CentOS/xpra.repo) instead of using xvfb.