How do I get JDBC Logging with IBM Informix drivers?

I am trying to get JDBC logging working with IBM Informix drivers.
I am using the _g jar files; I have specified TRACE, TRACEFILE,
PROTOCOLTRACE, and PROTOCOLTRACEFILE as properties;
I have enabled JDBC logging and specified a JDBC log file in the
WLS console. Regardless of all these machinations, no logging is
produced.
What else need I do? Thanks for any advice!
: jay

So... a couple weeks later and I've managed to find
out a bit more. My simple program works and produces
output, so the debug drivers are doing their thing.
So, in my simple program, I was using the standard
informix driver. But, with WebLogic, my connection
pool is using the XA datasource which is configured
slightly differently than the driver; in particular,
the URL is left blank as described in
http://e-docs.bea.com/wls/docs70/jdbc/thirdparty.html.
I've actually created another connection pool which
uses the standard driver, and I do get loggging when
I use that pool, so the problem seems to be with the
XA Datasource.
I'm trying to revise my test program to use the
datasource, and we'll go from there. Any thoughts
you have would be appreciated, of course.
: jay
Joe Weinstein wrote:
>
>
Jay Schmidgall wrote:
"Joe Weinstein" <[email protected]> wrote in message
news:[email protected]..
Jay Schmidgall wrote:
I am using the _g jar files; I have specified TRACE, TRACEFILE,
PROTOCOLTRACE, and PROTOCOLTRACEFILE as properties;Odd. Would you please show me a small java program that
sets the properties for the connection so you get your
logging output, and then I'll know what I need for weblogic to do it:I am setting the properties in the weblogic console via the properties
field
on the general configuration tab for the connection pool. That's where I
set all the other properties, so that's where I thought I should set
these.
I've tried it with those properties set individually and as part of
the URL
property.Oh, yes that's where you should be doing it, but a standalone program
will prove exactly what properties are needed by the driver per se.
Ie: the first step is to prove the jdbc driver alone does what we
want, and then we can know how to get weblogic to get the driver to do
the same for it.
Joe
I'll try to cruft up a small program that does this manually, though.
: jay

