[JBoss JIRA] (TEIID-4054) OData - creation of entity (POST) returns exception (status code 500)
by Juraj Duráni (JIRA)
Juraj Duráni created TEIID-4054:
-----------------------------------
Summary: OData - creation of entity (POST) returns exception (status code 500)
Key: TEIID-4054
URL: https://issues.jboss.org/browse/TEIID-4054
Project: Teiid
Issue Type: Sub-task
Components: OData
Reporter: Juraj Duráni
Assignee: Ramesh Reddy
Creation of entity returns exception \[1\]. Representation of entity \[2\]. Http request \[3\]. Header \[4\]. Same exception with of JSON format.
\[1\]
{code:plain}
TEIID10076 Invalid conversion from type class java.lang.Object with value 'java.util.GregorianCalendar[time=4000,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=1,YEAR=1970,MONTH=0,WEEK_OF_YEAR=1,WEEK_OF_MONTH=1,DAY_OF_MONTH=1,DAY_OF_YEAR=1,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=4,MILLISECOND=0,ZONE_OFFSET=0,DST_OFFSET=0]' to type class java.sql.Time
{code}
\[2\]
{code:xml}
<?xml version='1.0' encoding='UTF-8'?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:m="http://docs.oasis-open.org/odata/ns/metadata" xmlns:d="http://docs.oasis-open.org/odata/ns/data" xmlns:gml="http://www.opengis.net/gml" xmlns:georss="http://www.georss.org/georss"><category scheme="http://docs.oasis-open.org/odata/ns/scheme"/><content type="application/xml"><m:properties><d:intkey m:type="Int32">4</d:intkey><d:intnum m:type="Int32">4</d:intnum><d:stringkey>4</d:stringkey><d:stringval>value_4</d:stringval><d:booleanval m:type="Boolean">false</d:booleanval><d:decimalval m:type="Double">-20.4</d:decimalval><d:timeval m:type="TimeOfDay">00:00:04</d:timeval><d:dateval m:type="Date">2004-04-04</d:dateval><d:timestampval m:type="DateTimeOffset">2004-01-01T00:00:04Z</d:timestampval><d:clobval m:type="Binary">Y2xvYl92YWx1ZV8wMDAwNA==</d:clobval></m:properties></content></entry>
{code}
\[3\]
POST http://localhost:8080/odata4/olingo_basic/Source/PostTable(4)
\[4\]
Content-type: application/xml
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (TEIID-4053) Provide Kerberos authentication on OData service
by Ramesh Reddy (JIRA)
Ramesh Reddy created TEIID-4053:
-----------------------------------
Summary: Provide Kerberos authentication on OData service
Key: TEIID-4053
URL: https://issues.jboss.org/browse/TEIID-4053
Project: Teiid
Issue Type: Task
Components: OData
Affects Versions: 8.12.4
Reporter: Ramesh Reddy
Assignee: Steven Hawkins
Fix For: 8.12.5
Provide template to generate OData web service that can participate in a Kerberos based authentication, similar to that of the template of OData. Provide documentation for the same.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (TEIID-4052) Dynamic SQL exception should include evaluated sql
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4052?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-4052.
-----------------------------------
Resolution: Done
Refined the error message to use the evaluated form, rather than the expression form of the query when possible.
> Dynamic SQL exception should include evaluated sql
> --------------------------------------------------
>
> Key: TEIID-4052
> URL: https://issues.jboss.org/browse/TEIID-4052
> Project: Teiid
> Issue Type: Quality Risk
> Components: Query Engine
> Affects Versions: 8.7
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 9.0, 8.12.5, 8.13.2
>
>
> When dynamic sql fails to plan correctly the exception message is simply re-displaying the expression form of the sql, rather than the evaluated form:
> TEIID30168 Couldn't execute the dynamic SQL command "EXECUTE IMMEDIATE x" with the SQL statement "x" due to: ...
> Should be the evaluated value of x, such as:
> statement "select something that doesn't work"
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (TEIID-4052) Dynamic SQL exception should include evaluated sql
by Steven Hawkins (JIRA)
Steven Hawkins created TEIID-4052:
-------------------------------------
Summary: Dynamic SQL exception should include evaluated sql
Key: TEIID-4052
URL: https://issues.jboss.org/browse/TEIID-4052
Project: Teiid
Issue Type: Quality Risk
Components: Query Engine
Affects Versions: 8.7
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 9.0, 8.12.5, 8.13.2
When dynamic sql fails to plan correctly the exception message is simply re-displaying the expression form of the sql, rather than the evaluated form:
TEIID30168 Couldn't execute the dynamic SQL command "EXECUTE IMMEDIATE x" with the SQL statement "x" due to: ...
Should be the evaluated value of x, such as:
statement "select something that doesn't work"
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (TEIID-4051) Swagger metadata includes internal java constructs
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-4051?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-4051:
-------------------------------------
yes, these are not ideal, we need to take another look, that is another reason I want to throw this rest implementation away and focus on OData based Swagger. Otherwise we need to come with way to define the return document definition.
> Swagger metadata includes internal java constructs
> --------------------------------------------------
>
> Key: TEIID-4051
> URL: https://issues.jboss.org/browse/TEIID-4051
> Project: Teiid
> Issue Type: Quality Risk
> Components: Server
> Affects Versions: 8.12.x
> Reporter: Steven Hawkins
>
> From IntegrationTestRestWarGeneration the swagger metadata includes definitions for Statement, ResultSet, StreamingOutput, etc.:
> ...
> InputStream:
> type: "object"
> Statement:
> type: "object"
> properties:
> queryTimeout:
> type: "integer"
> format: "int32"
> closed:
> type: "boolean"
> default: false
> resultSet:
> $ref: "#/definitions/ResultSet"
> ...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month
[JBoss JIRA] (TEIID-4031) Missing dependency in module com.fasterxml.jackson.dataformat.yaml
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIID-4031?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on TEIID-4031:
------------------------------------------------
Van Halbert <vhalbert(a)redhat.com> changed the Status of [bug 1315597|https://bugzilla.redhat.com/show_bug.cgi?id=1315597] from NEW to MODIFIED
> Missing dependency in module com.fasterxml.jackson.dataformat.yaml
> ------------------------------------------------------------------
>
> Key: TEIID-4031
> URL: https://issues.jboss.org/browse/TEIID-4031
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 8.12.5
> Reporter: Juraj Duráni
> Assignee: Steven Hawkins
> Fix For: 9.0, 8.12.5, 8.13.2
>
>
> Module "com.fasterxml.jackson.dataformat.yaml" is missing dependency "com.fasterxml.jackson". Due to this error user cannot see swagger metadata in yaml format.
> Exception:
> {code:text}
> 08:53:02,970 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/rest_1].[default]] (http-/127.0.0.1:8080-1) JBWEB000236: Servlet.service() for servlet default threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.LinkageError: Failed to link com/fasterxml/jackson/dataformat/yaml/YAMLFactory (Module "com.fasterxml.jackson.dataformat.yaml:main" from local module loader @65693ccc (finder: local module finder @6016a917 (roots: /home/jdurani/redhat/data-virtualization/dv_6.3.0/jboss-eap-6.4/modules,/home/jdurani/redhat/data-virtualization/dv_6.3.0/jboss-eap-6.4/modules/system/layers/dv,/home/jdurani/redhat/data-virtualization/dv_6.3.0/jboss-eap-6.4/modules/system/layers/base)))
> at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:367) [resteasy-jaxrs-2.3.12.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:235) [resteasy-jaxrs-2.3.12.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:211) [resteasy-jaxrs-2.3.12.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:576) [resteasy-jaxrs-2.3.12.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:543) [resteasy-jaxrs-2.3.12.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invokePropagateNotFound(SynchronousDispatcher.java:171) [resteasy-jaxrs-2.3.12.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:212) [resteasy-jaxrs-2.3.12.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:59) [resteasy-jaxrs-2.3.12.Final-redhat-1.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0-internal]
> Caused by: java.lang.LinkageError: Failed to link com/fasterxml/jackson/dataformat/yaml/YAMLFactory (Module "com.fasterxml.jackson.dataformat.yaml:main" from local module loader @65693ccc (finder: local module finder @6016a917 (roots: /home/jdurani/redhat/data-virtualization/dv_6.3.0/jboss-eap-6.4/modules,/home/jdurani/redhat/data-virtualization/dv_6.3.0/jboss-eap-6.4/modules/system/layers/dv,/home/jdurani/redhat/data-virtualization/dv_6.3.0/jboss-eap-6.4/modules/system/layers/base)))
> at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at org.jboss.modules.Module.loadModuleClass(Module.java:568) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at io.swagger.jaxrs.listing.ApiListingResource.getListingYaml(ApiListingResource.java:150) [swagger-jaxrs-1.5.2.jar:1.5.2]
> at io.swagger.jaxrs.listing.ApiListingResource.getListing(ApiListingResource.java:114) [swagger-jaxrs-1.5.2.jar:1.5.2]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0-internal]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0-internal]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0-internal]
> at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0-internal]
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.12.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.12.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.12.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.12.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:561) [resteasy-jaxrs-2.3.12.Final-redhat-1.jar:]
> ... 18 more
> Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonFactory
> at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0-internal]
> at java.lang.ClassLoader.defineClass(ClassLoader.java:791) [rt.jar:1.7.0-internal]
> at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482) [jboss-modules.jar:1.3.7.Final-redhat-1]
> ... 37 more
> Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.core.JsonFactory from [Module "com.fasterxml.jackson.dataformat.yaml:main" from local module loader @65693ccc (finder: local module finder @6016a917 (roots: /home/jdurani/redhat/data-virtualization/dv_6.3.0/jboss-eap-6.4/modules,/home/jdurani/redhat/data-virtualization/dv_6.3.0/jboss-eap-6.4/modules/system/layers/dv,/home/jdurani/redhat/data-virtualization/dv_6.3.0/jboss-eap-6.4/modules/system/layers/base))]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.7.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.7.Final-redhat-1]
> ... 41 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 1 month