TIBCO Spotfire Server does not start due to "The configured JAAS application configuration 'SpotfireLDAP' does not exist" error.

TIBCO Spotfire Server does not start due to "The configured JAAS application configuration 'SpotfireLDAP' does not exist" error.

book

Article ID: KB0081605

calendar_today

Updated On: 06-12-2018

Products Versions
Spotfire Server All Versions

Description

The TIBCO Spotfire Server goes offline and will not start.  This can happen while upgrading TIBCO Spotfire Server or making modifications to the configuration.xml file.

From the server logs, you will see the following error:

The configured JAAS application configuration 'SpotfireLDAP' does not exist.

Issue/Introduction

TIBCO Spotfire Server does not start due to "The configured JAAS application configuration 'SpotfireLDAP' does not exist" error.

Resolution

The error is thrown because the following <jaas-config> settings are missing in the configuration.xml file:
<jaas-config>
    <name>SpotfireLDAP</name>
    <entries/>                                        
</jaas-config>

To resolve:

1) Make the following changes in the configuration.xml file:
<jaas-config>
	<name>SpotfireLDAP</name>
	<entries>
		<entry>
			<login-module-name>com.spotfire.server.jaas.ldap.LDAPLoginModule</login-module-name>
			<control-flag>required</control-flag>
			<options>
				<option>
					<key>ldapConfig</key>
					<value>Active Directory</value>  ---------------------->  Enter the value of the LDAP configuration name (in this example, it is Active Directory)
				</option>
				<option>
					<key>wildcardDomain</key>
					<value>true</value>
				</option>
			</options>
		</entry>
	</entries>
</jaas-config>

2) Save the configuration.xml file.

3) Import the configuration.xml file. You can use the graphical TIBCO Spotfire Server Configuration Tool, or you can use the command line to import the configuration file. For example (to import from the following location:  "%spotfire installation folder%\tomcat\bin"):

config  import-config  --tool-password="configtoolpwd"  --comment="First config"
 4) Restart the Spotfire server.