Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

sqlnet trace in ProC app

Posted on 2004-04-20
3
Medium Priority
?
755 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
mudumbe earned 1000 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
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 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…
This video shows how to recover a database from a user managed backup

598 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