Solved

sqlnet trace in ProC app

Posted on 2004-04-20
3
740 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now