Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Tracing multi-tier apps
Michael,
One simple way to trace connection issues is to review the listener.log file. I normally have logging to this file turned off. But if you are having connection issues, then turning this on and then parsing the log file might be a first step to see if the connect request even gets to your server. This would help diagnose network issues.
Secondly, look at logging all connections to the database. I have a simple schema in all of our databases that gets populated by a database trigger. Every database connection is caught and a record is created in this table. Info I catch is server where the connection is coming from, program name, os user, oracle user and data/time of the connection.
These are simple first-step debugging tools to see if a connection is being made.
Hope these help.
Tom
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Michael Ray
Sent: Wednesday, July 05, 2006 11:08 AM
To: oracle-l_at_freelists.org
Subject: Tracing multi-tier apps
I'm having difficulty visualizing how tracing would work when dealing with compiled applications. Using some command-line interface I can figure out, but how would I enabled it outside an application?
We've been having some "connection issues" on the production floor and I
would like to track down the cause. There are 2 different cases:
Clients are 8i/9i and database is now 10g. Some perceive there may be an
increase in these issues since the 10g upgrade, but it cannot be quantified.
It seems a long time ago I did some SQL*Net tracing in 8i by setting a parameter or two in the sqlnet.ora (?) file. I'm not sure if that will give me all I need (I also recall it didn't trace reliably), but it won't help much with case #2 anyway, which is the more pressing one. Perhaps a network (packet) sniffer is the only way to solve it?
--
Sincerely,
Michael Ray
Topshot Systems LLC
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jul 05 2006 - 10:24:55 CDT
![]() |
![]() |