When trying to integrate CA Spectrum with CABI using SSO customer are receiving error message:
Sep 10, 2017 21:24:15.964 (http-bio-80-exec-14) (ReportManager) - (ERROR) - Error Importing:
Caused by: java.io.FileNotFoundException: http://hostname.ca.com:8080/SpectrumProxy/actionController?action=integrate&srmHost=hostname&srmTomcatPort
0&srmProtocol=http&jasperHost=hostname.ca.com&jasperTomcatPort=8080&protocol=http&jasperUser=superuser&jasperPassword=ffffff8e,ffffffbe,4f,ffffff8c,31,f
fffbd,4a,ffffffdb,1d,27,ffffff92,64,fffffff6,ffffffb1,ffffffab,3b,19,ffffff81,7d,ffffffce,ffffffce,79,ffffffca,ffffff99,d,1e,ffffff8e,fffffff7,ffffffda,4b,3d,
&webappName=jasperserver-pro&group=spectrum
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1872)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
at java.net.URL.openStream(URL.java:1045)
at com.aprisma.spectrum.app.reporting.jasper.JasperServerClient62.integrate(Unknown Source)
at com.aprisma.spectrum.app.repmgr.web.struts.SRMJasperConfigAction.execute(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:892)
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1294)
at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:117)
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:108)
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1370)
at ognl.ASTMethod.getValueBody(ASTMethod.java:91)
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
at ognl.SimpleNode.getValue(SimpleNode.java:258)
at ognl.Ognl.getValue(Ognl.java:467)
at ognl.Ognl.getValue(Ognl.java:431)
<snip>
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Moth 10, 2017 21:24:15.980 (http-bio-80-exec-14) (ReportManager) - (ERROR) - SSO Auto configuratino is not possible, need to copy .jks and .prop fiels manually
Moth 10, 2017 21:24:15.980 (http-bio-80-exec-14) (ReportManager) - (ERROR) - Error :java.io.FileNotFoundException: http://hostname.ca.com:8080/SpectrumProxy/actionControlleraction=enableSSO&srmHost=hostname&srmTomcatPort=80&srmProtocol=http&protocol=http&jasperHost=hostname.ca.com&jasperTomcatPort=8080&webappName=jasperserverpro&jasperUser=superuser&jasperPassword=ffffff8e,ffffffbe,4f,ffffff8c,31,ffffffbd,4a,ffffffdb,1d,27,ffffff92,64,fffffff6,ffffffb1,ffffffab,3b,19,ffffff81,7d,ffffffce,ffffffce,79,ffffffca,ffffff99,d,1e,ffffff8e,fffffff7,ffffffda,4b,3d,43
When running the command to do the integration with SSO:
java -jar ./spectrumConfigInstaller.jar -host http://hostname -username CABI_Integration -password CAdemo123 -jasperTomcat '/opt/CA/SharedComponents/CA Business Intelligence/' -appName jasperserver-pro
To resolve this in Linux customer needs to specify that there are spaces between the path:
Here is the command - note the escaped spaces on the path for CABI:
java -jar ./spectrumConfigInstaller.jar -host http://hostname -username CABI_Integration -password CAdemo123 -jasperTomcat "/opt/CA/SharedComponents/CA\ Business\ Intelligence" -appName jasperserver-pro