[JBoss JIRA] (TEIIDDES-2359) Teiid Designer sends header-accept="application/xml" when trying to import from REST JSON
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2359?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration commented on TEIIDDES-2359:
---------------------------------------------------
Matus Makovy <mmakovy(a)redhat.com> changed the Status of [bug 1148002|https://bugzilla.redhat.com/show_bug.cgi?id=1148002] from ON_QA to VERIFIED
> Teiid Designer sends header-accept="application/xml" when trying to import from REST JSON
> -----------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2359
> URL: https://issues.jboss.org/browse/TEIIDDES-2359
> Project: Teiid Designer
> Issue Type: Enhancement
> Affects Versions: 8.6.1
> Environment: Windows 7
> Reporter: Matus Makovy
> Fix For: 8.6.1, 9.0.1, 9.1
>
> Attachments: 1.png, 2.png, 3.png, 4.png, 5.png, 6.png, log.txt, WSWizardUtils_BZ1148002.patch
>
>
> I have my small web application that should simulate a REST web service (it simply returns XML and JSON strings), when I have annotation @Produces("application/json") and I try to import from this REST JSON, TD gives me an error that server returned response code 406.
> After I change it in my application to @Produces("application/xml") it is OK.
> I tried to force server to log accept-headers that it is sending. Server sends accept-headers: aplication/xml (Log attached)
> Screenshots attached
> TD 8.6.1.Alpha1 + DV 6.1.ER2
> I am not sure, but I think this issue occurs also in 8.3.4
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (TEIIDDES-2431) Designer generated REST WAR handles the LOBS incorrectly
by Ted Jones (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2431?page=com.atlassian.jira.plu... ]
Ted Jones edited comment on TEIIDDES-2431 at 2/4/15 11:49 AM:
--------------------------------------------------------------
[~rareddy], you are right. I will fix ASAP.
was (Author: tejones):
[~rareddy], we only convert to string when the request is for JSON since we have to format the XML response to a JSON document. If they are expecitn XML, a CLOB or BLOB we just return the stream.
> Designer generated REST WAR handles the LOBS incorrectly
> --------------------------------------------------------
>
> Key: TEIIDDES-2431
> URL: https://issues.jboss.org/browse/TEIIDDES-2431
> Project: Teiid Designer
> Issue Type: Bug
> Components: Web Services Support
> Affects Versions: 8.0
> Reporter: Ramesh Reddy
> Assignee: Ted Jones
> Priority: Critical
>
> The REST war generated when dealing with XML, CLOBs and BLOBs materializes the content to a string before posting to a response. This can lead to OOM in the JVM. It needs to write the contents as a stream to HTTP Response object.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (TEIIDDES-2431) Designer generated REST WAR handles the LOBS incorrectly
by Ted Jones (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2431?page=com.atlassian.jira.plu... ]
Ted Jones commented on TEIIDDES-2431:
-------------------------------------
[~rareddy], we only convert to string when the request is for JSON since we have to format the XML response to a JSON document. If they are expecitn XML, a CLOB or BLOB we just return the stream.
> Designer generated REST WAR handles the LOBS incorrectly
> --------------------------------------------------------
>
> Key: TEIIDDES-2431
> URL: https://issues.jboss.org/browse/TEIIDDES-2431
> Project: Teiid Designer
> Issue Type: Bug
> Components: Web Services Support
> Affects Versions: 8.0
> Reporter: Ramesh Reddy
> Assignee: Ted Jones
> Priority: Critical
>
> The REST war generated when dealing with XML, CLOBs and BLOBs materializes the content to a string before posting to a response. This can lead to OOM in the JVM. It needs to write the contents as a stream to HTTP Response object.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (TEIIDDES-2430) TD has problems to "Test JDBC connection" when there is "; " (semicolon) in password
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2430?page=com.atlassian.jira.plu... ]
Barry LaFond resolved TEIIDDES-2430.
------------------------------------
Resolution: Done
fixed in master, 9.0.x, 8.6.x
> TD has problems to "Test JDBC connection" when there is ";" (semicolon) in password
> ------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2430
> URL: https://issues.jboss.org/browse/TEIIDDES-2430
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 9.0.1
> Environment: Windows 7
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Priority: Blocker
> Fix For: 8.6.1, 9.0.1, 9.1
>
> Attachments: ExecutionAdmin_BZ1188756.patch, screen.png
>
>
> When I use this info for connection to DV server:
> Username: teiidUser
> Password: abcd;efgh
> Function "Test JDBC connection" fails to test the connection. (screenshot)
> However, when I try to deploy some VDB and connect to it, everything works.
> I tried to redefine the password without the semicolon( ; ) and it was OK.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months