search cancel

Console mode install (-i console) attempts to open X-windows

book

Article ID: 5105

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

Console mode install (-i console) attempts to open X-windows irrespective of the console mode switch.

If X11 libarries are not installed, it even throws following error :

 

Additional Notes: FATAL ERROR - The Installer has failed due to an Unhandled Exception

java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment

Environment

Version : Any SSO version prior to r12.52 SP2Component Affected : All

Cause

This is actually a bug with the third party software - Install Anywhere software that we use for building our installer,. It tries to initialize the X11 graphic component even during the console mode installation.

Resolution

Unset the DISPLAY by running following command before executing installer.

unset DISPLAY

 

RESOLUTION:

This has been fixed in 12.52 SP2 onwards as we have upgraded the Install Anywhere to 2014 which has fix for this bug.

Additional Information

https://community.flexerasoftware.com/showthread.php?193768-Installer-crash-in-console-mode-if-display-is-set-(IA-2010-PatchA)/page2