Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2124

Cannot create Teiid Driver connection

    XMLWordPrintable

    Details

      Description

      !ENTRY org.eclipse.datatools.connectivity 4 -1 2014-04-22 11:56:53.036
      !MESSAGE Could not connect to ds04 - LOCALHOST - Teiid Connection.
      !SUBENTRY 1 org.eclipse.datatools.connectivity 2 -1 2014-04-22 11:56:53.036
      !MESSAGE Error creating SQL Model Connection connection to ds04 - LOCALHOST - Teiid Connection. (Error: Could not initialize 
      class org.teiid.jdbc.TeiidDriver)
      !STACK 0
      java.lang.NoClassDefFoundError: Could not initialize class org.teiid.jdbc.TeiidDriver
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
              at java.lang.Class.newInstance(Class.java:374)
              at org.teiid.datatools.connectivity.TeiidJDBCConnection.createConnection(TeiidJDBCConnection.java:98)
              at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
              at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
              at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:96)
              at org.teiid.datatools.connectivity.TeiidJDBCConnectionFactory.createConnection(TeiidJDBCConnectionFactory.java:23)
              at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.j
      ava:83)
              at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
              at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionInfoImpl.initializeJDBCConnection(Connec
      tionInfoImpl.java:705)
              at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionInfoImpl.<init>(ConnectionInfoImpl.java:
      690)
              at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionFactory.createConnection(ConnectionFacto
      ry.java:38)
              at org.eclipse.datatools.connectivity.sqm.core.SQMConnectionFactory.createConnection(SQMConnectionFactory.java:45)
              at org.eclipse.datatools.connectivity.sqm.internal.core.connection.ConnectionFactory.createConnection(ConnectionFacto
      ry.java:59)
              at org.eclipse.datatools.connectivity.internal.ConnectionFactoryAdapterProvider.createConnection(ConnectionFactoryAda
      pterProvider.java:114)
              at org.eclipse.datatools.connectivity.internal.ManagedConnection.createConnection(ManagedConnection.java:163)
              at org.eclipse.datatools.connectivity.internal.CreateConnectionJob.run(CreateConnectionJob.java:56)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      !SUBENTRY 1 org.eclipse.datatools.connectivity 2 -1 2014-04-22 11:56:53.036
      !MESSAGE Error creating JDBC Connection connection to ds04 - LOCALHOST - Teiid Connection. (Error: Could not initialize class
       org.teiid.jdbc.TeiidDriver)
      !STACK 0
      java.lang.NoClassDefFoundError: Could not initialize class org.teiid.jdbc.TeiidDriver
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
              at java.lang.Class.newInstance(Class.java:374)
              at org.teiid.datatools.connectivity.TeiidJDBCConnection.createConnection(TeiidJDBCConnection.java:98)
              at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
              at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
              at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:96)
              at org.teiid.datatools.connectivity.TeiidJDBCConnectionFactory.createConnection(TeiidJDBCConnectionFactory.java:23)
              at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.j
      ava:83)
              at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
              at org.eclipse.datatools.connectivity.internal.ManagedConnection.createConnection(ManagedConnection.java:166)
              at org.eclipse.datatools.connectivity.internal.CreateConnectionJob.run(CreateConnectionJob.java:56)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      

      Exception being thrown is not the type expected to be caught hence connection creation is bailing out too quickly.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                phantomjinx Paul Richardson
                Reporter:
                phantomjinx Paul Richardson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: