When creating jobs in TIBCO Spotfire Automation Services, you may notice that the task to export to PDF takes a long time to complete when running the task on the server side in comparison to running it on a TIBCO Spotfire installed client. The reason for this difference is due to TIBCO Spotfire Automation Services not being able to know when a Text Area or Table Plot is completely rendered. When generating a PDF for analysis files with complex or time consuming HTML code, such as advanced graphical tables plots or text areas with large images that may become empty, upon export it takes a longer time to render than the timeout value for rendering these type of plots.
To be able to handle such cases is the reason behind the large timeout value in the settings file. To configure your own timeout value, follow the instructions below:
- Edit the following configuration file.
C:\Program Files\TIBCO\Automation Services\6.5.X\webroot\bin\Spotfire.Dxp.Automation.Launcher.exe.config
- Change VisualWebViewIdleTimoutMs from 15000 to 500 or 1000, as seen on the example below.
<configuration>
...
<applicationSettings>
...
<Spotfire.Dxp.Application.Properties.Settings>
<setting name="VisualWebViewIdleTimoutMs" serializeAs="String">
<value>500</value>
</setting>
...
- Save the file after making the change.
- Restart TIBCO Spotfire Automation Services.