[JBoss JIRA] (TEIIDDES-2249) Creation of datasource from Designer fails
by Rakesh Balguri (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2249?page=com.atlassian.jira.plu... ]
Rakesh Balguri edited comment on TEIIDDES-2249 at 10/13/14 10:56 AM:
---------------------------------------------------------------------
We also faced this problem with Teiid8.7 and one of our customers had faced this problem.
We get this exception when the JBoss server is starting and the only option is to restart the server.
Even though the parent directory is set, we still get this exception.
Do we have a solution to this problem
was (Author: rakeshsagar):
We also faced this problem with Teiid8.7 and one of our customers had faced this problem.
We get this exception when the JBoss server is starting and the only option is to restart the server.
Do we have a solution to this problem?
> Creation of datasource from Designer fails
> ------------------------------------------
>
> Key: TEIIDDES-2249
> URL: https://issues.jboss.org/browse/TEIIDDES-2249
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 8.5
> Environment: Designer on Windows
> Server: Linux 2.6.32-279.11.1.el6.x86_64 #1 SMP Sat Sep 22 07:10:26 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Tom Johnston
>
> following error occurs when I right click on TeiiD server under Servers panel and choose Create data source (populate all items..)
> org.teiid.adminapi.AdminProcessingException: {"JBAS014671: Failed services" => {"jboss.ra.deployment.SemaphoreExportFiles_FinchDS_1" => "org.jboss.msc.service.StartException in service jboss.ra.deployment.SemaphoreExportFiles_FinchDS_1: org.jboss.msc.service.StartException in anonymous service: JBAS010446: Failed to start RA deployment [SemaphoreExportFiles_FinchDS]
> Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS010446: Failed to start RA deployment [SemaphoreExportFiles_FinchDS]
> Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file:/home/tjohn2/redhat/dv/jboss-eap-6.1/modules/system/layers/dv/org/jboss/teiid/resource-adapter/file/main/./
> Caused by: javax.resource.spi.InvalidPropertyException: ParentDirectory is not set"}}
> at org.teiid.runtime.client.admin.v8.Admin8Factory$ResultCallback.onFailure(Admin8Factory.java:199)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.cliCall(Admin8Factory.java:1553)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.activateConnectionFactory(Admin8Factory.java:351)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.createConnectionFactory(Admin8Factory.java:333)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.createDataSource(Admin8Factory.java:473)
> at org.teiid.runtime.client.admin.ExecutionAdmin.getOrCreateDataSource(ExecutionAdmin.java:344)
> at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:597)
> at org.teiid.designer.runtime.ui.connection.CreateDataSourceAction.run(CreateDataSourceAction.java:168)
> at org.teiid.designer.runtime.ui.views.TeiidServerActionProvider$7.run(TeiidServerActionProvider.java:359)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 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:354)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> 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:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> This is with JBDS 7.1.1.GA and designer 8.5.0.Final
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 6 months
[JBoss JIRA] (TEIIDDES-2249) Creation of datasource from Designer fails
by Rakesh Balguri (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2249?page=com.atlassian.jira.plu... ]
Rakesh Balguri commented on TEIIDDES-2249:
------------------------------------------
We also faced this problem with Teiid8.7 and one of our customers had faced this problem.
We get this exception when the JBoss server is starting and the only option is to restart the server.
Do we have a solution to this problem?
> Creation of datasource from Designer fails
> ------------------------------------------
>
> Key: TEIIDDES-2249
> URL: https://issues.jboss.org/browse/TEIIDDES-2249
> Project: Teiid Designer
> Issue Type: Bug
> Components: Teiid Integration
> Affects Versions: 8.5
> Environment: Designer on Windows
> Server: Linux 2.6.32-279.11.1.el6.x86_64 #1 SMP Sat Sep 22 07:10:26 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Tom Johnston
>
> following error occurs when I right click on TeiiD server under Servers panel and choose Create data source (populate all items..)
> org.teiid.adminapi.AdminProcessingException: {"JBAS014671: Failed services" => {"jboss.ra.deployment.SemaphoreExportFiles_FinchDS_1" => "org.jboss.msc.service.StartException in service jboss.ra.deployment.SemaphoreExportFiles_FinchDS_1: org.jboss.msc.service.StartException in anonymous service: JBAS010446: Failed to start RA deployment [SemaphoreExportFiles_FinchDS]
> Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS010446: Failed to start RA deployment [SemaphoreExportFiles_FinchDS]
> Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file:/home/tjohn2/redhat/dv/jboss-eap-6.1/modules/system/layers/dv/org/jboss/teiid/resource-adapter/file/main/./
> Caused by: javax.resource.spi.InvalidPropertyException: ParentDirectory is not set"}}
> at org.teiid.runtime.client.admin.v8.Admin8Factory$ResultCallback.onFailure(Admin8Factory.java:199)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.cliCall(Admin8Factory.java:1553)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.activateConnectionFactory(Admin8Factory.java:351)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.createConnectionFactory(Admin8Factory.java:333)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.createDataSource(Admin8Factory.java:473)
> at org.teiid.runtime.client.admin.ExecutionAdmin.getOrCreateDataSource(ExecutionAdmin.java:344)
> at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:597)
> at org.teiid.designer.runtime.ui.connection.CreateDataSourceAction.run(CreateDataSourceAction.java:168)
> at org.teiid.designer.runtime.ui.views.TeiidServerActionProvider$7.run(TeiidServerActionProvider.java:359)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 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:354)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> 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:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> This is with JBDS 7.1.1.GA and designer 8.5.0.Final
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 6 months
[JBoss JIRA] (TEIIDDES-2333) Use of eclipse internal classes in ControlledPopupMenuExtender
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2333?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2333:
----------------------------------------
Extending/adding to Eclipse's context menu has alway been an issue. Using it "cold" results in behavior that reflects *Eclipse* and not necessarily the perpective. Some of this probably due to reverting the old MetaMatrix Designer from an RCP type application back to a basic Eclipse plugin.
The *Additions* element adds the contributed actions to the bottom of the menu. If I remember right, there's not really a mechanism to easily add/insert actions elsewhere or in a specific location.
> Use of eclipse internal classes in ControlledPopupMenuExtender
> --------------------------------------------------------------
>
> Key: TEIIDDES-2333
> URL: https://issues.jboss.org/browse/TEIIDDES-2333
> Project: Teiid Designer
> Issue Type: Bug
> Reporter: Paul Richardson
> Assignee: Paul Richardson
> Priority: Blocker
> Fix For: 8.6.1
>
> Attachments: source-model-context-menu-no-extender.jpg, source-model-context-menu-with-extender.jpg
>
>
> Upgrading the Target Platform to Luna, the [ControllerPopupMenuExtender|https://github.com/Teiid-Designer/teiid-desig...] shows a compile error due a change in API of the contributeObjectActions() method.
> Since this method is internal, it is within scope for Eclipse to change its API. In retrospect, Designer should rewrite this class to avoid the use of the internal API, which would increase the chances of transitioning, between target platforms, being much more seamless.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 6 months
[JBoss JIRA] (TEIIDDES-2340) UI issues with Luna Target Platform
by Paul Richardson (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2340?page=com.atlassian.jira.plu... ]
Paul Richardson resolved TEIIDDES-2340.
---------------------------------------
Resolution: Done
> UI issues with Luna Target Platform
> -----------------------------------
>
> Key: TEIIDDES-2340
> URL: https://issues.jboss.org/browse/TEIIDDES-2340
> Project: Teiid Designer
> Issue Type: Bug
> Components: Eclipse Integration
> Affects Versions: 8.6
> Reporter: Paul Richardson
> Assignee: Paul Richardson
> Fix For: 8.6.1, 8.7
>
>
> Due to the upgrade to the Luna target-platform, a few UI anomalies have started to occur, including:
> * Open VDB Editor and select "Advanced" tab and it's EMPTY. Re-size and it shows up;
> * Open Data Role Wizard and click on Row FIlter or Column Masking tabs and only the "NAME" column is displayed. the others aren't there;
> * Same Data Role Wizard "Options" tab is empty until resizing;
> * VDB Editor Source Binding Definition tab doesn't show selection or columns.
> These need fixing before release to Luna integration stack.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 6 months
[JBoss JIRA] (TEIIDDES-2333) Use of eclipse internal classes in ControlledPopupMenuExtender
by Paul Richardson (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2333?page=com.atlassian.jira.plu... ]
Paul Richardson commented on TEIIDDES-2333:
-------------------------------------------
Proposal to remove this class since it does not appear to add anything useful to the classes it is used in.
ControlledPopupMenuExtender's purpose it to seach out other menu commands in other menus and append them to a given menu if they are relevant to either the menu or the selected object, eg. IResource. This functionality is used in 3 locations:
# DiagramActionContributor
# MappingDiagramActionAdapter
# TransformationActionAdapter
The first and last classes are called on when displaying the content menu in package, mapping and transformation diagrams. It is not yet clear whether the MappingDiagramActionAdapter is ever used.
The result of the 'Extender class is that lots of seemingly unrelated menu actions are added to the context menu, cluttering it up. See attached screenshot. If these actions are truly required then it would seem a better idea to find their associated global action and append them explicitly.
An Additions element is already included on these context menus if other plugins really want to add functionality to these context menus.
> Use of eclipse internal classes in ControlledPopupMenuExtender
> --------------------------------------------------------------
>
> Key: TEIIDDES-2333
> URL: https://issues.jboss.org/browse/TEIIDDES-2333
> Project: Teiid Designer
> Issue Type: Bug
> Reporter: Paul Richardson
> Assignee: Paul Richardson
> Priority: Blocker
> Fix For: 8.6.1
>
>
> Upgrading the Target Platform to Luna, the [ControllerPopupMenuExtender|https://github.com/Teiid-Designer/teiid-desig...] shows a compile error due a change in API of the contributeObjectActions() method.
> Since this method is internal, it is within scope for Eclipse to change its API. In retrospect, Designer should rewrite this class to avoid the use of the internal API, which would increase the chances of transitioning, between target platforms, being much more seamless.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 6 months
[JBoss JIRA] (TEIIDDES-2333) Use of eclipse internal classes in ControlledPopupMenuExtender
by Paul Richardson (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2333?page=com.atlassian.jira.plu... ]
Paul Richardson commented on TEIIDDES-2333:
-------------------------------------------
This needs to be fixed to allow Teiid Designer 8.6.x to work across both luna and kepler target platforms. This is the main reason that we currently have 2 branches for these TPs. Fixing this by using public API that spans both TPs should allow installation regardless of TP.
> Use of eclipse internal classes in ControlledPopupMenuExtender
> --------------------------------------------------------------
>
> Key: TEIIDDES-2333
> URL: https://issues.jboss.org/browse/TEIIDDES-2333
> Project: Teiid Designer
> Issue Type: Bug
> Reporter: Paul Richardson
> Assignee: Paul Richardson
> Priority: Blocker
> Fix For: 8.6.1
>
>
> Upgrading the Target Platform to Luna, the [ControllerPopupMenuExtender|https://github.com/Teiid-Designer/teiid-desig...] shows a compile error due a change in API of the contributeObjectActions() method.
> Since this method is internal, it is within scope for Eclipse to change its API. In retrospect, Designer should rewrite this class to avoid the use of the internal API, which would increase the chances of transitioning, between target platforms, being much more seamless.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 6 months