Product: TIBCO Spotfire®
Data function fails with TerrServiceClient (TERRSRV) error "TIBCO Enterprise Runtime for R returned an error: 'Error: restricted call to Native[dir.exists]"
Data function fails with TerrServiceClient (TERRSRV) error "TIBCO Enterprise Runtime for R returned an error: 'Error: restricted call to Native[dir.exists]"
________________________________________________________________
(!) Could not execute function call.
TIBCO Enterprise Runtime for R returned an error: 'Error: restricted call to Native[dir.exists]'.
----------------------------------------------------------------
TIBCO Enterprise Runtime for R returned an error: 'Error: restricted call to Native[dir.exists]'.
at Spotfire.Dxp.Data.DataFunctions.Executors.TerrServiceClient.RunFunction(DataFunctionInvocation invocation)
at Spotfire.Dxp.Data.DataFunctions.Executors.SplusFunctionExecutor.<ExecuteFunction>d__12.MoveNext()
at Spotfire.Dxp.Data.DataFunctions.DataFunctionExecutorService.<ExecuteFunction>d__3.MoveNext()
________________________________________________________________
The string "TerrServiceClient" in the stack trace indicates that this data function's TERR script was sent to Spotfire Server's new TERR Service (TERRSRV) node for processing.
When the error message's stack trace includes the "TerrServiceClient" string, the TERR script that failed did _not_ get sent to TIBCO Spotfire Statistics Services, and it did _not_ get sent to the Spotfire desktop client's built-in local TERR engine.
To adjust a configuration setting for TERRSRV (such as the setting that enables or disables TERR restricted mode), you edit the value of the setting in its "custom.properties" configuration file, save the file, and restart the TERR Service node to make it read the edited file.
The following steps will do this for the task of disabling TERR restricted mode in the TERR Service:
- Remote into the server that hosts Spotfire Server's TERR service (TERRSRV) node
- Find the TERR service's "custom.properties" configuration file in its "conf" directory
- Make a backup copy of the "custom.properties" file
- Open the "custom.properties" file in a Notepad text editor
- Find the following line:
terr.restricted.execution.mode=true
- Edit that line to read as follows:
terr.restricted.execution.mode=false
- Save the file
- Close the file
- Restart the TERR service (TERRSRV) to make it read the modified configuration file.
Comments
0 comments
Article is closed for comments.