TIBCO Spotfire Server with ActiveSpaces clustering installation error "Active Spaces policy file is not found"

TIBCO Spotfire Server with ActiveSpaces clustering installation error "Active Spaces policy file is not found"

book

Article ID: KB0079793

calendar_today

Updated On:

Products Versions
Spotfire Server 7.5 and higher

Description

After setting up TIBCO Spotfire Server clustering with ActiveSpaces, you may come across an issue where the initialization fails. Error in the Spotfire server's server.log follows.
ERROR 2017-04-27T12:44:41,488-0300 [*Initialization*] server.cluster.RetryHelper: Invocation failed. Retries exceeded.
FATAL 2017-04-27T12:44:41,488-0300 [*Initialization*] server.cluster.ActiveSpacesClusterInstance: Failed to join cluster. Cluster members list is empty.
ERROR 2017-04-27T12:45:08,825-0300 [*Initialization*] server.cluster.RetryHelper: Function execution failed. Retry count: 0
java.lang.IllegalStateException: Active Spaces policy file is not found at: C:\tibco\tss\7.8.0\tomcat\..\nm\trust\as-policy.txt
    at com.spotfire.server.cluster.ActiveSpacesClusterInstance.getSecurityPolicyFile(ActiveSpacesClusterInstance.java:242)
    at com.spotfire.server.cluster.ActiveSpacesClusterInstance.getMemberDef(ActiveSpacesClusterInstance.java:197)
    at com.spotfire.server.cluster.ActiveSpacesClusterInstanceBase.connectMetaspace(ActiveSpacesClusterInstanceBase.java:127)
    at com.spotfire.server.cluster.ActiveSpacesClusterInstanceBase.initialize(ActiveSpacesClusterInstanceBase.java:74)
    at com.spotfire.server.cluster.ActiveSpacesClusterInstance.lambda$init$10(ActiveSpacesClusterInstance.java:113)
    at com.spotfire.server.cluster.RetryHelper.doWithRetry(RetryHelper.java:59)
    at com.spotfire.server.cluster.ActiveSpacesClusterInstance.init(ActiveSpacesClusterInstance.java:107)
    at com.spotfire.server.cluster.ActiveSpacesFactory.createInstance(ActiveSpacesFactory.java:97)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

Issue/Introduction

How to resolve the ActiveSpaces installation error "Active Spaces policy file is not found"

Resolution

Ensure the as-common.jar (for ActiveSpaces) is copied correctly and only once to the <Spotfire Server install dir>\tomcat\webapps\spotfire\WEB-INF\lib folder on each server machine.

Additional Information

Doc: TIBCO Spotfire Server Installation and Administration > Setting up a cluster of Spotfire Servers