Spectrum WebApp slow and hangs.
search cancel

Spectrum WebApp slow and hangs.

book

Article ID: 282568

calendar_today

Updated On: 04-26-2024

Products

Spectrum Network Observability

Issue/Introduction

The Spectrum WebApp is slow to paint views with a lot of models. When clicking on the Interface tab in the Component Details, it takes a while to completely display the information. Sometimes it hangs and the WebApp process on the OneClick system has to be killed.

Environment

Version: 22.2.X and 23.3.X
Component: WebApp

Cause

The issue is with a rendering defect in the WebSwing code.

Resolution

This issue has been reported to WebSwing team for resolution to be included in updated WebSwing code in a future release.

Until then, the please do the following to resolve the issue:

  1. Log into the OneClick system as the user that owns the Spectrum installation
  2. cd to the $SPECROOT/webtomcat/webswing directory
  3. Make a backup of the webswing.config file
  4. Edit the webswing.config file
  5. Look for the following entry: "directdraw" : true,
  6. Change the above to the following: "directdraw" : false,
  7. Save the change
  8. Log out of WebApp by selecting File -> Exit from the top level menu
  9. Although it should not be necessary, please stop tomcat/webtomcat
  10. Ensure there are no tomcats running. If there are, please kill them
  11. Remove the $SPECROOT/tomcat/work and $SPECROOT/webtomcat/work directories
  12. Start tomcat/webtomcat
  13. Log into the WebApp and test