2 Replies Latest reply on Dec 11, 2017 5:27 PM by omarbkhan

    VDB deployment issue password

    omarbkhan

      Hi,



      In the latest version of teiid Designer, when I go to deploy a VDB, I get when it asked for create a data source step and I do not skip it. It looks like there is a property somewhere on the VDB for a password / user but not sure where to set it? Any suggestions?

      Error creating VDB data source for VDB myVDB

      java.lang.IllegalArgumentException: No value for the connection property 'password'

      at org.teiid.core.designer.util.CoreArgCheck.isNotZeroLength(CoreArgCheck.java:117)

      at org.teiid.core.designer.util.CoreArgCheck.isNotEmpty(CoreArgCheck.java:249)

      at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:662)

      at org.teiid.designer.runtime.ui.connection.CreateVdbDataSourceAction.doCreateDataSource(CreateVdbDataSourceAction.java:199)

      at org.teiid.designer.runtime.ui.actions.DeployVdbAction.run(DeployVdbAction.java:182)

      at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)

      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)

      at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)

      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)

      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)

      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)

      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)

      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)

      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)

      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)

      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)

      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)

      at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)

      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)

      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)

      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)

      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)

      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)

      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)

      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)

      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:498)

      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)

      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)

      at org.eclipse.equinox.launcher.Main.run(Main.java:1499)

       

       

       

      Omar

        • 1. Re: VDB deployment issue password
          blafond

          If you "Edit" the server configuration a Server Editor will be displayed. There should be a "Teiid" tab and it will have username/pwd fields for JDBC connections. These credentials should be used by any JDBC client trying to connect to a VDB.  First, verify that you can "Test JDBC Connection" in that editor page. If that works, then Deploy VDB with the "Create VDB Data Source" option should work

          • 2. Re: VDB deployment issue password
            omarbkhan

            Barry - bingo! That worked