Solved

sqlnet trace in ProC app

Posted on 2004-04-20
3
744 Views
Last Modified: 2013-12-12
Platform: Oracle 9204, ProC application, AIX433

I need a SQLNET trace from a Proc app. This is normally done by updating the sqlnet.ora file. We are having a application problem which might be a network problem and need to trace sqlnet. We have successfully traced sqlnet on the server and on the client using sqlplus. However, when we have the sqlnet.ora set for tracing and run our ProC application, no trace files are produced. So I was wondering if, for ProC apps, the sqlnet.ora is read at compile time vs, runtime. Or if there is some precompiler option to turn on tracing. I have searched documentation on this issue and cannot find anyting that says ProC apps are any different in this respect. I was wondering if anyone out there with real world experience has done this. Oracle says that for ProC apps, it is the same, it reads the sqlnet.ora at connect ime. But then why am I having this problem. I have one sqlnet.ora file on my server that is acknowledged when I connect through sqlplus, but no when I connect through a ProC app.

Thanks a lot for any suggestions and advice.

Sharon
0
Comment
Question by:szhang68
3 Comments
 
LVL 5

Accepted Solution

by:
mudumbe earned 250 total points
ID: 10880941
Did you change the correct sqlnet.ora and the following parameters:

TRACE_LEVEL_CLIENT = 16
TRACE_FILE_CLIENT = cli.trc
TRACE_DIRECTORY_CLIENT = <path>

I have successfully produced sqlnet trace files by setting these parameters.

Note that in some installations, sqlnet.ora is found in the environment variable TNS_ADMIN.  Find out the location of sqlnet.ora using this env. variable.

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question