Errors attempting to enable the Spectrum and Jasper integration

Document ID : KB000046349
Last Modified Date : 14/02/2018
Show Technical Document Details

 

Issue: 

 

When attempting to enable the Spectrum and CABI 6.1 Jaspersoft integration errors are seen.

Reviewing the tomcat log file on the Spectrum OneClick Report Manager machine these errors can be seen:

 

Sep 02, 2016 09:55:21.686 (http-bio-8443-exec-58) (ReportManager) - (ERROR) -
Sep 02, 2016 09:55:38.736 (http-bio-8443-exec-49) (ReportManager) - (ERROR) - javax.ws.rs.ProcessingException: java.net.SocketException: Unexpected end of file from server 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.JasperserverRestClient.login(JasperserverRestClient.java:72) at com.jaspersoft.jasperserver.jaxrs.client.core.JasperserverRestClient.authenticate(JasperserverRestClient.java:50) at com.aprisma.spectrum.app.reporting.jasper.JasperServer.testConnection(Unknown Source) at com.aprisma.spectrum.app.reporting.jasper.JasperIntegration.main(Unknown Source)Caused by: java.net.SocketException: Unexpected end of file from server at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:792) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:789) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1535) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ... 14 more
 

 

Environment:  

CABI 6.1 Jaspersoft with Tomcat SSL enabled

Spectrum 10.1.1

 

Cause: 

 

These errors are caused by SSL being enabled for Tomcat on the Jaspersoft machine.

 

Resolution:

 

With Spectrum 10.1.1 and CABI 6.1 SSL is not currently supported.

Spectrum 10.2 will address this problem with the newest version of Jaspersoft.

To get this to work SSL will have to be disabled on the Jasper install.