Blog Viewer

Tech Tip - CA Single Sign-On: Policy Server : Console mode install (-i console) attempts to open X-windows

By Ujwol posted 03-16-2016 10:49 PM

  

Posted by Ujwol Shrestha - Principal Support Engineer in CA Security on March 17, 2016

 

Problem Summary

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 SP2

Component Affected : All

 

Root 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.

 

Workaround

Unset the DISPLAY by running following command before executing installer.

unset DISPLAY

 

Solution

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

 

References

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

2 comments
0 views