You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a
ClientSemanticLayerDataSource (uri='/test/reporting'), with a schema file at
ClientFile (uri='/test/reporting/testReporting1_Domain_files/testReporting1.xml'),
when i tried to do a uploadFile on resource
SingleResourceAdapter adapter = session.resourcesService()
.resource('/test/reporting/testReporting1_Domain_files')
.uploadFile(newSchemaFile, ClientFile.FileType.xml, "schema", "schema update")
I got the following errors.
Q:
Is this a bug? or just usage error?
if it's usage error, which api should be used to replace the schema file for the ClientSemanticLayerDataSource?
NOTE: this happens after upgraded to jasperserver v6.3.
P.S. I tried to use the createOrUpdate on the existing schema ClientFile resource ( setContent(newSchemaContent)), but that corrupted the schema (the content got from the schema file resource (downloadBinary() are all gibberish after the createOrUpdate).
javax.ws.rs.ProcessingException: java.net.SocketException: Connection reset
at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:287)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:437)
at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:343)
at com.jaspersoft.jasperserver.jaxrs.client.core.JerseyRequest.executeRequest(JerseyRequest.java:185)
at com.jaspersoft.jasperserver.jaxrs.client.core.JerseyRequest.post(JerseyRequest.java:155)
at com.jaspersoft.jasperserver.jaxrs.client.apiadapters.resources.SingleResourceAdapter.uploadFile(SingleResourceAdapter.java:226)
Thanks!
Bill
The text was updated successfully, but these errors were encountered:
Hi,
I have a
ClientSemanticLayerDataSource (uri='/test/reporting'), with a schema file at
ClientFile (uri='/test/reporting/testReporting1_Domain_files/testReporting1.xml'),
when i tried to do a uploadFile on resource
SingleResourceAdapter adapter = session.resourcesService()
.resource('/test/reporting/testReporting1_Domain_files')
.uploadFile(newSchemaFile, ClientFile.FileType.xml, "schema", "schema update")
I got the following errors.
Q:
NOTE: this happens after upgraded to jasperserver v6.3.
P.S. I tried to use the createOrUpdate on the existing schema ClientFile resource ( setContent(newSchemaContent)), but that corrupted the schema (the content got from the schema file resource (downloadBinary() are all gibberish after the createOrUpdate).
javax.ws.rs.ProcessingException: java.net.SocketException: Connection reset
at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:287)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:437)
at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:343)
at com.jaspersoft.jasperserver.jaxrs.client.core.JerseyRequest.executeRequest(JerseyRequest.java:185)
at com.jaspersoft.jasperserver.jaxrs.client.core.JerseyRequest.post(JerseyRequest.java:155)
at com.jaspersoft.jasperserver.jaxrs.client.apiadapters.resources.SingleResourceAdapter.uploadFile(SingleResourceAdapter.java:226)
Thanks!
Bill
The text was updated successfully, but these errors were encountered: