If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > cli trace

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-30-05, 12:06
ricka49 ricka49 is offline
Registered User
 
Join Date: May 2002
Posts: 95
cli trace

I am trying to create a cli trace in db2 7.2 (client). i added the following to db2cli.ini. however when i run the the application (warehouse center) no trace is produced.


[Common]
Trace=1
TracePathName=d:\trace.txt
TraceFlush=1
TraceComm=1
TraceTimeStamp=1
JDBCTrace=1
JDBCFlush=1
JDBCTracePathName=d:\trace.txt
TRACEPIDTID = 1
TRACETIME = 1


d:\trace.txt has nothing in it. what am i doing wrong??
Reply With Quote
  #2 (permalink)  
Old 11-30-05, 12:23
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
I haven't used Warehouse Center, but is it written in java? Could be using the type-4 driver, in which case the CLI layer is bypassed on the client.
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #3 (permalink)  
Old 11-30-05, 12:29
ricka49 ricka49 is offline
Registered User
 
Join Date: May 2002
Posts: 95
there is no java involved.
Reply With Quote
  #4 (permalink)  
Old 11-30-05, 13:14
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
I think DWC is in Java ... But do you know if it is using Type1 or Type 2 connectivity and the connectivity is direct to DB2 ? All communication to the database may be happening through the DW manager process ..

Just a thought ... I ma y be wrong.


Jonathan, IBM did not provide JDBC Type 4 until V8

Cheers
Sathyaram
Reply With Quote
  #5 (permalink)  
Old 11-30-05, 13:19
ricka49 ricka49 is offline
Registered User
 
Join Date: May 2002
Posts: 95
how do i check to see if it is type 1 or 2??
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On