Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: JDBC client causes TNS-12502 on server's listener
Ok,
here's my logic ;-) TNS-12502. Error message specifically for the TNSNAMES.ORA file. You say you are using the thin driver. It does not reference the tnsnames.ora file when making a connection. (yes, you already know that ;-) ) This eliminates your 2 apps as the problem.
You say you see the log entries for the successful(?) attempts by your 2 apps that are checking connection states. And then you are seeing the TNS error messages between times. What else is attempting to make a connection to the database? Or asked differently, what else is trying to make a connection that would be referencing the tnsnames.ora file? (something besides your 2 apps, and probably an ODBC client).
If it is easier, do as the docs say and ensure that the tnsnames.ora file is correct for whatever client is attempting to make the connection.
hth and good hunting!
Cindy
Enkidu Utnapishtim wrote:
> Cindy, > Thanks for the quick reply Cindy. I checked with the developers and they > assure me that they're using Oracle's thin driver. > > We have just two main Java aps: our WebLogic app that checks connections > every 5 mintues (in case database loses a connection) and a "check" app > that attempts to connect every 10 minutes (verifies URL is accessible). > I can see entries for both of these in the log. But between are all the > TNS-12502 errors. > Roger > C. Ferguson wrote: >