Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
ORA-12516

ORA-12516

2006-04-06       - By Sandeep S

Reply:     1     2     3     4     5  

Hi,
 There could be couple of reasons for "TNS-12516" .

+ usually seen in case of RAC with multiple instances running and when one
of the
    instances crashes or becomes unavailable for some time .

+ Due to this the instance status does not get registered INSTANTLY with
the listener
    service being used for connectivity .
   because of this delay the TNS error is reported and once the
registration happens
                     the error goes off .
+ One can check whether the the status of the service when error comes up
using
     "lsnrctl service <SERVICENAME>"
                - error gets reported if the connections are in a blocked
status .
+ Possible ways of fixing is
       a) execute command
                   "alter system register;"  - Instance will force service
updates with the listener .
       b) bounce listener  .

Regards

Sandeep S


On 4/6/06, Seah Hong Yee <hongyee@(protected)> wrote:
>
> I have this  SLES9 running oracle 10g for about a year now for
> development/
> testing  purposes. It was running fine for a long time.
>
> However, recently our application went into production and 10 client JDBC
> connect to the server via jdbc. I start getting the follwing error on my
> listener log
>
> TNS-12516: TNS:listener could not find available handler with matching
> protocol stack
>
>
> The following message in on the client side..
>
> The Connection descriptor used by the client was:
> (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(PORT=1521)
> (HOST=miller.polyscientific.com.m
> y))(CONNECT_DATA=(SERVICE_NAME=compiere.polyscientific.com.my)))
> [95]
> ===========> DB_Oracle.getCachedConnection: java.sql.SQLException Source code of java.sql.SQLException:
> Listener
> refu
> sed the connection with the following error:
> ORA-12516 (See ORA-12516.ora-code.com), TNS:listener could not find available handler with matching
> protocol
> stack
> The Connection descriptor used by the client was:
> (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(PORT=1521)
> (HOST=miller.polyscientific.com.m
> y))(CONNECT_DATA=(SERVICE_NAME=compiere.polyscientific.com.my)))
> [95]
> ===========> CConnection.getConnection:
> jdbc:oracle:thin:@//miller.polyscientifi
> c.com.my:1521/compiere.polyscientific.com.my, (1)
> AutoCommit=false,TrxIso=READ_C
> OMMITTED - Listener refused the connection with the following error:
> ORA-12516 (See ORA-12516.ora-code.com), TNS:listener could not find available handler with matching
> protocol
> stack
> The Connection descriptor used by the client was:
> (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(PORT=1521)
> (HOST=miller.polyscientific.com.m
> y))(CONNECT_DATA=(SERVICE_NAME=compiere.polyscientific.com.my)))
> [95]
> ===========> CPreparedStatement.<init>: UPDATE M_Inventory SET
> DocStatus='IP',Up
> dated=TO_DATE('2006-04-06 10:46:07','YYYY-MM-DD
> HH24:MI:SS'),UpdatedBy=106514
> WH
> ERE M_Inventory_ID=1000318 [95]
> org.compiere.util.DBException: No Connection
>         at
> org.compiere.util.CPreparedStatement.<init>(CPreparedStatement.java:6
> 9)
>         at org.compiere.util.DB.executeUpdate(DB.java:674)
>         at org.compiere.util.DB.executeUpdate(DB.java:645)
>         at org.compiere.model.PO.saveUpdate(PO.java:1775)
>         at org.compiere.model.PO.save(PO.java:1512)
>
>
> What could be the source of the problem?
>
>
> --
> To unsubscribe, email: suse-oracle-unsubscribe@(protected)
> For additional commands, email: suse-oracle-help@(protected)
> Please see http://www.suse.com/oracle/ before posting
>
>