[JBoss JIRA] (TEIIDDES-2415) Import -> Web Service Source >> Source and View Model (REST) Parameter handling and parsing errors
by Wladislaw Mitzel (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2415?page=com.atlassian.jira.plu... ]
Wladislaw Mitzel updated TEIIDDES-2415:
---------------------------------------
Attachment: 2014-12-29_14-59-13.png
> Import -> Web Service Source >> Source and View Model (REST) Parameter handling and parsing errors
> --------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2415
> URL: https://issues.jboss.org/browse/TEIIDDES-2415
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export, Web Services Support
> Affects Versions: 9.0
> Environment: Ubuntu 14.04 LTS
> OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
> OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
> Eclipse Luna Service Release 1 (4.4.1)
> Build id: 20140925-1800
> Teiid Designer 9.0.0.Final-v20141216-2002-B3222
> Reporter: Wladislaw Mitzel
> Attachments: 2014-12-29_14-59-13.png
>
>
> The import wizard for {{Web Service Source >> Source and View Model (REST)}} has various errors regarding the handling of parameters. The initial creation dialog {{New connection profile}} does not show buttons for addition or removal of parameters. The {{connection properties}} dialog displays the buttons, but the changes are not persisted.
> Furthermore there is a parsing error for the following JSON response:
> {code}
> {
> "md5": "37a6259cc0c1dae299a7866489dff0bd",
> "original": "null"
> }
> {code}
> Please see "Steps to reproduce" for further explanation.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 12 months
[JBoss JIRA] (TEIIDDES-2415) Import -> Web Service Source >> Source and View Model (REST) Parameter handling and parsing errors
by Wladislaw Mitzel (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2415?page=com.atlassian.jira.plu... ]
Wladislaw Mitzel updated TEIIDDES-2415:
---------------------------------------
Steps to Reproduce:
# Generate new Teiid Project with no changes to the defaults.
# Right-Click on project => {{Import}} => {{Teiid Designer}} => {{Web Service Source >> Source and View Model (REST)}}
# {{New}} Button in {{REST Web Service Source}} => {{Next}}
# Parameters: {code}
Connection URL: "http://md5.jsontest.com/"
Response Type "JSON"
Security Type "None"{code}
#* There is no way to define Parameters here
# {{Test connection}} succedes
# Ciick {{Finish}}
# The {{REST Web Service Source Selection}} Dialog shows the message {code}No REST Response Files Selected for Import{code} because the response is empty. To add the actual parameter click on {{Edit}}.
# Under {{Connection Properties}} there is an {{Add new Parameter}} button now. Click it and try to add a parameter with an underscore character in its name.
It tells you {{<Missing message for key "AddParameterDialog_invalidParametersName" in: org.teiid.designer.datatools.ui.i18n>}}.
# Instead add parameter "text" with no default value and Type "Query".
Once saved the error message {code}"XML File Parsing Error"
"Parsing Error: The markup in the document following the root element must be well-formed."{code} is shown.
# Once again click {{Edit}}, select the "text"-Parameter in the listview and delete it using the {{Remove Parameter}} button. It does not matter whether you click {{Apply}} or {{Ok}}, the change to the parameter is not persisted.
was:
# Generate new Teiid Project with no changes to the defaults.
# Right-Click on project => {{Import}} => {{Teiid Designer}} => {{Web Service Source >> Source and View Model (REST)}}
# {{New}} Button in {{REST Web Service Source}} => {{Next}}
# Parameters: {code}
Connection URL: "http://md5.jsontest.com/"
Response Type "JSON"
Security Type "None"{code}
#* There is no way to define Parameters here
# {{Test connection}} succedes
# Ciick {{Finish}}
# The {{REST Web Service Source Selection}} Dialog shows the message {code}No REST Response Files Selected for Import{code} because the response is empty. To add the actual parameter click on {{Edit}}.
# Under {{Connection Properties}} there is an {{Add new Parameter}} button now. Click it and try to add a parameter with an underscore character in its name.
It tells you {{<Missing message for key "AddParameterDialog_invalidParametersName" in: org.teiid.designer.datatools.ui.i18n>}}.
# Instead add parameter "text" with no default value and Type "Query".
Once saved the error message {code}"XML File Parsing Error"
"Parsing Error: The markup in the document following the root element must be well-formed."{code} is shown.
# Once again click {{Edit}}, select the "text"-Parameter in the listview and delete it using the {{Remove Parameter}} button. It does not matter whether you click {{Apply}} or {{Ok}}, the change to the parameter is not persisted.
> Import -> Web Service Source >> Source and View Model (REST) Parameter handling and parsing errors
> --------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2415
> URL: https://issues.jboss.org/browse/TEIIDDES-2415
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export, Web Services Support
> Affects Versions: 9.0
> Environment: Ubuntu 14.04 LTS
> OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
> OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
> Eclipse Luna Service Release 1 (4.4.1)
> Build id: 20140925-1800
> Teiid Designer 9.0.0.Final-v20141216-2002-B3222
> Reporter: Wladislaw Mitzel
>
> The import wizard for {{Web Service Source >> Source and View Model (REST)}} has various errors regarding the handling of parameters. The initial creation dialog {{New connection profile}} does not show buttons for addition or removal of parameters. The {{connection properties}} dialog displays the buttons, but the changes are not persisted.
> Furthermore there is a parsing error for the following JSON response:
> {code}
> {
> "md5": "37a6259cc0c1dae299a7866489dff0bd",
> "original": "null"
> }
> {code}
> Please see "Steps to reproduce" for further explanation.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 12 months
[JBoss JIRA] (TEIIDDES-2415) Import -> Web Service Source >> Source and View Model (REST) Parameter handling and parsing errors
by Wladislaw Mitzel (JIRA)
Wladislaw Mitzel created TEIIDDES-2415:
------------------------------------------
Summary: Import -> Web Service Source >> Source and View Model (REST) Parameter handling and parsing errors
Key: TEIIDDES-2415
URL: https://issues.jboss.org/browse/TEIIDDES-2415
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export, Web Services Support
Affects Versions: 9.0
Environment: Ubuntu 14.04 LTS
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
Eclipse Luna Service Release 1 (4.4.1)
Build id: 20140925-1800
Teiid Designer 9.0.0.Final-v20141216-2002-B3222
Reporter: Wladislaw Mitzel
The import wizard for {{Web Service Source >> Source and View Model (REST)}} has various errors regarding the handling of parameters. The initial creation dialog {{New connection profile}} does not show buttons for addition or removal of parameters. The {{connection properties}} dialog displays the buttons, but the changes are not persisted.
Furthermore there is a parsing error for the following JSON response:
{code}
{
"md5": "37a6259cc0c1dae299a7866489dff0bd",
"original": "null"
}
{code}
Please see "Steps to reproduce" for further explanation.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 12 months
[JBoss JIRA] (TEIIDDES-2414) Large transformation SQL is not exported to INDEX file.
by Hisanobu Okuda (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2414?page=com.atlassian.jira.plu... ]
Hisanobu Okuda commented on TEIIDDES-2414:
------------------------------------------
In org.teiid.designer.core.index.BlocksIndexOutput.addWord(), indexBlock is created as a 8192 bytes buffer.
{code}
public void addWord(WordEntry entry) throws IOException {
if (firstIndexBlock) {
indexBlock= new GammaCompressedIndexBlock(IIndexConstants.BLOCK_SIZE);
{code}
If a transformation SQL (+ some extra data) is larger than 8192, it is put into indexBlock.
> Large transformation SQL is not exported to INDEX file.
> -------------------------------------------------------
>
> Key: TEIIDDES-2414
> URL: https://issues.jboss.org/browse/TEIIDDES-2414
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 8.3.4
> Reporter: Hisanobu Okuda
> Attachments: test.csv
>
>
> A large transformation SQL of a view model is not exported to INDEX file.
> I have a large transformation SQL > 8192 bytes in my view model. TDesigner fails to convert the xmi to XXXXXXXXXX.INDEX file. There is no transformation SQL in the INDEX file, therefore, deploying my vdb fails and the vdb is inactivated. When you deploy the vdb, you can see the following message in a log file:-
> {code}
> 17:16:11,632 WARN [org.teiid.PLANNER.RESOLVER] (teiid-async-threads - 2) TEIID31079 View ViewModel.new_table is not defined by a query expression.
> 17:16:11,636 INFO [org.teiid.RUNTIME] (teiid-async-threads - 2) TEIID40073 The metadata for the VDB test.1 is loaded, however it is not valid. Check models for errors. Correct the metadata and re-deploy.
> 17:16:11,637 INFO [org.teiid.RUNTIME] (teiid-async-threads - 2) TEIID40003 VDB test.1 is set to FAILED
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (TEIIDDES-2414) Large transformation SQL is not exported to INDEX file.
by Hisanobu Okuda (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2414?page=com.atlassian.jira.plu... ]
Hisanobu Okuda updated TEIIDDES-2414:
-------------------------------------
Attachment: test.csv
> Large transformation SQL is not exported to INDEX file.
> -------------------------------------------------------
>
> Key: TEIIDDES-2414
> URL: https://issues.jboss.org/browse/TEIIDDES-2414
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 8.3.4
> Reporter: Hisanobu Okuda
> Attachments: test.csv
>
>
> A large transformation SQL of a view model is not exported to INDEX file.
> I have a large transformation SQL > 8192 bytes in my view model. TDesigner fails to convert the xmi to XXXXXXXXXX.INDEX file. There is no transformation SQL in the INDEX file, therefore, deploying my vdb fails and the vdb is inactivated. When you deploy the vdb, you can see the following message in a log file:-
> {code}
> 17:16:11,632 WARN [org.teiid.PLANNER.RESOLVER] (teiid-async-threads - 2) TEIID31079 View ViewModel.new_table is not defined by a query expression.
> 17:16:11,636 INFO [org.teiid.RUNTIME] (teiid-async-threads - 2) TEIID40073 The metadata for the VDB test.1 is loaded, however it is not valid. Check models for errors. Correct the metadata and re-deploy.
> 17:16:11,637 INFO [org.teiid.RUNTIME] (teiid-async-threads - 2) TEIID40003 VDB test.1 is set to FAILED
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (TEIIDDES-2414) Large transformation SQL is not exported to INDEX file.
by Hisanobu Okuda (JIRA)
Hisanobu Okuda created TEIIDDES-2414:
----------------------------------------
Summary: Large transformation SQL is not exported to INDEX file.
Key: TEIIDDES-2414
URL: https://issues.jboss.org/browse/TEIIDDES-2414
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 8.3.4
Reporter: Hisanobu Okuda
Attachments: test.csv
A large transformation SQL of a view model is not exported to INDEX file.
I have a large transformation SQL > 8192 bytes in my view model. TDesigner fails to convert the xmi to XXXXXXXXXX.INDEX file. There is no transformation SQL in the INDEX file, therefore, deploying my vdb fails and the vdb is inactivated. When you deploy the vdb, you can see the following message in a log file:-
{code}
17:16:11,632 WARN [org.teiid.PLANNER.RESOLVER] (teiid-async-threads - 2) TEIID31079 View ViewModel.new_table is not defined by a query expression.
17:16:11,636 INFO [org.teiid.RUNTIME] (teiid-async-threads - 2) TEIID40073 The metadata for the VDB test.1 is loaded, however it is not valid. Check models for errors. Correct the metadata and re-deploy.
17:16:11,637 INFO [org.teiid.RUNTIME] (teiid-async-threads - 2) TEIID40003 VDB test.1 is set to FAILED
{code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[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:
---------------------------------------------------
Jan Stastny <jstastny(a)redhat.com> changed the Status of [bug 1135482|https://bugzilla.redhat.com/show_bug.cgi?id=1135482] from ON_QA to VERIFIED
> 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.3.11#6341)
10 years
[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 12/19/14 12:18 AM:
---------------------------------------------------------------------
Hi,
We are getting this problem more frequently now. This happens to one or more of the configured File Resource adapters.
Can you provide a solution to this problem?
was (Author: rakeshsagar):
Hi,
We are getting this problem more frequently now. This happens to one or more of the configured File Resource adapters.
Can we provide 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.11#6341)
10 years