ERROR "Unable to set the service configuration: An internal error has occurred" when setting a Spotfire Web Player service configuration through command line.
book
Article ID: KB0075374
calendar_today
Updated On:
Products
Versions
Spotfire Server
7.5 and higher
Description
You may encounter an error when setting a Web Player or Automation service configuration using the command "set-service-config". "Unable to set the service configuration: An internal error has occurred" in command line.
Spotfire server logs (tomcat\logs\server.log) will show the below: ------------------------------------------------------ ERROR 2020-05-17T03:04:07,427+0000 [] server.jsp.error: An exception occurred (ID: 5a683307-711f-4df7-9a8b-22cbe561c203) org.springframework.web.util.NestedServletException: Request processing failed; nested exception is com.spotfire.server.config.services.ServiceConfigurationException: The configuration is not compatible with the service ------------------------------------------------------
Environment
All Supported Operating systems
Resolution
Such issues/errors are seen if you happen to export a config file with Capability AUTOMATION_SERVICESĀ (e.g. config export-service-configĀ --capability=AUTOMATION_SERVICES), edit the configuration "Spotfire.Dxp.Worker.Host.exe.config" import it to the database and use the same configuration for creating a Web Player service or even vice-versa.
Example: If there is a custom Automation services configuration named "xyz". When creating/installing a new Automation Service from the "Node & Services" UI it will be available in the configuration drop-down menu. The same configuration "xyz" wont be listed when creating/installing a Web Player service.
Its recommended to export the right capability of service (AUTOMATION_SERVICES, WEB_PLAYER, TERR) as per the requirement, edit it accordingly and then import the configuration.
NOTE: Configurations with the Capability - AUTOMATION_SERVICES are for use with Automation Services - WEB_PLAYER are for use with Web Player - TERR are for use with TERR service
Issue/Introduction
ERROR "Unable to set the service configuration: An internal error has occurred" when setting a Spotfire Web Player service configuration through command line.