TIBCO Spotfire Web Player instance fails to start or display diagnostic information in the Monitoring & Diagnostics web interface

TIBCO Spotfire Web Player instance fails to start or display diagnostic information in the Monitoring & Diagnostics web interface

book

Article ID: KB0076640

calendar_today

Updated On:

Products Versions
Spotfire Web Player 7.5 and higher

Description

You will notice the following error in Spotfire.Dxp.Worker.Host.WorkerHost.log file when the Web Player instance fails:

ERROR;2017-07-05T10:41:40,854-04:00;2017-07-05 14:41:40,854;edc7f42d-9bd0-4a9f-bc36-6ce712ad4f9b;051041fb56Mdj6;WorkerStartup 1;;Spotfire.Dxp.Worker.Host.WorkerHost;"Failed to start worker.
System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Cast[TResult](IEnumerable source)
   at Spotfire.Dxp.Web.SystemInformation.GetWebApplicationInfo(Boolean addItems, Boolean onlyDocumentedFeatures, Boolean isAutomationServices, List`1 extraConfigItemsToAdd)
   at Spotfire.Dxp.Worker.Host.WorkerHost.WriteCurrentConfigFile()
   at Spotfire.Dxp.Worker.Host.WorkerHost.Run(String[] parameters)
TIBCO Spotfire Node Service TIBCO® Spotfire® 7.9.0 (7.9.0.1.33  5/2/2017)
VersionHash=LlOBqwH91Yph_OC_ex, serviceInstanceId=edc7f42d-9bd0-4a9f-bc36-6ce712ad4f9b, host=MYHOST."

Issue/Introduction

This article describes what might have caused a TIBCO Spotfire Web Player instance to fail to start or fail to display diagnostic information in the Monitoring & Diagnostics web interface.

Resolution

This may be due to an incorrect modification of the required settings in the service configurations.

Following are two options which will help you resolve the services becoming unavailable:
  1. Export the service configuration files and verify they are all valid XML. If not, make the required changes to ensure it validates successfully as valid XML. Save the configuration file, re-import it back to the TIBCO Spotfire Server and apply it to the Web Player or Automation Services service.
  2. Uncomment the following section by removing the surrounding <!-- and --> . Save the configuration file, re-import it back to the TIBCO Spotfire Server and apply it to the Web Player or Automation Services service.
<!-- <setting name="AllowedFilePaths" serializeAs="Xml">
        <value>
          <ArrayOfString>
            <string/>
          </ArrayOfString>
        </value>
      </setting> -->
Resulting in:
<setting name="AllowedFilePaths" serializeAs="Xml">
        <value>
          <ArrayOfString>
            <string/>
          </ArrayOfString>
        </value>
      </setting>

Additional Information

Related KB 000030437: A 500 Worker error is seen when opening the Monitoring & Diagnostics > Instances > Web Player page on the Spotfire Server administration interface
Doc: export-service-config
Doc: import-service-config
Doc: Spotfire.Dxp.Worker.Host.exe.config file > Spotfire.Dxp.Worker.Host.exe.config file
Doc: Spotfire.Dxp.Worker.Automation.config file > Spotfire.Dxp.Worker.Host.exe.config file
Example online xml validation tool: