Product: TIBCO Spotfire®
Spotfire Server fails to start. "Error creating bean with name 'domainNameStyleValidator' defined in ServletContext resource".
Environment:
Product: TIBCO Spotfire Server
Version:ALL Versions
OS: All Supported Operating Systems
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 (Filename: domain.png). None of the radio buttons are selected.
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. "
Resolution:
To fix the error
Option 1). Select the appropriate values based on your environment.
1). Domain Name Style.
2). Collapse Domain, and
3). Parse user and domain name.
Option 2). Set the allow incompatible domain name styles.
1). Enable an “unsafe” mode by executing the command:
"config.bat config-userdir --unsafe-domain-name-style-allowed=true"
2). Import the configuration using config import-config --comment="COMMENT" .
3). Restart the Spotfire Server service.
Reference:
https://docs.tibco.com/pub/spotfire_server/7.0.1/doc/pdf/TIB_sfire_server_7.0.1_installation.pdf
https://docs.tibco.com/pub/spotfire_server/7.5.0/doc/pdf/TIB_sfire_server_7.5.0_installation.pdf
Comments
0 comments
Article is closed for comments.