Product:TIBCO Spotfire Server
Versions:10.3.0 and higher
Summary:
This article discusses the following situation: Unable to execute Spotfire data functions in TIBCO Spotfire Web Player. Error: "Could not execute function call 'XXXX' You do not have permission to execute data functions on the server."
Details:
After installing the TERR Service (TERRSRV) under Node Manager, users may get the following error while executing a Spotfire data function in the Web Player:
---------
Could not execute function call 'XXXX' You do not have permission to execute data functions on the server
---------
You may also get this warning in the Spotfire Server logs (server.log file) while executing a data function in the Web Player:
---------
WARN 2020-07-07T19:39:40,884-0300 [testconsumer, #B-155, #105245] services.controller.CustomServicesRequestHandler: Capability requested TERR is not authorized.
---------
Resolution:
This error is caused by an issue with Spotfire Server configuration.
In Spotfire Server's configuration.xml file, check if a section <custom-services-proxy> exists, and that it contains the following:
<allowed-capability>TERR</allowed-capability>.
By default, the TERR capability should be enabled if nothing else is set. However, if the user is also a Statistica customer, the user may have enabled the Statistica capability, which actually disables the TERR capability and the Python capability until the user explicitly enables them.
Typically we don't need to set these things, because TERR and Python (and now Statistica as well) are enabled by default.
Note: If using Spotfire Server 10.3 or 10.4, the Statistica service capability needs to be allowed on the Spotfire Server. If using Spotfire Server 10.5 or higher, the capability DOES NOT need to be specifically enabled. For Spotfire Server version 10.5 and above, all capabilities (TERR / Statistica / Python) are enabled by default.
In short, to resolve this error, make sure that the TERR service capability is enabled in the configuration.xml file for Spotfire Server if using Spotfire version 10.4 and below.
Versions:10.3.0 and higher
Summary:
This article discusses the following situation: Unable to execute Spotfire data functions in TIBCO Spotfire Web Player. Error: "Could not execute function call 'XXXX' You do not have permission to execute data functions on the server."
Details:
After installing the TERR Service (TERRSRV) under Node Manager, users may get the following error while executing a Spotfire data function in the Web Player:
---------
Could not execute function call 'XXXX' You do not have permission to execute data functions on the server
---------
You may also get this warning in the Spotfire Server logs (server.log file) while executing a data function in the Web Player:
---------
WARN 2020-07-07T19:39:40,884-0300 [testconsumer, #B-155, #105245] services.controller.CustomServicesRequestHandler: Capability requested TERR is not authorized.
---------
Resolution:
This error is caused by an issue with Spotfire Server configuration.
In Spotfire Server's configuration.xml file, check if a section <custom-services-proxy> exists, and that it contains the following:
<allowed-capability>TERR</allowed-capability>.
By default, the TERR capability should be enabled if nothing else is set. However, if the user is also a Statistica customer, the user may have enabled the Statistica capability, which actually disables the TERR capability and the Python capability until the user explicitly enables them.
Typically we don't need to set these things, because TERR and Python (and now Statistica as well) are enabled by default.
Note: If using Spotfire Server 10.3 or 10.4, the Statistica service capability needs to be allowed on the Spotfire Server. If using Spotfire Server 10.5 or higher, the capability DOES NOT need to be specifically enabled. For Spotfire Server version 10.5 and above, all capabilities (TERR / Statistica / Python) are enabled by default.
In short, to resolve this error, make sure that the TERR service capability is enabled in the configuration.xml file for Spotfire Server if using Spotfire version 10.4 and below.
Comments
0 comments
Article is closed for comments.