[JBoss JIRA] (TEIIDDES-3130) Designer manually created REST War errors with large resultset
by Debbie Steigner (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3130?page=com.atlassian.jira.plu... ]
Debbie Steigner updated TEIIDDES-3130:
--------------------------------------
Attachment: REST_POC.vdb
> Designer manually created REST War errors with large resultset
> --------------------------------------------------------------
>
> Key: TEIIDDES-3130
> URL: https://issues.jboss.org/browse/TEIIDDES-3130
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 11.1
> Environment: Tested in Teiid Designer 11.1, 11.0.1. JDV 6.3.8
> Reporter: Debbie Steigner
> Assignee: Barry LaFond
> Fix For: 11.1.1
>
> Attachments: REST_POC.vdb, REST_POC_1.war, myrestpoc.zip
>
>
> Using "Generate REST War" on a VDB and deploying it with your VDB and testing with a large resultset, gives the below error :
> 09:26:18,587 SEVERE [org.teiid.rest] (http-127.0.0.1:8080-1) Exception in execute: {0}: java.lang.Throwable: java.sql.SQLException: java.lang.IllegalArgumentException: Null charset name
> at org.teiid.rest.services.TeiidRSProviderPost.execute(TeiidRSProviderPost.java:116) [classes:]
> at org.teiid.rest.services.REST_Views.MV_AUDIT(REST_Views.java:94) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_60]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_60]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_60]
> at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_60]
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:583) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:565) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:130) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.14.Final-redhat-2.jar:7.5.14.Final-redhat-2]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:656) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]
> Caused by: java.sql.SQLException: java.lang.IllegalArgumentException: Null charset name
> at org.teiid.rest.services.TeiidRSProviderPost.handleResult(TeiidRSProviderPost.java:167) [classes:]
> at org.teiid.rest.services.TeiidRSProviderPost.execute(TeiidRSProviderPost.java:112) [classes:]
> ... 29 more
> Caused by: java.lang.IllegalArgumentException: Null charset name
> at java.nio.charset.Charset.lookup(Charset.java:457) [rt.jar:1.8.0_60]
> at java.nio.charset.Charset.forName(Charset.java:528) [rt.jar:1.8.0_60]
> at org.teiid.query.function.source.XMLSystemFunctions.serialize(XMLSystemFunctions.java:1278) [org.teiid.runtime.client_11.1.0.v20170906-1613.jar:]
> at org.teiid.rest.services.TeiidRSProviderPost.handleResult(TeiidRSProviderPost.java:165) [classes:]
> ... 30 more
> 09:26:18,591 ERROR [org.jboss.resteasy.resteasy_jaxrs.i18n] (http-127.0.0.1:8080-1) RESTEASY000105: Failed to execute: javax.ws.rs.WebApplicationException
> at org.teiid.rest.services.TeiidRSProviderPost.createWebApplicationException(TeiidRSProviderPost.java:194) [classes:]
> at org.teiid.rest.services.TeiidRSProviderPost.execute(TeiidRSProviderPost.java:117) [classes:]
> at org.teiid.rest.services.REST_Views.MV_AUDIT(REST_Views.java:94) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_60]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_60]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_60]
> at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_60]
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:583) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:565) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:130) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.14.Final-redhat-2.jar:7.5.14.Final-redhat-2]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:656) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]
> If the "Auto-generate WAR" box is checked instead it works.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (TEIIDDES-3130) Designer manually created REST War errors with large resultset
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3130?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-3130:
-----------------------------------
Environment: Tested in Teiid Designer 11.1, 11.0.1. JDV 6.3.8 (was: Tested in Teiid Designer 11.1, 11.0.1)
> Designer manually created REST War errors with large resultset
> --------------------------------------------------------------
>
> Key: TEIIDDES-3130
> URL: https://issues.jboss.org/browse/TEIIDDES-3130
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 11.1
> Environment: Tested in Teiid Designer 11.1, 11.0.1. JDV 6.3.8
> Reporter: Debbie Steigner
> Assignee: Barry LaFond
> Fix For: 11.1.1
>
> Attachments: REST_POC_1.war, myrestpoc.zip
>
>
> Using "Generate REST War" on a VDB and deploying it with your VDB and testing with a large resultset, gives the below error :
> 09:26:18,587 SEVERE [org.teiid.rest] (http-127.0.0.1:8080-1) Exception in execute: {0}: java.lang.Throwable: java.sql.SQLException: java.lang.IllegalArgumentException: Null charset name
> at org.teiid.rest.services.TeiidRSProviderPost.execute(TeiidRSProviderPost.java:116) [classes:]
> at org.teiid.rest.services.REST_Views.MV_AUDIT(REST_Views.java:94) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_60]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_60]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_60]
> at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_60]
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:583) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:565) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:130) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.14.Final-redhat-2.jar:7.5.14.Final-redhat-2]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:656) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]
> Caused by: java.sql.SQLException: java.lang.IllegalArgumentException: Null charset name
> at org.teiid.rest.services.TeiidRSProviderPost.handleResult(TeiidRSProviderPost.java:167) [classes:]
> at org.teiid.rest.services.TeiidRSProviderPost.execute(TeiidRSProviderPost.java:112) [classes:]
> ... 29 more
> Caused by: java.lang.IllegalArgumentException: Null charset name
> at java.nio.charset.Charset.lookup(Charset.java:457) [rt.jar:1.8.0_60]
> at java.nio.charset.Charset.forName(Charset.java:528) [rt.jar:1.8.0_60]
> at org.teiid.query.function.source.XMLSystemFunctions.serialize(XMLSystemFunctions.java:1278) [org.teiid.runtime.client_11.1.0.v20170906-1613.jar:]
> at org.teiid.rest.services.TeiidRSProviderPost.handleResult(TeiidRSProviderPost.java:165) [classes:]
> ... 30 more
> 09:26:18,591 ERROR [org.jboss.resteasy.resteasy_jaxrs.i18n] (http-127.0.0.1:8080-1) RESTEASY000105: Failed to execute: javax.ws.rs.WebApplicationException
> at org.teiid.rest.services.TeiidRSProviderPost.createWebApplicationException(TeiidRSProviderPost.java:194) [classes:]
> at org.teiid.rest.services.TeiidRSProviderPost.execute(TeiidRSProviderPost.java:117) [classes:]
> at org.teiid.rest.services.REST_Views.MV_AUDIT(REST_Views.java:94) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_60]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_60]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_60]
> at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_60]
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:583) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:565) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:130) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.14.Final-redhat-2.jar:7.5.14.Final-redhat-2]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:656) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]
> If the "Auto-generate WAR" box is checked instead it works.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (TEIIDDES-3130) Designer manually created REST War errors with large resultset
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3130?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-3130:
-----------------------------------
Environment: Tested in Teiid Designer 11.1, 11.0.1 (was: Tested in Teiid 11.1, 11.0.1)
> Designer manually created REST War errors with large resultset
> --------------------------------------------------------------
>
> Key: TEIIDDES-3130
> URL: https://issues.jboss.org/browse/TEIIDDES-3130
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 11.1
> Environment: Tested in Teiid Designer 11.1, 11.0.1
> Reporter: Debbie Steigner
> Assignee: Barry LaFond
> Fix For: 11.1.1
>
> Attachments: REST_POC_1.war, myrestpoc.zip
>
>
> Using "Generate REST War" on a VDB and deploying it with your VDB and testing with a large resultset, gives the below error :
> 09:26:18,587 SEVERE [org.teiid.rest] (http-127.0.0.1:8080-1) Exception in execute: {0}: java.lang.Throwable: java.sql.SQLException: java.lang.IllegalArgumentException: Null charset name
> at org.teiid.rest.services.TeiidRSProviderPost.execute(TeiidRSProviderPost.java:116) [classes:]
> at org.teiid.rest.services.REST_Views.MV_AUDIT(REST_Views.java:94) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_60]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_60]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_60]
> at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_60]
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:583) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:565) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:130) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.14.Final-redhat-2.jar:7.5.14.Final-redhat-2]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:656) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]
> Caused by: java.sql.SQLException: java.lang.IllegalArgumentException: Null charset name
> at org.teiid.rest.services.TeiidRSProviderPost.handleResult(TeiidRSProviderPost.java:167) [classes:]
> at org.teiid.rest.services.TeiidRSProviderPost.execute(TeiidRSProviderPost.java:112) [classes:]
> ... 29 more
> Caused by: java.lang.IllegalArgumentException: Null charset name
> at java.nio.charset.Charset.lookup(Charset.java:457) [rt.jar:1.8.0_60]
> at java.nio.charset.Charset.forName(Charset.java:528) [rt.jar:1.8.0_60]
> at org.teiid.query.function.source.XMLSystemFunctions.serialize(XMLSystemFunctions.java:1278) [org.teiid.runtime.client_11.1.0.v20170906-1613.jar:]
> at org.teiid.rest.services.TeiidRSProviderPost.handleResult(TeiidRSProviderPost.java:165) [classes:]
> ... 30 more
> 09:26:18,591 ERROR [org.jboss.resteasy.resteasy_jaxrs.i18n] (http-127.0.0.1:8080-1) RESTEASY000105: Failed to execute: javax.ws.rs.WebApplicationException
> at org.teiid.rest.services.TeiidRSProviderPost.createWebApplicationException(TeiidRSProviderPost.java:194) [classes:]
> at org.teiid.rest.services.TeiidRSProviderPost.execute(TeiidRSProviderPost.java:117) [classes:]
> at org.teiid.rest.services.REST_Views.MV_AUDIT(REST_Views.java:94) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_60]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_60]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_60]
> at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_60]
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:583) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:565) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:130) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.17.Final-redhat-1.jar:]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.14.Final-redhat-2.jar:7.5.14.Final-redhat-2]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:656) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.21.Final-redhat-2.jar:7.5.21.Final-redhat-2]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_60]
> If the "Auto-generate WAR" box is checked instead it works.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (TEIIDDES-3136) PK's are not imported from JDBC source when import FK's is turned off
by Barry LaFond (JIRA)
Barry LaFond created TEIIDDES-3136:
--------------------------------------
Summary: PK's are not imported from JDBC source when import FK's is turned off
Key: TEIIDDES-3136
URL: https://issues.jboss.org/browse/TEIIDDES-3136
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 11.1
Reporter: Barry LaFond
Assignee: Barry LaFond
Fix For: 11.1.1
If Import FK's is turned OFF (unchecked) then PK's are not imported as part of the table schema.
RelationalModelProcessorImpl.createPrimaryKey() method is checking for includeFKs & includeInexes options and returning if both are false. Need to remove this check and let PK's be imported either way.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (TEIIDDES-3133) When JDG is used as a data source, there are not translator overrides to create
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3133?page=com.atlassian.jira.plu... ]
Barry LaFond resolved TEIIDDES-3133.
------------------------------------
Resolution: Done
> When JDG is used as a data source, there are not translator overrides to create
> -------------------------------------------------------------------------------
>
> Key: TEIIDDES-3133
> URL: https://issues.jboss.org/browse/TEIIDDES-3133
> Project: Teiid Designer
> Issue Type: Bug
> Components: VDB & Execution
> Affects Versions: 11.1.1
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Priority: Blocker
> Fix For: 11.1.1
>
>
> In the process of creating the full workflow for materializating a view to a JDG 7 cache, Teiid Designer was made to also create the needed translator overrides when the VDB was created. However, when a JDG 7 cache is to be used as a data source, that translator override cannot be created when the VDB is created. It causes an exception in Teiid because it thinks the cache is for materialization (due to the override).
> So a change is needed, that when a JDG cache is not for materialization, but to be used as a datasource, the translator override should not be automatically created.
> Maybe (just a suggestion) when the source tables are created from the running of the JDG materialization process, they are flagged as matview type tables, so that when the VDB is created, it knows then to create the translator override. (otherwise it doesn't create the override).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months
[JBoss JIRA] (TEIIDDES-3133) When JDG is used as a data source, there are not translator overrides to create
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3133?page=com.atlassian.jira.plu... ]
Barry LaFond edited comment on TEIIDDES-3133 at 11/9/17 1:42 PM:
-----------------------------------------------------------------
master: https://github.com/Teiid-Designer/teiid-designer/commit/7a09d0feb2c99aa3f... and https://github.com/Teiid-Designer/teiid-designer/commit/84c7c659653ca6dfe...
was (Author: blafond):
master: https://github.com/Teiid-Designer/teiid-designer/commit/7a09d0feb2c99aa3f...
> When JDG is used as a data source, there are not translator overrides to create
> -------------------------------------------------------------------------------
>
> Key: TEIIDDES-3133
> URL: https://issues.jboss.org/browse/TEIIDDES-3133
> Project: Teiid Designer
> Issue Type: Bug
> Components: VDB & Execution
> Affects Versions: 11.1.1
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Priority: Blocker
> Fix For: 11.1.1
>
>
> In the process of creating the full workflow for materializating a view to a JDG 7 cache, Teiid Designer was made to also create the needed translator overrides when the VDB was created. However, when a JDG 7 cache is to be used as a data source, that translator override cannot be created when the VDB is created. It causes an exception in Teiid because it thinks the cache is for materialization (due to the override).
> So a change is needed, that when a JDG cache is not for materialization, but to be used as a datasource, the translator override should not be automatically created.
> Maybe (just a suggestion) when the source tables are created from the running of the JDG materialization process, they are flagged as matview type tables, so that when the VDB is created, it knows then to create the translator override. (otherwise it doesn't create the override).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 5 months