Java Errors when running Cognos Configuration in Unix


If you get the following errors running the cogconfig.sh shell script in Unix to start Cognos Configuration, you likely have a problem with your X Window configuration:

./cogconfig.sh
Using /usr/jdk/jdk1.6.0_22/jre/bin/java
02/12/2011,12:18:53,Err,java.lang.ExceptionInInitializerError, com.cognos.crconfig.CRConfigFrame.<init>(CRConfigFrame.java:109)
Exception in thread “main” java.lang.NoClassDefFoundError: Could not initialize class com.cognos.crconfig.CRConfigFrame
at CRConfig.main(CRConfig.java:305)

To resolve:

  • Ensure you have X Window capable software installed on the machine in question, such as Exceed.
  • Ensure that your Unix interface client has X11 forwarding enabled.  In PuTTY, this is listed under Connections > SSH > X11.

Share on LinkedInShare on Twitter+1Share on FacebookAdd to BufferSubmit to StumbleUponShare via email

, ,

  1. No comments yet.
(will not be published)