Can't Get Policy Studio To Open Properly On Solaris (Doc ID 2182389.1)

Last updated on SEPTEMBER 16, 2016

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.

Goal

When opening Policy Studio on Solaris, the banner window pops up and disappears immediately.

Below is the error message from the Policy Studio trace file.


INFO    13/Sep/2016:11:39:42.309 [0001:000000000000000000000000] Initialising Security Providers...
INFO    13/Sep/2016:11:39:42.383 [0001:000000000000000000000000] Security Provider initialization complete.
ERROR   13/Sep/2016:11:39:43.565 [0001:000000000000000000000000] java exception:
org.eclipse.swt.SWTException: Unable to load graphics library [Cairo is required] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
        /u01/oracle/product/OAG112/oagpolicystudio/configuration/org.eclipse.osgi/bundles/115/1/.cp/libswt-cairo-gtk-3740.so: ld.so.1: .launch: fatal: libcairo.so.2: open failed: No such file or directory
        no swt-cairo-gtk in java.library.path
        /export/home/oag-dev-svc/.swt/lib/solaris/sparc/libswt-cairo-gtk-3740.so: ld.so.1: .launch: fatal: libcairo.so.2: open failed: No such file or directory
        Can't load library: /export/home/oag-dev-svc/.swt/lib/solaris/sparc/libswt-cairo-gtk.so
)
        at org.eclipse.swt.SWT.error(SWT.java:4282)

 
What changes need to be made on the server to fix this issue?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms