After Upgrading Tableau Server Application Server is unavailable

Published: 14 Sep 2021
Last Modified Date: 18 Sep 2021


When Tableau server starts up the following error is displayed in the Vizportal log:
2021-09-08 00:18:58.872 +1000 (,,,,) Catalina-utility-3 : ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.lang.IllegalArgumentException: A valid WebSSOEndpoint with POST-BINDING was not found in the IdP SAML metadata on: E:/Program Files/Tableau/Tableau Server/data/tabsvc/config/vizportal_0.20212.21.0818.1843/files/samlidpmetadata.xml


  • Tableau Server 2021.2.2
  • PostgreSQL


Work with your Idp team to retrieve/amend the Idp’s metadata file and add it to Tableau Server as described in step 6 in the following Tableau Online help page that describes exchanging metadata between Tableau Server and the IdP: Configure Server-Wide SAML


SingleSignOnService element is one of the requirements in IdP metadata file that is missing in the file mentioned in the error:

E:/Program Files/Tableau/Tableau/Tableau Server/data/tabsvc/config/vizportal_0.20212.21.0818.1843/files/samlidpmetadata.xml

Additional Information

  • Tableau Server has been upgraded from 2020.1 to 2021.2.2
  • TSM status shows Server Application is unavailable:
  • User-added image
  • When SAML is disabled, all services can start successfully.
  • tabadminagent log:
2021-09-08 00:02:14.569 +1000  qtp1226254411-197 : INFO  com.tableausoftware.tabadmin.webapp.asyncjobs.AsyncJobStore - Creating job 'StartServerJob'
2021-09-08 00:32:14.596 +1000  pool-22-thread-1 : ERROR com.tableausoftware.tabadmin.webapp.asyncjobs.AsyncJobService - Timed out after 1800 seconds running job 184 of type StartServerJob
java.util.concurrent.TimeoutException: null
2021-09-08 00:32:14.942 +1000  pool-21-thread-1 : ERROR com.tableausoftware.tabadmin.webapp.asyncjobs.JobStepRunner - Running step StartAllServices failed
java.lang.InterruptedException: sleep interrupted

An example of this element in the metadata file has been provided in Tableau Online help page XML data requirements:
<md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://SERVER-NAME:9031/idp/SSO.saml2
Did this article resolve the issue?