Oracle Error ORA-00037: cannot switch to a session belonging to a different server group

Oracle Error Message

ORA-00037: cannot switch to a session belonging to a different server group

Reason for the Error

There was an attempt to change to a separate server group’s session.

This is not acceptable.

Solution

Make that the server selects a session from its server group before switching.