All Oracle Error CodesOracle DBA Forum

SQL-02140:

An unnamed connection already exists
Cause: An attempt to register an external procedure context was made when an unnamed connection already exists for the runtime context.
Action: Do not attempt to establish any connections with the EXEC SQL CONNECT statement from external procedures.