IBM Support

Unable to get X-Windows charts and bar graphs to display after following necessary steps; furthermore, no exceptions are written to the console or to the logs (XWindows)

Troubleshooting


Problem

Unable to get X-Windows charts and bar graphs to display after following necessary steps; furthermore, no exceptions are written to the console or to the logs (XWindows)

Symptom

Application: Sterling SCA Releases 5x and 7x
OS: Unix operating systems

X-Windows charts and bar graphs are not displayed in the inventory console or other consoles even after running the steps outlined in the Installation Guide. Furthermore, no exceptions appear in the application console or in the Sterling logs. The 'X' is merely displayed where the chart or bar graph should display.

Cause

Resolving The Problem

It's possible you have set the java environment variable java.awt.headless=true.

java.awt.headless is used when you are running a non-UI based application that uses X libraries, or if you don't have an X-server running and don't care about the graphics but don't want to see X-server errors, either. In this case, Sterling SCA would just display the 'X' in place of the graphics and would not try to make any connection to an X-server, which is why you would not see any errors on the console.

Check your system error log for a java.awt.HeadlessException. The java.awt.HeadlessException only occurs when the following jvm argument is defined: -Djava.awt.headless=true

In WebLogic, check the JVM arguments defined in the java call which invokes weblogic.Server in startWebLogic.sh.

In WebSphere, Check your Generic JVM Arguments in the server config in the WebSphere console. Remove the argument for java.awt.headless=true if it has been defined.   Websphere 6.1 onwards, the default value of -Djava.awt.headless is true.  So -Djava.awt.headless=false need to be set. If it is cluster environment, it should be set at the node agent level. Restart the app server afterwards.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI49772

Product Synonym

[<p><b>]Fact[</b><p>];

Document Information

Modified date:
16 June 2018

UID

swg21549575