2174281 - SAP Lumira cannot connect to Teradata

SAP Knowledge Base Article - Public

2174281 - SAP Lumira cannot connect to Teradata

Symptom

  • SAP Lumira gives Could not initialize class com.teradata.tdgss.jtdgss.TdgssManager when connecting to Teradata
    TeradataError.png

  • Or you see an empty error message box:
    12-31-2015 3.11.54 PM.png

  • Subsequent logon attempts trigger the following error message: java.lang.NoClassDefFoundError: com/teradata/tdgss/jtdgss/TdgssManager : cannot initialize class because prior initialization attempt failed
    12-31-2015 3.12.05 PM.png

  • Lumira Desktop trace logs records:
    • java.lang.ExceptionInInitializerError
       at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getTDgssVersion(GenericTeraEncrypt.java:640)
       at com.teradata.jdbc.jdbc_4.parcel.ClientConfigParcel.toStream(ClientConfigParcel.java:54)
       at com.teradata.jdbc.jdbc_4.io.TDPacket.addParcel(TDPacket.java:98)
      ...
      Caused by: java.lang.NullPointerException: while trying to enter a null monitor loaded from static field com.teradata.tdgss.jtdgss.TdgssConfigApi.doc
       at com.teradata.tdgss.jtdgss.TdgssConfigApi.GetMechanisms(TdgssConfigApi.java:141)
      ...
    • java.lang.NoClassDefFoundError: com/teradata/tdgss/jtdgss/TdgssManager : cannot initialize class because prior initialization attempt failed
       at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getTDgssVersion(GenericTeraEncrypt.java:640)
       at com.teradata.jdbc.jdbc_4.parcel.ClientConfigParcel.toStream(ClientConfigParcel.java:54)
      ...
      Caused by: java.lang.ExceptionInInitializerError
       ... 63 more
      Caused by: java.lang.NullPointerException: while trying to enter a null monitor loaded from static field com.teradata.tdgss.jtdgss.TdgssConfigApi.doc
       at com.teradata.tdgss.jtdgss.TdgssConfigApi.GetMechanisms(TdgssConfigApi.java:141)
      ...

Environment

  • SAP Lumira Desktop
  • Teradata 14 or 15 JDBC driver

Reproducing the Issue

  1. Start SAP Lumira
  2. Click File | Preferences
  3. Click SQL Drivers
  4. Click Teradata 15 - JDBC Drivers
  5. Click Install Drivers
  6. Browse to and select terajdbc4.jar
  7. Click Open
  8. Click Done
  9. Click OK on "To apply driver changes, you must restart the application."
  10. Shut down SAP Lumira
  11. Start SAP Lumira
  12. Attempt to connect to Teradata via Query with SQL

Cause

Teradata JDBC driver requires both "terajdbc4.jar" and "tdgssconfig.jar"

Resolution

  1. Start SAP Lumira
  2. Click File | Preferences
  3. Click SQL Drivers
  4. Click Teradata 15 - JDBC Drivers
  5. Click Install Drivers
  6. Browse to and select both terajdbc4.jar and tdgssconfig.jar
  7. Click Open
  8. Click Done
  9. Click OK on "To apply driver changes, you must restart the application."
  10. Shut down SAP Lumira
  11. Start SAP Lumira
  12. Now you can connect to Teradata via Query with SQL

Keywords

teradata acquire acquisition failure failed initialize initialization install configuration , KBA , BI-LUM-DIS , Lumira Desktop/Discovery , Problem

Product

SAP Lumira, desktop edition 1.0