Similar Messages

  • How can I get a log of conversation with Apple Support Chat ?

    How can I get a log of conversation with Apple Support Chat ? Case ID: 52****250
    <Edited By Host>

    The only way I know of is to copy the entire content of your chat window (while it is still active) and then paste it into a text document (or, if it is short enough to fit the window without scrolling, take a screenshot). Once you terminate the chat, the record is gone (as far as I know).

  • How to I get a link with a "Mail to" address to open up a Compose window in my Yahoo mail, rather than in the Mail progrom on my Mac. I do not use the Mac Mail program.

    How to I get a link with a "Mail to" address to open up a Compose window in my Yahoo mail, rather than in the Mail progrom on my Mac. I do not use the Mac Mail program.
    == This happened ==
    Not sure how often
    == always

    Thank you, "the-edmeister" -- You render a great service, one that lifts my spirits.
    Your answer also taught me to be a little more persistent, as I had started looking at Preferences, and just didn't notice the icons (including Applications) at the top of that window that would have led me to my answer.
    Dave

  • I purchased an ablum thru itunes on my phone and it says i purchased the songs on itunes but when i go on my music it says i have to repurchase all the songs how can i get the songs with out havin to pay again

    I purchased an ablum thru itunes on my phone and it says i purchased the songs on itunes but when i go on my music it says i have to repurchase all the songs how can i get the songs with out havin to pay again

    Whether you can redownload music depends upon what country that you in. If you are using your computer's iTunes then does music show in the Purchased link under Quicklinks on the right-hand side of the iTunes store home page (on your phone you might be able to redownload media via the Purchased tab in the iTunes store app) ? If music shows there, but not that album, then check to see if it's hidden : http://support.apple.com/kb/HT4919
    If you aren't in a country when you can redownload music and it's still on your phone then you should be able to copy it over from the phone via File > Devices > Transfer Purchases.

  • How do you get a line with MULTIPLE fields to WRAP ?

    How do you get a line with MULTIPLE fields to WRAP ?
    Good afternoon everyone...
    THE PROBLEM: Why doesn’t a line with multiple fields WRAP?
    HYPOTHETICAL EXAMPLE/WHAT I”D LIKE TO SEE
    If I have 2 fields on a line (this is now a hypothetical example and nothing to do with my actual report)….let’s call them field A and field B. And if field A has values of all ‘X’ and field B has values of all ‘Y’…then….the normal case would be (ignore dots – only for spacing):
    A……………………… B
    XXXXXXXXXXXXXXXXXX YYYYYYYYYYYYYYYYY
    But what if A is too long? I would want to see B wrap onto the next line like this:
    A……………………………………………………B
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX YYYYYY
    YYYYYYYYYYYYY
    And similarly….if B is extra long, can the line print as:
    A………………………. B
    XXXXXXXXXXXXXXXXXXX YYYYYYYYYYYYYYYYYYYYYYYYYYY
    YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
    I don’t want the case where B is long and I get:
    A………………… …B…
    XXXXXXXXXXXXXXXXX YYYYYYYYYYYYYYYYYYYYYY
    ………………………..YYYYYYYYYYYYYYYYYYYYY
    I can see how you can wrap an individual field like that…but how can you WRAP a line of[b] fields within the frame so it wraps to the BEGINNING of the frame on next line?
    My SPECIFIC CASE
    I have a report that I have stripped down to a simple structure for the purposes of this explanation.
    My DATA MODEL has the main QUERY (for plant family and species data). The columns of the query are divided into 2 groups. The 1st GROUP contains the family data. Below that is the rest of the species data in a 2nd GROUP.
    Linking from the 2nd species group (above) is a new QUERY to extract REGION data based on the common key field. Under this 2nd query is another group with all the REGION columns.
    The LAYOUT MODEL has a group frame (the main , base one)
    On top of this is a repeating frame based on the 1st group (family data).
    On top of this is another repeating frame for the 2nd group (species data).
    On top of this is 2 Frames on the same line line. The 1st frame contains columns from the species group .
    The 2nd frame on this line is a repeating frame. The PRINT DIRECTION for this frame is ACROSS/DOWN. It repeats details of the REGION where the species is found. These columns come from this group come from the REGION QUERY and GROUP.
    All fields on the report line have variable horizontal elasticity.
    The problem is that when there is too much data on the line, it does NOT WRAP to the 2nd line.. It TRUNCATES.
    Can the line be made to WRAP????..
    In my current report, 1 of 2 things is happening:
    1) All fields print on the line until it hits the page boundary and then it just stops. Truncated!
    2) All fields print on the current line, then Oracle Reports throws a new page to print the REMAINDER of the long, input line
    But I would like a LONG line to continue printing onto the following line of the same page.
    I have tried all combinations of the elasticity fields and the ‘ADVANCED LAYOUT’ properties.
    I have been focussing my attention with this problem on the frames .
    We are using REPORT BUILDER V 6.0.8.26.0
    Thankyou to anyone who may offer assistance.
    Tony Calabrese.

    Steve,
    you gain 1 thing, but you lose something else!
    This thing is SO frustrating!
    Hey Steve! Good afternoon.
    I've done as you suggested....I have a long text boilerplate item - the only 1 on the line...and it has all the column in it.
    So it looks like:
    &col1 &col2 &col3 &col4 &col5 etc etc etc
    And the line expands nicely to each field's requirements.
    And when it gets to the right page boundary...it WRAPS to the next line! Beautiful!!!
    The only thing is that...when I had individual fields across the line I was able to create format triggers for those fields. And in doing so I was able to reduce the font and change the justification. I had to do that because some of the fields had to appear superscripted.
    So I wanted something like (ignore the dots):
    ...................................ppppp
    AAAA BBBB CCCCC DDDD EEEE FFFFFF
    So the field of 'ppppp' appeared slightly higher on the line than the other fields...
    I can't see how I can do this with a single TEXT field containing all the &COL values.
    Have you ever come across anything like this?
    Thankyou again,
    Tony Calabrese 12/4/2007

  • How can I get the variable with the value from Thread Run method?

    We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
    How can I get the variable with the value?
    This is sample code:
    public class SampleSynchronisation
         public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run method "+sathr.x);
    // I should get Inside the run method::: But I get only Inside
    class sampleThread extends Thread
         public String x="Inside";
         public void run()
              x+="the run method";
    NB: if i write the variable in to a file I am able to read it from external method. This I dont want to do

    We want to access a variable from the run method of a
    Thread externally in a class or in a method. I presume you mean a member variable of the thread class and not a local variable inside the run() method.
    Even
    though I make the variable as public /public static, I
    could get the value till the end of the run method
    only. After that scope of the variable gets lost
    resulting to null value in the called method/class..
    I find it easier to implement the Runnable interface rather than extending a thread. This allows your class to extend another class (ie if you extend thread you can't extend something else, but if you implement Runnable you have the ability to inherit from something). Here's how I would write it:
    public class SampleSynchronisation
      public static void main(String[] args)
        SampleSynchronisation app = new SampleSynchronisation();
      public SampleSynchronisation()
        MyRunnable runner = new MyRunnable();
        new Thread(runner).start();
        // yield this thread so other thread gets a chance to start
        Thread.yield();
        System.out.println("runner's X = " + runner.getX());
      class MyRunnable implements Runnable
        String X = null;
        // this method called from the controlling thread
        public synchronized String getX()
          return X;
        public void run()
          System.out.println("Inside MyRunnable");
          X = "MyRunnable's data";
      } // end class MyRunnable
    } // end class SampleSynchronisation>
    public class SampleSynchronisation
    public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run
    method "+sathr.x);
    // I should get Inside the run method::: But I get
    only Inside
    class sampleThread extends Thread
    public String x="Inside";
    public void run()
    x+="the run method";
    NB: if i write the variable in to a file I am able to
    read it from external method. This I dont want to do

  • How can I get the variable with the value from Thread's run method

    We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
    How can I get the variable with the value?
    This is sample code:
    public class SampleSynchronisation
         public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run method "+sathr.x);
    /* I should get:
    Inside the run method
    But I get only:
    Inside*/
    class sampleThread extends Thread
         public String x="Inside";
         public void run()
              x+="the run method";
    NB: if i write the variable in to a file I am able to read it from external method. This I dont want to do

    Your main thread continues to run after the sathr thread is completed, consequently the output is done before the sathr thread has modified the string. You need to make the main thread pause, this will allow sathr time to run to the point where it will modify the string and then you can print it out. Another way would be to lock the object using a synchronized block to stop the main thread accessing the string until the sathr has finished with it.

  • How can I get an album with multiple artists to display in my Nano as one album insteadof multiple albums?

    How can I get an album with multiple artists to display in my Nano as one album insteadof multiple albums?

    See this page for helpful information.
    http://samsoft.org.uk/iTunes/grouping.asp
    B-rock

  • How do i get in touch with blackberry?

    I bought the blackerry curve 9360 (brand new) from virgin media £13 a month (for 2 years),  less than a year ago (about 8 months ago) and multiple times the buttons stop working (but just for the day) it will let me scroll on some things and not others the phone restarts it self and freezes on a daily basis. the battery life was awful it lasted me only a few hours when i would charge it over night everynight. today i woke up and it wouldnt switch on so i took the battery out and put it back in then it wouldnt even let me unlock the phone all the keys wernt working! i have taken the battery out 5 time now and i still havent even unlocked it.  i have never dropped or damaged this phone it still looks new on the ouside! i have tried calling the company about 3 months after i purchased it for theses reasons and they told me to update the phone and if i still have troubles to contact blackberry. with the new updated software the battery life is alot better but everything else is still terrible.
    is it really fair to give someone a phone theyve got too spend 2 years paying for that doesnt even last them a year?  how do i get in touch with blackberry?

    its to my understanding that us users cant directly contact blackberry and all issues with the device should be taken up through the place that we got them from i.e in this instance virgin media should arrange for the phone to be fixed im pretty sure this is the case and they have to deal with it for you. Virgin are useless alot of the time so id suggest asking to go through to retentions office when you ring as they are the people who can really sort any problems out instead of the customer service team

  • How do I get to Chat with someone from Adobe?

    How do I get to Chat with a real, live person so that I can ask my question about where to buy Captivate!

    Hi Ann,
    Please refer to the following link
    http://helpx.adobe.com/contact.html
    then please select the product and the topic from the list, click on 'I still need help' and it will populate chat now button.
    Regards,
    Akshay

  • HT2513 how do you get the sidebar with three months of just calendar to turn on-is this feature gone?

    how do you get the sidebar with 3 months of calendars on the left?  Is this feature gone?

    Im sorry but I figured it out now. I hate when you figure something out right after you do something extreme like signup for a profile here and post a question. Well to those who want the answer all in one shot there are 2 solutions for me.
    1. Make sure Safari is updated completely. You can check by clicking SAFARI> ABOUT SAFARI
    Safari 5.0.5 gave me this problem but the new update is 5.1.2
    2.Glims - Free ad on for Safari which enables you to view you window in COMPLETE full screen at all times, as well as maximise your window to fill all empty space (makes so you dont have to worry about accidentally clicking on your desktop which I do all the time lol). You can use this option once Glims is installed simply by clicking on
    SAFARI> Full Screen
    or
    SAFARI> Maximise Window Size
    By doing Full Screen mode you can then click on the full screen capability on the website you are on

  • Language change to UK English, how do I get a "period" with talk to text?

    language change to UK English, how do I get a "period" with talk to text?

    How about "full stop"?

  • Sign on problems within Elements 10; plus cannot backup writing files error with file catalog.pse10db.  No indication what the problem is.  How do I get adobe help with these problems?

    Sign on problems within Elements 10; plus cannot backup, writing files error with file catalog.pse10db.  No indication what the problem is.  How do I get adobe help with these problems?

    Sign on problems within Elements 10; plus cannot backup, writing files error with file catalog.pse10db.  No indication what the problem is.  How do I get adobe help with these problems?

  • How can I get motherboard ID with flex?

    How can I get motherboard ID with flex? I tried many. But I cannot find some way..

    select distinct group_id
      from tab_tmp t
    where t.group_id not in (select distinct t2.group_id
                                from tab_tmp t2
                               where t2.colour = 'BLACK');
            GROUP_ID
    1     2220052-----
    Edited by: stefan nebesnak on Feb 24, 2013 9:02 AM
    In the TEST table there are the 'BLUE' and 'GREEN' values together in all cases, which confused me. ツ
    <tt>
    GROUP_ID     COLOUR     KEY
    <font color="#FF0000">--1--</font>
    8311226          <font style="background-color: #E7FA6B">GREEN</font>     12428183
    8311226          <font style="background-color: #D7CEFF">BLUE</font>     12428183
    8311226          <font style="background-color: #E7FA6B">GREEN</font>     35428017
    8311226          BLACK     5415875
    <font color="#FF0000">--2--</font>
    2220052          <font style="background-color: #E7FA6B">GREEN</font>     12253085
    2220052          WHITE     12253085
    2220052          <font style="background-color: #D7CEFF">BLUE</font>     84553085
    <font color="#FF0000">--3--</font>
    3029178          BLACK     54587856
    3029178          <font style="background-color: #D7CEFF">BLUE</font>     54587856
    3029178          <font style="background-color: #E7FA6B">GREEN</font>     67080752
    </tt>

  • How do I get in touch with a live person?

    How do I get in touch with a live person?

    Most of us here are 'alive'... This is a user to user forum. If you want to talk to customer service, start here: Contact Customer Care
    If you have a question, you might post it here and see if we can help you.

