Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
A 500 Worker error is seen when opening the Monitoring & Diagnostics > Instances > Web Player page on the Spotfire Server administration interface
Solution:
A 500 Worker error is seen when opening Monitoring & Diagnostics > Instances > Web Player on the Spotfire Server Administration interface. In server.log, the following error is seen:
ERROR 2017-02-02T10:57:19,109+0100 [] server.jsp.error: An exception occurred (ID: ab3b97e5-2d41-471e-94df-ab709bc82224) org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.web.client.HttpServerErrorException: 500 Worker error id: 345a8ea7aa34427ab70fe34d7367c02c (Value cannot be null.%0d%0aParameter name: source)
To resolve, verify the "AllowedFilePaths" section in the Spotfire.Dxp.Worker.Host.exe.config file in the active configuration per instructions found here Manually editing the service configuration files. Details:
- Export the configuration currently used for the Web Player service (see export-server-configuration).
- Open the Spotfire.Dxp.Worker.Host.exe.config
- Search for setting name="AllowedFilePaths" which should be within the <Spotfire.Dxp.Data.Properties.Settings> section:
<setting name="AllowedFilePaths" serializeAs="Xml"> <value> <ArrayOfString> <string/> </ArrayOfString> </value> </setting >
- If that section is commented out by being enclosed by <!-- and -->, remove the <!-- and --> to uncomment out that section.
- If that section is not present, insert it inside the <Spotfire.Dxp.Data.Properties.Settings> section.
- Save the file.
- Import the configuration (see import-service-config).
- Assign the created configuration to your service.
- Option 1: In the command-line interface, assign the created Spotfire Web Player configuration to the Spotfire Server to make it possible to use for the service:
set-service-config --service-id=value --config-name=WebPlayerConfiguration - Option 2: In the Spotfire Server web interface:
- Nodes & Services > Nodes > Select your service on the left > Click Edit
- In the 'Edit service' dialog, select your imported configuration in the "Configuration" dropdown.
- Click Update (Note: This will trigger a restart of the instances).
- Option 1: In the command-line interface, assign the created Spotfire Web Player configuration to the Spotfire Server to make it possible to use for the service:
Comments
0 comments
Article is closed for comments.