GPGomes GPGomes - 1 month ago 102
SQL Question

DatabaseConnections has no JNDI context so cannot list connections

Just opened the Oracle SQL Developer and i'm getting this error:


Failed to create naming Context for db connections at url: file:/C:/Users/.../AppData/Roaming/SQL Developer/system3.2.20.09.87/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml

SEVERE 95 69513 oracle.jdevimpl.db.adapter.DefaultContextWrapper Failed to create naming Context for db connections at url: file:/C:/Users/.../AppData/Roaming/SQL Developer/system3.2.20.09.87/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml

SEVERE 96 0 oracle.jdeveloper.db.DatabaseConnections DatabaseConnections has no JNDI context so cannot list connections.


and I've lost all my connections... the connections.xml seems empty

any idea on how to fix this?

thanks!

Answer

I ran into the same problem. Here is what worked for me.

connections.xml file just contained repetitive string NULL

I simply deleted this file and created a new connection which went through fine.

Comments