Cause: The listener was not configured with a default service and SERVICE_NAME was missing from the CONNECT_DATA received by the listener. See the solution below.
Error solution: Possible solutions are:
- Configure DEFAULT_SERVICE parameter in LISTENER.ORA with a valid service name. Reload the listener parameter file using reload [ORA listener_name>]. This should be done by the LISTENER administrator.
- If using a service name, Check that the connect descriptor corresponding to the service name in TNSNAMES.ORA has a SERVICE_NAME or SID component in the CONNECT_DATA.
Database version: Oracle 11g Release 2 (11.2)