Database Administration (MOSC)

MOSC Banner

sqlplus failed logons are holding library cache lock

edited Sep 8, 2011 2:56AM in Database Administration (MOSC) 5 commentsAnswered
Previously it was thought to be JDBC but the issue is reproducible from sqlplus.  
Problem: sqlplus failed logons are holding library cache lock  

I can confirm that this is not related to JDBC clients. More likely it is related to Oracle 11g. At least I was not able to reproduce on Oracle 10g.

I have made a simple reproducable scenario with sqlplus in a Solaris enviroment. Here is what I did:

1. Make script 1 with a failing sqlplus login command (invalid password).
2. Make a script 2 that calls script 1 ten times in parallel (background).
3. This will produce 10 blocked sessions that as time goes will be terminated one by one.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center