3 Replies Latest reply on Jun 3, 2009 7:05 AM by Juan Ignacio Sánchez Lara

    ClassNotFoundException: org.teiid.connector.jdbc.JDBCConnect

    Juan Ignacio Sánchez Lara Apprentice

      I've upgraded to Teiid Designer 6.1.0 and when I try to preview table data Eclipse detects an error. This is its trace:

      !ENTRY org.teiid.designer.dqp.ui 4 0 2009-06-02 20:05:34.531
      !MESSAGE
      !STACK 0
      com.metamatrix.admin.api.exception.AdminComponentException: Could not find Connector class org.teiid.connector.jdbc.JDBCConnector
       at com.metamatrix.dqp.embedded.admin.BaseAdmin.accumulateSystemException(BaseAdmin.java:107)
       at com.metamatrix.dqp.embedded.admin.DQPRuntimeStateAdminImpl.startConnectorBinding(DQPRuntimeStateAdminImpl.java:116)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at com.metamatrix.core.util.MixinProxy.invoke(MixinProxy.java:48)
       at com.metamatrix.jdbc.EmbeddedConnection$1.invoke(EmbeddedConnection.java:103)
       at $Proxy18.startConnectorBinding(Unknown Source)
       at com.metamatrix.modeler.dqp.ui.workspace.WorkspaceExecutor.startConnectorBinding(WorkspaceExecutor.java:257)
       at com.metamatrix.modeler.dqp.ui.workspace.WorkspaceExecutor.startConnnectorBindings(WorkspaceExecutor.java:240)
       at com.metamatrix.modeler.dqp.ui.workspace.WorkspaceExecutor.start(WorkspaceExecutor.java:128)
       at com.metamatrix.modeler.dqp.ui.DqpUiPlugin.start(DqpUiPlugin.java:189)
       at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
       at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
       at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
       at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:265)
       at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
       at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
       at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:427)
       at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:193)
       at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:370)
       at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:446)
       at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:399)
       at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:387)
       at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
       at java.lang.ClassLoader.loadClass(Unknown Source)
       at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:315)
       at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
       at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1274)
       at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
       at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:867)
       at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
       at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
       at com.metamatrix.modeler.internal.ui.viewsupport.ExtendedModelObjectLabelProvider.loadProviderList(ExtendedModelObjectLabelProvider.java:53)
       at com.metamatrix.modeler.internal.ui.viewsupport.ExtendedModelObjectLabelProvider.<init>(ExtendedModelObjectLabelProvider.java:33)
       at com.metamatrix.modeler.internal.ui.explorer.ModelExplorerLabelProvider.<init>(ModelExplorerLabelProvider.java:117)
       at com.metamatrix.modeler.internal.ui.editors.ModelEditor.<init>(ModelEditor.java:137)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
       at java.lang.reflect.Constructor.newInstance(Unknown Source)
       at java.lang.Class.newInstance0(Unknown Source)
       at java.lang.Class.newInstance(Unknown Source)
       at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
       at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:867)
       at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
       at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
       at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:267)
       at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
       at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:263)
       at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:233)
       at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:846)
       at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:606)
       at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
       at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
       at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
       at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1410)
       at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:944)
       at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
       at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
       at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
       at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
       at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
       at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1363)
       at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
       at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
       at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
       at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
       at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2295)
       at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
       at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
       at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
       at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
       at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
       at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
       at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
       at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
       at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
       at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
       at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
       at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
      Caused by: com.metamatrix.common.application.exception.ApplicationLifecycleException: Could not find Connector class org.teiid.connector.jdbc.JDBCConnector
       at org.teiid.dqp.internal.datamgr.impl.ConnectorManager.initStartConnector(ConnectorManager.java:414)
       at org.teiid.dqp.internal.datamgr.impl.ConnectorManager.start(ConnectorManager.java:337)
       at com.metamatrix.dqp.embedded.services.EmbeddedDataService.startConnectorBinding(EmbeddedDataService.java:241)
       at com.metamatrix.dqp.embedded.admin.DQPRuntimeStateAdminImpl.startConnectorBinding(DQPRuntimeStateAdminImpl.java:114)
       ... 91 more
      Caused by: com.metamatrix.core.MetaMatrixCoreException: org.teiid.connector.jdbc.JDBCConnector
       at com.metamatrix.core.util.ReflectionHelper.create(ReflectionHelper.java:285)
       at org.teiid.dqp.internal.datamgr.impl.ConnectorManager.initStartConnector(ConnectorManager.java:400)
       ... 94 more
      Caused by: com.metamatrix.core.MetaMatrixCoreException: org.teiid.connector.jdbc.JDBCConnector
       at com.metamatrix.core.util.ReflectionHelper.create(ReflectionHelper.java:299)
       at com.metamatrix.core.util.ReflectionHelper.create(ReflectionHelper.java:283)
       ... 95 more
      Caused by: java.lang.ClassNotFoundException: org.teiid.connector.jdbc.JDBCConnector
       at java.net.URLClassLoader$1.run(Unknown Source)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(Unknown Source)
       at java.lang.ClassLoader.loadClass(Unknown Source)
       at java.lang.ClassLoader.loadClass(Unknown Source)
       at java.lang.ClassLoader.loadClassInternal(Unknown Source)
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Unknown Source)
       at com.metamatrix.core.util.ReflectionHelper.loadClass(ReflectionHelper.java:251)
       at com.metamatrix.core.util.ReflectionHelper.create(ReflectionHelper.java:292)
       ... 96 more