Policy Manager is crashing when being moved between monitors
search cancel

Policy Manager is crashing when being moved between monitors

book

Article ID: 42633

calendar_today

Updated On:

Products

STARTER PACK-7 CA Rapid App Security CA API Gateway

Issue/Introduction

In rare circumstances, the Policy Manager will crash when being moved between monitors.

Environment

This problem will only present itself when running Policy Manager on a computer that is linked up to multiple monitors.

Cause

The root cause of this behaviour is due to an Oracle Java (JDK) bug.

Resolution

To workaround this problem, the following steps should be followed:

  1. Make a backup copy of the Layer 7 Policy Manager.ini file and then edit the original with a text editor. The file is located here: C:\Program Files (x86)\Layer 7 Technologies\Layer 7 Policy Manager x.x.xx\Layer 7 Policy Manager.ini where the x.x.xx is a placeholder for the version of Policy Manager installed. For example: C:\Program Files (x86)\Layer 7 Technologies\Layer 7 Policy Manager 8.4.00\Layer 7 Policy Manager.ini
  2. Add -Dsun.java2d.d3d=false to the commandline value. Example:
    commandline=javaw -Dfile.encoding=UTF-8 -Dsun.java2d.d3d=false -Duser.language=en -Duser.country=US -Xms128M -Xmx256M -Xss256k -Dsun.net.inetaddr.ttl=10 -Dnetworkaddress.cache.ttl=10 -jar Manager.jar
  3. Save the edited file.
  4. Restart the Policy Manager application.