My Oracle Support Banner

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

Last updated on OCTOBER 07, 2022

Applies to:

Oracle API Gateway - Version 11.1.2.1.0 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    <TIMESTAMP> [<THREAD ID>] Initialising Security Providers...
INFO    <TIMESTAMP> [<THREAD ID>] Security Provider initialization complete.
ERROR   <TIMESTAMP> [<THREAD ID>] java exception:
org.eclipse.swt.SWTException: Unable to load graphics library [Cairo is required] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
        <OAG HOME>/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
        <OAG HOME>/.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: <OAG HOME>/.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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.