Maybe you are looking for

  • How do I add an extension to a phone number in Contacts 7.1?

    Now that the perfectly servicable Address Book has been replaced by overly complicated Contacts 7.1 in OS 10.8.3, I cannot add an extention to a telephone number. A phone number with an extention ends up looking like "4155551234ext3710484". Creating

  • ISSUE in new BELLE FP1

    Bugs that i noticed after updating my Nokia 701 are as follows 1. photos shot with my camera now are very very poor, sometimes camera was seen black screen and no icons available,after restarting it will works normall. 2. Wifi connectivity issues and

  • Kanban for in house mfg items

    We have a BOM with item “A” as FG, “B” as SFG & “C” as raw material. A & B are produced using Repetitive mfg with REM profile –GR/GI together. “B” is to be handled using kanban, for which Supply area, Control cycle are created as well as Replenishmen

  • Long deleted ODS shows after upd to 3.5 (IPacks and Pr.Chains)

    Hello, we used to have an ODS object (lets say "XXX") in our system, but it was deleted more than 3 years ago. Now we've updated to 3.5 and when working in certain Process chains or in certain infopackages, the following message appears: "Data target

  • Date always display not accurate

    Hi I don't know why my display date always 1 day before the actual date. Let say the date value in database is 15-08-2006 in database, while I get the date and display it into my page, it always show me 14-08-2006. Is it this problem is related with