Logging Oracle Thin Client Trace Data

When you are using Java thin ojdbc drivers, you cannot configure trace by the setting in sqlnet.ora. You will need to use the logging features of the ojdbc drivers. To accomplish this, you need to place a different ojdbc drivers jar, ojbdc6_g.jar, on your CLASSPATH (in front of or as a replacement for ojdbc6.jar). This alternate, logging jar file is available in the Oracle Client directory %ORACLE_HOME%\jdbc\lib, or on the Oracle downloads web site:

http://www.oracle.com/technetwork/indexes/downloads/index.html.

Change directories to wallet. To run the TestWallet class using this driver file (and the wallet), you can run a single Java command line. Trace logging and client wallet are unrelated; we are just ...

Get Expert Oracle and Java Security: Programming Secure Oracle Database Applications with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.