My Oracle Support Banner

REP-12518: java.sql.SQLException And ORA-12518 When a Remote DB Instance is Shutdown (Doc ID 1330003.1)

Last updated on APRIL 02, 2021

Applies to:

Oracle Reports Developer - Version to [Release Oracle10g to 11g]
Information in this document applies to any platform.


When attempting to run a report and a DB instance in a non-related machine is shutdown, the reports server fails with an unexpected error:

Per showjobs URL:


Terminated with error:
REP-12518: java.sql.SQLException: ORA-12518: TNS:listener could not hand off client connection

The issue can be reproduced at will with the following steps:

1. Stop the remote database that is believed to have nothing to do with this Forms/Reports installation and application.

2. Run the report and it displays REP-12518 and ORA-12518.


A database installed in a completely different environment was shutdown.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.