[JBoss JIRA] (TEIIDDES-2780) Use of Format property in Properties window in source model doesn't seem to work
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2780?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration updated TEIIDDES-2780:
----------------------------------------------
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1306641
Bugzilla Update: Perform
> Use of Format property in Properties window in source model doesn't seem to work
> --------------------------------------------------------------------------------
>
> Key: TEIIDDES-2780
> URL: https://issues.jboss.org/browse/TEIIDDES-2780
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0
> Reporter: Matus Makovy
> Priority: Minor
>
> Issue copied from BZ, original reporter is cvanball(a)redhat.com.
> Description of problem:
> We have a use case where we have to replace datatypes with alternate
> For example
> SHIPPING_DATE and RETURN_DUE_DATE on CUSTOMER_ORDER_LINE_COPY from DATE to string field of 10 (dd-mm-yyyy) and name it STR_SHIPPING_DATE, STR_RETURN_DUE_DATE respectibly.
> Version-Release number of selected component (if applicable):
> N/A
> Actual results:
> Date are not conform the dd-MM-yyyy format. Iow no transformation done despite the fact of Format property filled in
> Expected results:
> Date transformation to dd-MM-yyyy
> mmakovy: I reproduced this with 10.0.0.Beta2, formatting doesn't work.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIIDDES-2780) Use of Format property in Properties window in source model doesn't seem to work
by Matus Makovy (JIRA)
Matus Makovy created TEIIDDES-2780:
--------------------------------------
Summary: Use of Format property in Properties window in source model doesn't seem to work
Key: TEIIDDES-2780
URL: https://issues.jboss.org/browse/TEIIDDES-2780
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 10.0
Reporter: Matus Makovy
Priority: Minor
Issue copied from BZ, original reporter is cvanball(a)redhat.com.
Description of problem:
We have a use case where we have to replace datatypes with alternate
For example
SHIPPING_DATE and RETURN_DUE_DATE on CUSTOMER_ORDER_LINE_COPY from DATE to string field of 10 (dd-mm-yyyy) and name it STR_SHIPPING_DATE, STR_RETURN_DUE_DATE respectibly.
Version-Release number of selected component (if applicable):
N/A
Actual results:
Date are not conform the dd-MM-yyyy format. Iow no transformation done despite the fact of Format property filled in
Expected results:
Date transformation to dd-MM-yyyy
mmakovy: I reproduced this with 10.0.0.Beta2, formatting doesn't work.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIIDDES-2765) View model procedure_response created using SOAP import is missing information in XMLNAMESPACES()
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2765?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2765:
-----------------------------------
Fix Version/s: 10.0.1
> View model procedure_response created using SOAP import is missing information in XMLNAMESPACES()
> -------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2765
> URL: https://issues.jboss.org/browse/TEIIDDES-2765
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0
> Environment: MAC
> Reporter: Matus Makovy
> Priority: Critical
> Fix For: 10.0.1
>
> Attachments: Screen Shot 2016-01-21 at 10.16.55.png
>
>
> Transformation SQL on xxx_response procedures looks like this:
> {code:java}
> CREATE VIRTUAL PROCEDURE
> BEGIN
> SELECT t.* FROM
> XMLTABLE(XMLNAMESPACES() , '/FullCountryInfoResponse/return' PASSING CountriesSOAPServiceView.FullCountryInfo_response.xml_in
> COLUMNS
> continentCode string PATH '/continentCode',
> capitalCity string PATH '/capitalCity',
> currencyIsoCode string PATH '/currencyIsoCode',
> isoCode string PATH '/isoCode',
> name string PATH '/name',
> phoneCode string PATH '/phoneCode') AS t;
> END
> {code}
> XMLNAMESPACES() is empty. When I add: "'http://qe.dv.jboss.org/' AS tns" everything works. (I copied this from TD 9.0.4)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIIDDES-2284) Preview Error for REST Web Service Source
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2284?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration commented on TEIIDDES-2284:
---------------------------------------------------
Filip Elias <felias(a)redhat.com> changed the Status of [bug 1135482|https://bugzilla.redhat.com/show_bug.cgi?id=1135482] from VERIFIED to CLOSED
> Preview Error for REST Web Service Source
> -----------------------------------------
>
> Key: TEIIDDES-2284
> URL: https://issues.jboss.org/browse/TEIIDDES-2284
> Project: Teiid Designer
> Issue Type: Bug
> Components: Data Preview
> Affects Versions: 8.6
> Reporter: Ted Jones
> Assignee: Ted Jones
> Priority: Blocker
> Fix For: 9.0, 8.6.1
>
> Attachments: GoogleRest.mps, GoogleRest.mps, googleRestCP.xml
>
>
> When previewing a procedure that invokes a REST web service source, I get the following error:
> select * from ( exec "ViewModel"."google"('toolbar','reciever') ) AS X_X
> org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidProcessingException: TEIID30152 Failed to evaluate XQuery expression; Please check the query and correct errors in syntax or usage.
> However, if I add the view procedure to a VDB and deploy, I am able to execute without error.
> GOOGLE SEARCH URL: http://www.google.com/complete/search
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIIDDES-2776) Preview fails for file source table after a Server stop and restart
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2776?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2776:
-----------------------------------
Component/s: Patch Release
> Preview fails for file source table after a Server stop and restart
> -------------------------------------------------------------------
>
> Key: TEIIDDES-2776
> URL: https://issues.jboss.org/browse/TEIIDDES-2776
> Project: Teiid Designer
> Issue Type: Bug
> Components: Data Preview, Patch Release
> Affects Versions: 9.0.3
> Reporter: Debbie Steigner
> Assignee: Paul Richardson
> Fix For: 9.0.6, 10.0.2
>
> Attachments: testcsv.csv, TestModelProjectSet.zip
>
>
> I have only seen this with a flat file source, standard jdbc database tables only need the "Refresh/Reconnect Teiid Instance Connection" button to refresh and have previews work again.
> Setup a Remote Server in JBDS
> select Server externally managed
> Remote and Remote Management Commands
> * Create a new model project, add a File source
> * Create a view model and do a preview on the view table
> That works! Great.
> Then:
> * We right-click the server and press Stop. Then press Start
> * Now when you try to preview again, it fails. The EAP server is in a reload-required state and the below error is shown in Designer log and a pop-up:
> !ENTRY org.teiid.designer.dqp.ui 4 0 2016-02-05 13:37:38.436
> !MESSAGE JBAS010473: Failed to load module for RA [org.jboss.teiid.resource-adapter.file]
> !STACK 0
> org.teiid.adminapi.AdminProcessingException: JBAS010473: Failed to load module for RA [org.jboss.teiid.resource-adapter.file]
> at org.teiid.runtime.client.admin.v8.Admin8Factory$ResultCallback.onFailure(Admin8Factory.java:202)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.cliCall(Admin8Factory.java:1591)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.addModuleResourceAdapter(Admin8Factory.java:397)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.createConnectionFactory(Admin8Factory.java:303)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.createDataSource(Admin8Factory.java:497)
> at org.teiid.runtime.client.admin.ExecutionAdmin.getOrCreateDataSource(ExecutionAdmin.java:373)
> at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:614)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:177)
> at org.teiid.designer.runtime.preview.PreviewManager.ensureConnectionInfoIsValid(PreviewManager.java:527)
> at org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1365)
> at org.teiid.designer.runtime.ui.preview.PreviewDataWorker$1.run(PreviewDataWorker.java:233)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
> !ENTRY org.teiid.designer.ui 4 0 2016-02-05 13:37:38.863
> !MESSAGE Error running preview. See log for more information.
> !STACK 1
> org.eclipse.core.runtime.CoreException: Error running preview. See log for more information.
> at org.teiid.designer.ui.util.ErrorHandler.toCoreException(ErrorHandler.java:68)
> at org.teiid.designer.ui.util.ErrorHandler.toExceptionDialog(ErrorHandler.java:106)
> at org.teiid.designer.runtime.ui.preview.PreviewDataWorker.run(PreviewDataWorker.java:255)
> at org.teiid.designer.runtime.ui.preview.PreviewTableDataContextAction.run(PreviewTableDataContextAction.java:99)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
> at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:462)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> 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:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> 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:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> Contains: * JBAS010473: Failed to load module for RA [org.jboss.teiid.resource-adapter.file]
> !SUBENTRY 1 org.teiid.designer.ui 4 4 2016-02-05 13:37:38.864
> !MESSAGE Error running preview. See log for more information.
> !SUBENTRY 2 org.teiid.designer.ui 4 0 2016-02-05 13:37:38.864
> !MESSAGE * JBAS010473: Failed to load module for RA [org.jboss.teiid.resource-adapter.file]
> To fix it:
> * We run a :reload on the EAP server with jboss-cli
> * Then preview works again.
> So, desired fix, when the server is in a reload-required state, reload the server or at least prompt for it instead of erroring out.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIIDDES-2776) Preview fails for file source table after a Server stop and restart
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2776?page=com.atlassian.jira.plu... ]
Barry LaFond reassigned TEIIDDES-2776:
--------------------------------------
Assignee: Paul Richardson
> Preview fails for file source table after a Server stop and restart
> -------------------------------------------------------------------
>
> Key: TEIIDDES-2776
> URL: https://issues.jboss.org/browse/TEIIDDES-2776
> Project: Teiid Designer
> Issue Type: Bug
> Components: Data Preview
> Affects Versions: 9.0.3
> Reporter: Debbie Steigner
> Assignee: Paul Richardson
> Fix For: 9.0.6, 10.0.2
>
> Attachments: testcsv.csv, TestModelProjectSet.zip
>
>
> I have only seen this with a flat file source, standard jdbc database tables only need the "Refresh/Reconnect Teiid Instance Connection" button to refresh and have previews work again.
> Setup a Remote Server in JBDS
> select Server externally managed
> Remote and Remote Management Commands
> * Create a new model project, add a File source
> * Create a view model and do a preview on the view table
> That works! Great.
> Then:
> * We right-click the server and press Stop. Then press Start
> * Now when you try to preview again, it fails. The EAP server is in a reload-required state and the below error is shown in Designer log and a pop-up:
> !ENTRY org.teiid.designer.dqp.ui 4 0 2016-02-05 13:37:38.436
> !MESSAGE JBAS010473: Failed to load module for RA [org.jboss.teiid.resource-adapter.file]
> !STACK 0
> org.teiid.adminapi.AdminProcessingException: JBAS010473: Failed to load module for RA [org.jboss.teiid.resource-adapter.file]
> at org.teiid.runtime.client.admin.v8.Admin8Factory$ResultCallback.onFailure(Admin8Factory.java:202)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.cliCall(Admin8Factory.java:1591)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.addModuleResourceAdapter(Admin8Factory.java:397)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.createConnectionFactory(Admin8Factory.java:303)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.createDataSource(Admin8Factory.java:497)
> at org.teiid.runtime.client.admin.ExecutionAdmin.getOrCreateDataSource(ExecutionAdmin.java:373)
> at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:614)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:177)
> at org.teiid.designer.runtime.preview.PreviewManager.ensureConnectionInfoIsValid(PreviewManager.java:527)
> at org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1365)
> at org.teiid.designer.runtime.ui.preview.PreviewDataWorker$1.run(PreviewDataWorker.java:233)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
> !ENTRY org.teiid.designer.ui 4 0 2016-02-05 13:37:38.863
> !MESSAGE Error running preview. See log for more information.
> !STACK 1
> org.eclipse.core.runtime.CoreException: Error running preview. See log for more information.
> at org.teiid.designer.ui.util.ErrorHandler.toCoreException(ErrorHandler.java:68)
> at org.teiid.designer.ui.util.ErrorHandler.toExceptionDialog(ErrorHandler.java:106)
> at org.teiid.designer.runtime.ui.preview.PreviewDataWorker.run(PreviewDataWorker.java:255)
> at org.teiid.designer.runtime.ui.preview.PreviewTableDataContextAction.run(PreviewTableDataContextAction.java:99)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
> at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:462)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> 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:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> 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:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> Contains: * JBAS010473: Failed to load module for RA [org.jboss.teiid.resource-adapter.file]
> !SUBENTRY 1 org.teiid.designer.ui 4 4 2016-02-05 13:37:38.864
> !MESSAGE Error running preview. See log for more information.
> !SUBENTRY 2 org.teiid.designer.ui 4 0 2016-02-05 13:37:38.864
> !MESSAGE * JBAS010473: Failed to load module for RA [org.jboss.teiid.resource-adapter.file]
> To fix it:
> * We run a :reload on the EAP server with jboss-cli
> * Then preview works again.
> So, desired fix, when the server is in a reload-required state, reload the server or at least prompt for it instead of erroring out.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIIDDES-2776) Preview fails for file source table after a Server stop and restart
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2776?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2776:
-----------------------------------
Fix Version/s: 9.0.6
10.0.2
> Preview fails for file source table after a Server stop and restart
> -------------------------------------------------------------------
>
> Key: TEIIDDES-2776
> URL: https://issues.jboss.org/browse/TEIIDDES-2776
> Project: Teiid Designer
> Issue Type: Bug
> Components: Data Preview
> Affects Versions: 9.0.3
> Reporter: Debbie Steigner
> Fix For: 9.0.6, 10.0.2
>
> Attachments: testcsv.csv, TestModelProjectSet.zip
>
>
> I have only seen this with a flat file source, standard jdbc database tables only need the "Refresh/Reconnect Teiid Instance Connection" button to refresh and have previews work again.
> Setup a Remote Server in JBDS
> select Server externally managed
> Remote and Remote Management Commands
> * Create a new model project, add a File source
> * Create a view model and do a preview on the view table
> That works! Great.
> Then:
> * We right-click the server and press Stop. Then press Start
> * Now when you try to preview again, it fails. The EAP server is in a reload-required state and the below error is shown in Designer log and a pop-up:
> !ENTRY org.teiid.designer.dqp.ui 4 0 2016-02-05 13:37:38.436
> !MESSAGE JBAS010473: Failed to load module for RA [org.jboss.teiid.resource-adapter.file]
> !STACK 0
> org.teiid.adminapi.AdminProcessingException: JBAS010473: Failed to load module for RA [org.jboss.teiid.resource-adapter.file]
> at org.teiid.runtime.client.admin.v8.Admin8Factory$ResultCallback.onFailure(Admin8Factory.java:202)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.cliCall(Admin8Factory.java:1591)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.addModuleResourceAdapter(Admin8Factory.java:397)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.createConnectionFactory(Admin8Factory.java:303)
> at org.teiid.runtime.client.admin.v8.Admin8Factory$AdminImpl.createDataSource(Admin8Factory.java:497)
> at org.teiid.runtime.client.admin.ExecutionAdmin.getOrCreateDataSource(ExecutionAdmin.java:373)
> at org.teiid.designer.runtime.TeiidServer.getOrCreateDataSource(TeiidServer.java:614)
> at org.teiid.designer.runtime.TeiidDataSourceFactory.createDataSource(TeiidDataSourceFactory.java:177)
> at org.teiid.designer.runtime.preview.PreviewManager.ensureConnectionInfoIsValid(PreviewManager.java:527)
> at org.teiid.designer.runtime.preview.PreviewManager.previewSetup(PreviewManager.java:1365)
> at org.teiid.designer.runtime.ui.preview.PreviewDataWorker$1.run(PreviewDataWorker.java:233)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
> !ENTRY org.teiid.designer.ui 4 0 2016-02-05 13:37:38.863
> !MESSAGE Error running preview. See log for more information.
> !STACK 1
> org.eclipse.core.runtime.CoreException: Error running preview. See log for more information.
> at org.teiid.designer.ui.util.ErrorHandler.toCoreException(ErrorHandler.java:68)
> at org.teiid.designer.ui.util.ErrorHandler.toExceptionDialog(ErrorHandler.java:106)
> at org.teiid.designer.runtime.ui.preview.PreviewDataWorker.run(PreviewDataWorker.java:255)
> at org.teiid.designer.runtime.ui.preview.PreviewTableDataContextAction.run(PreviewTableDataContextAction.java:99)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
> at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:462)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1329)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
> 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:380)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
> 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:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
> Contains: * JBAS010473: Failed to load module for RA [org.jboss.teiid.resource-adapter.file]
> !SUBENTRY 1 org.teiid.designer.ui 4 4 2016-02-05 13:37:38.864
> !MESSAGE Error running preview. See log for more information.
> !SUBENTRY 2 org.teiid.designer.ui 4 0 2016-02-05 13:37:38.864
> !MESSAGE * JBAS010473: Failed to load module for RA [org.jboss.teiid.resource-adapter.file]
> To fix it:
> * We run a :reload on the EAP server with jboss-cli
> * Then preview works again.
> So, desired fix, when the server is in a reload-required state, reload the server or at least prompt for it instead of erroring out.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months