Install of Access Gateway r12.8.8 on RHEL 9 and getting installation Fatal error
search cancel

Install of Access Gateway r12.8.8 on RHEL 9 and getting installation Fatal error

book

Article ID: 280837

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

When trying to install the Access Gateway on RHEL 9 in console mode it fails.

The installation screen shows this problem:

 [Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
        at java.desktop/java.awt.Component.<clinit>(Component.java:621)
        at com.zerog.ia.installer.actions.InstallUninstaller.cq(Unknown Source)
        at com.zerog.ia.installer.actions.InstallUninstaller.installSelf(Unknown Source)
        at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
        at com.zerog.ia.installer.actions.InstallDirectory.install(Unknown Source)
        at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
        at com.zerog.ia.installer.GhostDirectory.install(Unknown Source)
        at com.zerog.ia.installer.InstallablePiece.install(Unknown Source)
        at com.zerog.ia.installer.Installer.install(Unknown Source)
        at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source)
        at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
        at com.zerog.ia.installer.Main.main(Unknown Source)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.zerog.lax.LAX.launch(Unknown Source)
        at com.zerog.lax.LAX.main(Unknown Source)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

 

 

 

Environment

Applies to Access Gateway on RHEL 9

Cause

The install log shows reports this error:

Product Installer:
                          Status: FATAL ERROR
                          Additional Notes: FATAL ERROR - The installer has failed due to an unhandled exception
                                            java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit

The Java AWT is a toolkit used for Java Windows for GUI's. Even though -i console was specified the installer is attempting to use the GUI Wizard.

Resolution

This happens with InstallAnywhere when the DISPLAY variable is set and not blank.

Verify the DISPLAY variable.

Ex.

# echo $DISPLAY

If it has a value, try doing an unset

Ex. 

# unset DISPLAY

Now try the installation again and it should work.