TIBCO Spotfire Server fails to start with the error "Caused by: com.tibco.as.space.ASException: SYS_ERROR security_config_error - Syntax error"

TIBCO Spotfire Server fails to start with the error "Caused by: com.tibco.as.space.ASException: SYS_ERROR security_config_error - Syntax error"

book

Article ID: KB0075876

calendar_today

Updated On:

Products Versions
Spotfire Server 7.5 and above

Description

After enabling Clustering using ActiveSpace , TIBCO Spotfire server fails to start and below error is returned in the Server logs:
-------------------------------------------------------------------------------------------------------------------------------
[*Initialization*] server.cluster.ActiveSpacesClusterInstance: Error connecting to metaspace
com.tibco.as.space.ASException: SYS_ERROR (domain_undefined - for metaspace: spotfire)
-------------------------------------------------------------------------------------------------------------------------------

These errors are caused due to multiple reasons:
1) "as-policy.txt" has the incorrect domain name
2)Only one "as-policy" file must be created and copied to all the servers in the cluster

Issue/Introduction

TIBCO Spotfire Server fails to start with the error "Caused by: com.tibco.as.space.ASException:SYS_ERROR (domain_undefined - for metaspace: spotfire)"

Environment

Windows

Resolution

1)Check if the "as-policy.txt" has the correct domain and metaspace 

Spotfire Server specifically checks for policy file name as "as-policy.txt" which should be saved at <Spotfire Server Install>\nm\trust" folder and the metaspace should always be "spotfire" and the domain should always be  "AS-DOMAIN"

Note the highlighted lines in the image below
User-added image

2)Only one "as-policy.txt" file is created and copied to each server in the cluster
a)Create the "as-policy.txt" file  only on one server in the cluster.
b)Update the metaspace and the discovery section i.e the server ip address and the ports as shown in the image above
c)Copy the above file to other servers in the cluster (In the  folder <Spotfire Server install>\nm\trust\) . DO NOT create a new policy file on each server


 

Additional Information

https://docs.tibco.com/pub/spotfire_server/7.11.0/doc/html/TIB_sfire_server_tsas_admin_help/GUID-C1AF82F6-A639-4652-83EB-8B933C33F01C.html