1265 Environmental object operation is out of scope for process
Cause
This error occurs if a process attempts an operation on an environmental object that is out of scope (for example, a foreign node). Typically, the operation would be accessing an attribute or executing a method. Only a limited number of operations are available on foreign environmental objects. Environmental objects (JADE system variables) are:
-
self
-
app
-
global
-
system
-
node
-
process
-
currentSchema
-
rootSchema
-
method
-
exception
-
currentSession
-
appContext
This error occurs in a secondary database server when the node representing the primary server, the replay node, is used as the method receiver for methods that start node sampling or request statistics. Methods that should not be called for a replay node include
A replay node can be identified by testing whether the
Action
Change your application code so that it does not attempt to perform the offending operation on the foreign environmental object.