Product: TIBCO Spotfire®
Error when deploying cobranding package on TSS on Linux .
Cobranding package cannot be deployed on TSS on Linux due to missing "cabextract".
Once the cobranding package is uploaded to a TSS running on Linux and the deployment area is saved, the Admin UI does not show any errors. It says "Successfully saved" but in server.log you see below errors:
===================================
DEBUG 2016-11-17T08:51:59,331+0100 [spotfire, #0, #24] service.installer.CabinetModuleInstaller: Command: [cabextract, -d/usr/local/bin/tibco/tss/7.6.0/tomcat/webapps/spotfire/WEB-INF/cobranding, /usr/local/bin/tibco/tss/7.6.0/tomcat/temp/TIBCO/TSS/deploy/2d71f811-19f6-f4ac-c985-3da501193f54/Contents/ASML Litho InSight Analytics Cobranding.cab]
DEBUG 2016-11-17T08:51:59,331+0100 [spotfire, #0, #24] service.installer.CabinetModuleInstaller: Directory: /usr/local/bin/tibco/tss/7.6.0/tomcat/temp/TIBCO/TSS/deploy/2d71f811-19f6-f4ac-c985-3da501193f54/Contents
WARN 2016-11-17T08:51:59,338+0100 [spotfire, #0, #24] service.installer.CabinetModuleInstaller: Exception extracting ASML Litho InSight Analytics Cobranding.cab
java.io.IOException: Cannot run program "cabextract" (in directory "/usr/local/bin/tibco/tss/7.6.0/tomcat/temp/TIBCO/TSS/deploy/2d71f811-19f6-f4ac-c985-3da501193f54/Contents"): error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at com.spotfire.server.nodemanager.service.installer.CabinetModuleInstaller.install(CabinetModuleInstaller.java:60)
at com.spotfire.server.deployment.ext.CobrandingDeploymentPostProcessor.deploymentAreaRefreshed(CobrandingDeploymentPostProcessor.java:105)
at com.spotfire.server.deployment.DeploymentManager.lambda$deployDistribution$10(DeploymentManager.java:1758)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
at com.spotfire.server.deployment.DeploymentManager.deployDistribution(DeploymentManager.java:1758)
at com.spotfire.ws.deployments.ClientDeploymentWorkspace.deploy(ClientDeploymentWorkspace.java:491)
at com.spotfire.ws.deployments.DeploymentService.saveDistribution(DeploymentService.java:571)
at com.spotfire.rs.deployment.DeploymentController.saveDistribution(DeploymentController.java:467)
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 org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.spotfire.server.security.SecurityFilter.doFilter(SecurityFilter.java:384)
at com.spotfire.server.security.SecurityFilter.doFilter(SecurityFilter.java:185)
at com.spotfire.server.security.AbstractFilter.doFilter(AbstractFilter.java:123)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.spotfire.server.security.CustomAuthFilterWrapper.doFilter(CustomAuthFilterWrapper.java:78)
at com.spotfire.server.security.AbstractFilter.doFilter(AbstractFilter.java:123)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.spotfire.server.security.CsrfFilter.doFilter(CsrfFilter.java:79)
at com.spotfire.server.security.AbstractFilter.doFilter(AbstractFilter.java:123)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.spotfire.server.security.HttpMethodsFilter.doFilter(HttpMethodsFilter.java:209)
at com.spotfire.server.security.HttpMethodsFilter.doFilter(HttpMethodsFilter.java:173)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.spotfire.server.security.headers.HeadersFilter.doFilter(HeadersFilter.java:192)
at com.spotfire.server.security.AbstractFilter.doFilter(AbstractFilter.java:123)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.spotfire.server.security.AccessLogFilter.doFilter(AccessLogFilter.java:76)
at com.spotfire.server.security.AbstractFilter.doFilter(AbstractFilter.java:123)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at com.spotfire.server.security.RequestContextFilter.doFilter(RequestContextFilter.java:70)
at com.spotfire.server.security.AbstractFilter.doFilter(AbstractFilter.java:123)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
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)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 88 more
===================================
As is documented in the Prerequisites section of "Creating and Deploying a Cobranding Package" documentation:
- For cobranding to work on a Linux system, cabextract must be installed.
https://docs.tibco.com/pub/spotfire_server/7.11.0/doc/html/TIB_sfire_cobranding_help/GUID-B0256AD9-BEC8-467C-B0A1-D92CD6F555D7.html
Comments
0 comments
Article is closed for comments.