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:

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 beginSample, endSample, getLocks, getMutexCounts, getObjectCaches, getQueuedLocks, getRequestStats, getRpcServerStatistics, wbemListClasses, wbemListInstanceNames, wbemQueryQualifiers, and wbemRetrieveData.

A replay node can be identified by testing whether the nodeRole method returns the Node class Role_Replay constant.

Action

Change your application code so that it does not attempt to perform the offending operation on the foreign environmental object.