1 Reply Latest reply on Aug 25, 2009 12:31 PM by rareddy

    Error when using teiid client jdbc - Cause : package sun.uti

      Hi all,

      Here is our problem.

      We are embedding the teiid client jdbc in one of our bundle on OSGI to connect to teiid server in order to request a Virtual Database previously created on teiid designer.

      When our bundle is requesting for teiid client jdbc we have an error saying that class sun.util.calender.Zoneinfo cannot be loaded by our OSGI framework.

      Is this class used in Teiid client jdbc ?

      Thanks for your help

        • 1. Re: Error when using teiid client jdbc - Cause : package sun
          rareddy

          No, It not being used directly anywhere in the code, however in Sun JDK it is used by

          java.util.Date
          java.util.Calender

          classes. These Teiid certainly uses them in the code. Are you using Sun JDK? This exception happening during the creation of the jdbc connection?

          During the connection time if you are using "File path profile", we do use a post-delegation model to load all the Teiid libraries, and we properly delegate any java or javax classes to higher class loader. The Designer tool uses Teiid in the Eclipse as a plug-in module too, we have not seen this specific issue.

          may be you can debug and find the source class which is trying to load this class?