Spotfire Server fails to start. "Error creating bean with name 'domainNameStyleValidator' defined in ServletContext resource".

Spotfire Server fails to start. "Error creating bean with name 'domainNameStyleValidator' defined in ServletContext resource".

book

Article ID: KB0074902

calendar_today

Updated On:

Products Versions
Spotfire Server ALL Versions

Description

Description:
Spotfire Server fails to start and the following error is returned in the Server.log file
 
Error creating bean with name 'domainNameStyleValidator' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is com.spotfire.server.ServerInitializationException: Incompatible authentication and User Directory domain

Symptoms:
Spotfire Server fails to start after LDAP configuration changes

Cause:
This is caused if the domains are not setup correctly in the LDAP Configuration tool UI.  Refer to the sample screenshot attached . None of the radio buttons are selected.
User-added image
The following is from the manual.

"Spotfire Server will warn and even refuse to start if you try to set up an authentication method and a User Directory with incompatible domain name styles. If you for some reason need to go ahead with an officially incompatible configuration, you will need to set the allow incompatible domain name styles configuration property to make the server start at all. "

Issue/Introduction

Spotfire Server fails to start. "Error creating bean with name 'domainNameStyleValidator' defined in ServletContext resource".

Resolution

To fix the error
Option 1).  Select the appropriate values based on your environment.

a). Domain Name Style. 
b). Collapse Domain, and
c). Parse user and domain name.

Option 2).  Set the allow incompatible domain name styles.

a). Enable an “unsafe” mode by executing the command:

"config.bat config-userdir --unsafe-domain-name-style-allowed=true"

b). Import the configuration using config import-config --comment="COMMENT" .

c). Restart the Spotfire Server service. 

 

Additional Information

https://docs.tibco.com/pub/spotfire_server/7.0.1/doc/pdf/TIB_sfire_server_7.0.1_installation.pdf

Attachments

Spotfire Server fails to start. "Error creating bean with name 'domainNameStyleValidator' defined in ServletContext resource". get_app