Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Timeout settings configuration for TIBCO Spotfire Automation Services.
Solution:
Different timeout settings that are configurable for TIBCO Spotfire Automation Services:
1) Timeout period for the Library export and import tasks. This setting is configurable via the Automation Services server configuration file,
Goto Spotfire.Dxp.Automation.Launcher.exe.config, located in the directory <Automation Services installation folder>\webroot\bin.
a). Locate the element:
<appSettings file="Spotfire.Dxp.Automation.Launcher.user.config">
b). Find the following lines:
<!-- Timeout (seconds) for the library import operation for the Import Library task -->
<add key="Spotfire.Automation.LibraryImport.TimeoutInSeconds" value="300"/>
<!-- Timeout (seconds) for the library export operation for the Export Library task -->
<add key="Spotfire.Automation.LibraryExport.TimeoutInSeconds" value="300"/>
The timeout periods are set to 300 seconds or 5 minutes.
2). The timeout period when trying to connect the client job sender to the Automation Services web server. This setting is configurable via the Spotfire.Dxp.Automation.ClientJobSender.exe.config:
a). Find the lines:
<!-- Timeout in seconds for the web service call -->
<add key="Spotfire.Automation.Client.Timeout" value="600"/>
The timeout period is set to 600 seconds or 10 minutes.
3). The timeout period launching the application runtime. This setting is configurable via the Automation Services server configuration file, Spotfire.Dxp.Automation.Launcher.exe.config, located in the directory <Automation Services installation folder>\webroot\bin.
a). Locate the element:
<Spotfire.Dxp.Internal.Properties.Settings>
b). Find the lines:
<setting name="ManifestDownloadTimeoutMilliseconds" serializeAs="String">
<value>300000</value>
</setting>
The timeout period is set to 300000 milliseconds or 5 minutes.
4). The timeout period for the communication with the Spotfire Server. This setting is configurable via the Automation Services server configuration file, Spotfire.Dxp.Automation.Launcher.exe.config, located in the directory <Automation Services installation folder>\webroot\bin.
a). Locate the following lines and uncomment the required lines if needed:
<!--<section name="Spotfire.Dxp.Services.Settings" type="Spotfire.Dxp.Services.ServicesSettings, Spotfire.Dxp.Services" requirePermission="false" />-->
<!-- Add these settings to increase timeout times for the communication with the Spotfire Server. -->
<!-- Also uncomment the Spotfire.Dxp.Services.Settings section in the beginning of this file. -->
<!--<Spotfire.Dxp.Services.Settings>-->
<!-- <timeout value="3600000" />-->
<!--</Spotfire.Dxp.Services.Settings>-->
The timeout period is set to 3600000 ms or 1000 minutes.
5). The maximum time for a request to execute before being automatically shut down by ASP.NET. There exists an HTTP runtime execution timeout period configured via the Automation Services Web server configuration file, Web.config, located in the directory <Automation Services installation folder>\webroot. This is the maximum time for a request to execute before being automatically shut down by ASP.NET.
<system.web>
…
<httpRuntime executionTimeout="600"/>
…
</system.web>
This timeout period is set to 600 seconds or 10 minutes.
Note: There is a background job that runs periodically and removes old objects that are cached. The default maximum age an object is allowed to have before it is removed from the cache/storage is "01:00:00." This value is not configurable, meaning that it cannot be changed. This setting also affects all temporary files that are created during an Automation Job execution while invoking the LaunchJob() of the Automation Services Web Service (http://automationservicesserver/SpotfireAutomation/JobExecutor.asmx).
1) Timeout period for the Library export and import tasks. This setting is configurable via the Automation Services server configuration file,
Goto Spotfire.Dxp.Automation.Launcher.exe.config, located in the directory <Automation Services installation folder>\webroot\bin.
a). Locate the element:
<appSettings file="Spotfire.Dxp.Automation.Launcher.user.config">
b). Find the following lines:
<!-- Timeout (seconds) for the library import operation for the Import Library task -->
<add key="Spotfire.Automation.LibraryImport.TimeoutInSeconds" value="300"/>
<!-- Timeout (seconds) for the library export operation for the Export Library task -->
<add key="Spotfire.Automation.LibraryExport.TimeoutInSeconds" value="300"/>
The timeout periods are set to 300 seconds or 5 minutes.
2). The timeout period when trying to connect the client job sender to the Automation Services web server. This setting is configurable via the Spotfire.Dxp.Automation.ClientJobSender.exe.config:
a). Find the lines:
<!-- Timeout in seconds for the web service call -->
<add key="Spotfire.Automation.Client.Timeout" value="600"/>
The timeout period is set to 600 seconds or 10 minutes.
3). The timeout period launching the application runtime. This setting is configurable via the Automation Services server configuration file, Spotfire.Dxp.Automation.Launcher.exe.config, located in the directory <Automation Services installation folder>\webroot\bin.
a). Locate the element:
<Spotfire.Dxp.Internal.Properties.Settings>
b). Find the lines:
<setting name="ManifestDownloadTimeoutMilliseconds" serializeAs="String">
<value>300000</value>
</setting>
The timeout period is set to 300000 milliseconds or 5 minutes.
4). The timeout period for the communication with the Spotfire Server. This setting is configurable via the Automation Services server configuration file, Spotfire.Dxp.Automation.Launcher.exe.config, located in the directory <Automation Services installation folder>\webroot\bin.
a). Locate the following lines and uncomment the required lines if needed:
<!--<section name="Spotfire.Dxp.Services.Settings" type="Spotfire.Dxp.Services.ServicesSettings, Spotfire.Dxp.Services" requirePermission="false" />-->
<!-- Add these settings to increase timeout times for the communication with the Spotfire Server. -->
<!-- Also uncomment the Spotfire.Dxp.Services.Settings section in the beginning of this file. -->
<!--<Spotfire.Dxp.Services.Settings>-->
<!-- <timeout value="3600000" />-->
<!--</Spotfire.Dxp.Services.Settings>-->
The timeout period is set to 3600000 ms or 1000 minutes.
5). The maximum time for a request to execute before being automatically shut down by ASP.NET. There exists an HTTP runtime execution timeout period configured via the Automation Services Web server configuration file, Web.config, located in the directory <Automation Services installation folder>\webroot. This is the maximum time for a request to execute before being automatically shut down by ASP.NET.
<system.web>
…
<httpRuntime executionTimeout="600"/>
…
</system.web>
This timeout period is set to 600 seconds or 10 minutes.
Note: There is a background job that runs periodically and removes old objects that are cached. The default maximum age an object is allowed to have before it is removed from the cache/storage is "01:00:00." This value is not configurable, meaning that it cannot be changed. This setting also affects all temporary files that are created during an Automation Job execution while invoking the LaunchJob() of the Automation Services Web Service (http://automationservicesserver/SpotfireAutomation/JobExecutor.asmx).
Comments
0 comments
Article is closed for comments.