Product: TIBCO Spotfire®
ERROR "Unable to set the service configuration: An internal error has occurred" when setting a Spotfire Web Player service configuration through command line.
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
------------------------------------------------------
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.
Check the manual link for the export service configuration commands
https://docs.tibco.com/pub/spotfire_server/10.3.9/doc/html/TIB_sfire_server_tsas_admin_help/GUID-5462A06E-20CC-4F42-BCB8-0A66C8EC1C18.html
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
https://docs.tibco.com/pub/spotfire_server/10.3.9/doc/html/TIB_sfire_server_tsas_admin_help/GUID-958A3AB5-7243-4837-9AEA-78AA274A6F7E.html
Comments
0 comments
Article is closed for comments.