Solved

sqlnet trace in ProC app

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

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 …
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
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.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

708 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

13 Experts available now in Live!

Get 1:1 Help Now