[JBoss JIRA] (TEIID-2755) CacheStats.groovy example needs updating, return type has changed
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2755?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-2755:
----------------------------------
Affects Version/s: 8.4
(was: 8.7)
> CacheStats.groovy example needs updating, return type has changed
> -----------------------------------------------------------------
>
> Key: TEIID-2755
> URL: https://issues.jboss.org/browse/TEIID-2755
> Project: Teiid
> Issue Type: Bug
> Components: Build/Kits
> Affects Versions: 8.4
> Reporter: Van Halbert
> Assignee: Van Halbert
> Priority: Minor
>
> Running the CacheStats.groovy examples produces an casting error:
> groovy:000> load ./examples/CacheStats.groovy
> ===> true
> ===> true
> ===> CacheStats@1f147d1a
> Cleared Cache
> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '[hitRatio=0.0; totalEntries=0; requestCount=0]' with class 'java.util.Arrays$ArrayList' to class 'org.teiid.adminapi.CacheStatistics'
> at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType(DefaultTypeTransformation.java:321)
> at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.castToType(ScriptBytecodeAdapter.java:602)
> at CacheStats.performTest(groovysh_evaluate:45)
> at CacheStats$performTest.callCurrent(Unknown Source)
> at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (TEIID-2757) XML reserved characters not support in Odata
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2757?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-2757:
----------------------------------
Affects Version/s: 8.4
(was: 8.5)
This doesn't appear to be something that we can workaround as if we attempt to escape the characters the escaping will be escaped. So as Ramesh is getting at this is an issue below us. Another possible workaround is that if any of the lower ascii non-allowed control characters are being used, then they could use a binary representation (varbinary column) instead.
> XML reserved characters not support in Odata
> --------------------------------------------
>
> Key: TEIID-2757
> URL: https://issues.jboss.org/browse/TEIID-2757
> Project: Teiid
> Issue Type: Bug
> Components: Server
> Affects Versions: 8.4
> Environment: EAP version 6.1 with Teiid 8.5
> Reporter: Marc Shirley
> Assignee: Steven Hawkins
>
> The odata framework sometimes has problems with transforming characters (reserved in XML) from the source data to the XML result. The result is an exception: TEIID16013 Error occured producing OData result.: java.lang.RuntimeException: com.ctc.wstx.exc.WstxIOException: Invalid white space character (0x1b) in text to output (in xml 1.1, could output as a character entity).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (TEIID-2757) XML reserved characters not support in Odata
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2757?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-2757:
-------------------------------------
What I can find from searching
1. XML 1.0 prohibits these characters.
2. CXF cannot marshall u+0001 in a string.
one of the solution prescribed is
{quote}
You can also set a "disable.outputstream.optimization" property on the endpoint/bus to true to have it disable the direct writing to the outputstream and always go through the XMLStreamWriter.
{quote}
http://www.cowtowncoder.com/blog/archives/2008/12/entry_106.html
http://comments.gmane.org/gmane.comp.apache.cxf.user/4373
Code based fixes, not sure how to inject woodstax interceptor (yet). Full stacktrace would have been helpfull too.
> XML reserved characters not support in Odata
> --------------------------------------------
>
> Key: TEIID-2757
> URL: https://issues.jboss.org/browse/TEIID-2757
> Project: Teiid
> Issue Type: Bug
> Components: Server
> Affects Versions: 8.5
> Environment: EAP version 6.1 with Teiid 8.5
> Reporter: Marc Shirley
> Assignee: Steven Hawkins
>
> The odata framework sometimes has problems with transforming characters (reserved in XML) from the source data to the XML result. The result is an exception: TEIID16013 Error occured producing OData result.: java.lang.RuntimeException: com.ctc.wstx.exc.WstxIOException: Invalid white space character (0x1b) in text to output (in xml 1.1, could output as a character entity).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (TEIID-2757) XML reserved characters not support in Odata
by Marc Shirley (JIRA)
Marc Shirley created TEIID-2757:
-----------------------------------
Summary: XML reserved characters not support in Odata
Key: TEIID-2757
URL: https://issues.jboss.org/browse/TEIID-2757
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 8.5
Environment: EAP version 6.1 with Teiid 8.5
Reporter: Marc Shirley
Assignee: Steven Hawkins
The odata framework sometimes has problems with transforming characters (reserved in XML) from the source data to the XML result. The result is an exception: TEIID16013 Error occured producing OData result.: java.lang.RuntimeException: com.ctc.wstx.exc.WstxIOException: Invalid white space character (0x1b) in text to output (in xml 1.1, could output as a character entity).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (TEIID-2756) Web services war misses key in i18n.properties
by Marc Shirley (JIRA)
Marc Shirley created TEIID-2756:
-----------------------------------
Summary: Web services war misses key in i18n.properties
Key: TEIID-2756
URL: https://issues.jboss.org/browse/TEIID-2756
Project: Teiid
Issue Type: Bug
Affects Versions: 8.5
Environment: EAP version 6.1 with TEIID 8.5
Reporter: Marc Shirley
Assignee: Steven Hawkins
Generated sources for Web Services war not complete. The i18n.properties file misses the key ‘TeiidWSProvider.8’. In some cases this creates an exception.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month