Solved

sqlnet trace in ProC app

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

Question has a verified solution.

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

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

813 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