How to use DB2 XA driver instead of default DB2 driver

Hi,
I've been using the default DB2 driver (com.ibm.db2.jcc.DB2Driver) for a datasource until now. I need to switch to using an XA approved driver to handle some two phase commits. It appears Oracle has an XA driver for DB2 (weblogic.jdbcx.db2.DB2DataSource) but whenever I use it I get the following error:
[BEA][DB2 JDBC Driver][DB2]PROGRAM NAME NULLID.DDJU360B 0X4A44424334444232 NOT FOUND IN PLAN null
What does this error mean? How can I switch to an XA DB2 driver?
Thanks...

DB2 running on AIX:
select * from sysibm.sysversions;
7010200     2001-04-11 17:01:21.478428     WBDID04
8020000     2005-02-01 19:55:13.083939     SYSIBM
8020800     2007-09-08 08:16:45.496058     WBDID04
WebLogic Server 10.3 running on Windows XP.
Using the XA driver works fine for WebLogic Server 8.1 and the existing DB2 database. So, I'm wondering what went wrong when I upgraded to 10.3.
The error happens on server startup when it's trying to test the connection:
<25-May-2010 3:28:44 o'clock PM GMT-06:00> <Error> <JDBC> <BEA-001112> <Test "SELECT COUNT(*) FROM SYSIBM.SYSDUMMY1" set up for pool "csp" failed with exception: "java.sql.SQLException: [BEA][DB2 JDBC Driver][DB2]PROGRAM NAME NULLID.DDJC360B 0X4A44424334444232 NOT FOUND IN PLAN null".>
Any ideas?

Similar Messages

  • How to use a jdbc driver in caf

    Hi, all.
         I tried to make a ws to access DB with CAF, but I had no idea how to use a jdbc driver(.jar).
        Can anyone do me a favor? Thx 
        PS: my server is ce7.1
    Edited by: Louis HUANG on Jul 27, 2009 1:09 PM

    hi
    If you want to interact with db tables in caf,try like this.
    it may work..
    Using EJB call database tables using jdbc driver.
    Expose EJB as webservice.
    and using External service option of caf utilise this webservice in caf,do the necessary mappings..
    you can search in sdn,how to call DB tables in EJB..
    Regards
    sowmya.

  • How to use external hard drive and iTunes together?

    how to use external hard drive and iTunes together?

    Yes I did get to that part.... I went trough external to retrive itunes folder... When I selected the folder, it said that it was locked, choose another folder... I then went to my external again to my itunes folder and and used command I to see if folder was locked and it wasn't.... it was suggested on another forum to reboot.. which I did and still same problem... All I want to do is link my external hard drive that has my itunes playlist from another Mac to my new one.. and to also use the external as the main source for adding new songs to my playlist...

  • How to use JOptionPane in jsp, instead of javascript message alert box?

    HI,
    How to use JOptionPane in jsp,
    instead of javascript "message alert box"?
    I hate javascript,
    I'd like to only use java in jsp. don't use javascript.
    javascript is client side,
    jsp is server side. i know that.
    how to... instead of javascript box?
    how to use ... message box in webpage?
    don't use applet,,,, don't use javascript,,,
    hm...zzzZzz
    I hate javascript..T.T
    <SCRIPT language=JavaScript>
    alert("hate javascript");
    </SCRIPT>
    ===>>>>
    In this way,,
    JOptionPane.showOptionDialog(null,"I love java")
    I'd like to only use jsp and java and html...in webpage.
    don't use javascript....
    Why? don't sun provide message box in jsp, instead of javascrip box?
    Why?
    Edited by: seong-ki on Nov 4, 2007 8:38 PM

    Drugs are bad, m'kay?

  • How to use multiple tape drive for single filesystem on single client.

    Hello All.
    I want to backup single filesystem with multiple tape drive.
    Incase of Symantec veritas netbackup "NEW_STREAM" for multi-stream backup.
    Backup client has a  single backup filesystem like /data1  directory with 4 LTO6 drives.
    /data1 directory doesn't have a sub-direcotry, just present a files.
    If /data1 directory has a sub-directory like /data1/aaa, /data1/bbb, /data1/ccc , Is it possible to use multiple drives?
    Please anybody answer the questions.
    Thanks advanced.

    See how to use multiple tape drive from single client when I want to backup single filesystem?

  • How to use the dvd drive...?

    Hi Guys,
    Just bought my new 15" 2.53 Mhz Duo Core MacBook Pro a month ago but until now I haven't figured out how to use the DVD drive. Well I can't seem to find where it is actually... Does all MacBook Pro has dvd drive? Coz when I check back apple's website and look for the same macbook pro specification like my one, it has a dvd drive included so I thought my macbook has it for sure but can't or don't know how to use it... This is my first time to have an apple that's why...
    Hoping for your help..
    Thanks,
    Danny

    Hi there Danny.
    I believe you are looking for the location of the DVD drive... right?
    If you are looking at your computer while it is open, it should be on the right hand side... "under" the keyboard. There is a slit that allows the DVD to be inserted into the computer. I think if you start to insert a DVD in there (shiney side down) part way, it will suck it into the computer.
    (note: I'm not exactly sure, because I use a 7 year old iBook that has a pop-out DVD tray... but I think it will suck it in for you)

  • How to use an external drive with 2 Macs?

    Using an external drive for LR 5.4 files and can download and view without any issues on my MacBook.  However, when the same drive is attached to my iMac I cannot download or view any files on the external drive that were added after March of this year.  Any ideas on how to go about resolving this issue?

    The following screenshot might be helpful. It shows where in Lr preferences you can configure which catalog Lr uses as the default. If you need to direct it to an external drive then use the 'Other' option to point to this drive then next time Lr launches set it back 'Load most recent catalog'

  • How to use usb flash drive

    So i tried to use a usb flash drive to save a word document on my macbook, but i couldnt find the flash drive, or even where to find the usb port. can somebody tell me how to use a usb flash drive on macbooks?

    The USB ports are on the left side.
    Just plug in the drive, and it should show up on your desktop (or in the Finder - click the happy face icon in your dock). Drag and drop the files into the drive. Or, select the drive as the save location when you pick Save or Save As in Word.
    When you're done, drag the drive's icon to the trash (it will change to an eject symbol), or click the little eject symbol next to it's icon in the Finder. You can then safely unplug the drive.

  • How to use db2 function in the HQL

    hello
    i am newbie to hibernate, now i am choosing a solution for my project, in this project, it use db2 function in the sql clause as follow:
    insert into idstool.access(userid,node,password) values('userid','nodename',encrypt('password','nodename'));
    i wonder if i can implement such function by using hibernate, that is if hibrenate can use the db2 function, or user-defined sql functions? if yes, how?
    thanks for any helps

    I think you'll find that you can do this through HQL. You also have the option of invoking a stored procedure or invoking native SQL in tandem with the normal Hibernate options.

  • How to use multiple tape drive from single client when I want to backup single filesystem?

    Hello All.
    I want to backup 1 filesystem using 4 tape drives for reducing backup time.
    In case of symantec veritas netbackup, they can user "NEW_STREAM" for multi-streaming backup.
    Please anybody let me know that how to do use multiple tape drive for single client.
    1. Backup Source server : Linux (1 client)
    2. Backup Soucre :      /data1  (500GB)
        -> Current directory structure doesn't have sub directory under /data1, just files present under /data1
    If direcotry struceture has a sub-direcotry like( /data1/aaa, /data1/bbb ), Is it availble to use multiple tape drives?
    3. Tape Drive with OSB : LTO6 * 4 drives
    Thank you.

    You would have to create a different dataset for each sub-folder. If you only have files at the top level folder then even the NEW_STREAM option couldn't be used to split the job.
    Organise it into folders and then create datasets in a client folder such as :
    /usr/local/oracle/backup/admin/config/dataset/Linux/data1_aaa
    /usr/local/oracle/backup/admin/config/dataset/Linux/data1_bbb
    Then in the schedule you just specify the Linux folder. In each dataset you list the hostname and the folder name, such as :
    include host Linux
    include path /data1/aaa
    Now it will create a new job for each dataset and therefore each folder.
    Thanks
    Rich

  • Need help in deciding how to use new hard drives & SSD

    I've read through the suggested drive arrangements for 4 drives, but mine is a bunch of different drives and I would like some help.  I have some drives coming and would like to set them up to be most efficient for PPro CS5 and Encore CS5.  Here is what I have (or will have in the next few days):
    Drive 1:  New SSD for OS (win7 - 64) and programs - it is a Crucial C300-256GB and will be here in a few days.
    Drive 2: A new WD Black 1TB - It will be here tomorrow.
    Drive 3: Samsung 1TB drive
    Drive 4: Hitachi 750 GB drive
    I have run some benchmarks on drive 3 & 4 and they are about the same - not terribly fast.  I assume that Drive 2 will be the fastest of the hard drives, and of course the SSD will be the fastest of them all.  Any suggestions?

    RobertBoy,
    You have a really strong system!
    Assuming you are running CS5, your system would benefit most from some level of RAID and to be fully balanced. I would suggest one of the following to match up with the rest of your setup:
    1) hardware RAID w/ redundancy (i.e. RAID 5, etc.) with 5 1TB drives (between $1000 - $1500)
    2) 3 or 4 drive RAID 0, by adding matching drives to any of the 3 drives that you have already (only pick one, retire the other two) (between $125 - $250)
    Either of these options would require buying new drives (matched drives are strongly recommended for RAID arrays), and should be configured as per Harm's Generic Guideline for Disk Setup for Number of Disks = 5 (yes, even if you only go with a 3x RAID 0).
    3) If you are really trying to save $$$, just follow Harm's guideline for Number of Disks = 4 and use your current drives, however I'm sensing with your choice of boot drive (pretty sweet C300!) you probably would not mind adding some additional matched drives and then using the leftover 2 unmatched drives for backups or other use.
    The following thread includes some before / after mention of how CS5 performance was impacted by changes to drives in terms of PPBM5 benchmark testing:
    How changes to CPU speed, RAM size, and drives (SSD and hard drives) impacted my PPBM5 score
    If you have the time, you could test option 3 above using PPBM5 and see where your system falls. If you do, I would be interested in your finding - please post the results back to this thread as well.
    Regards,
    Jim

  • How to use external hard drive as itunes library

    Just bought a new external hard drive (passport) for mac and would like to know how to use it as my itunes library? thanks

    Drag it there from the Music item of the Finder's sidebar, launch iTunes with the Option key held down, click on Choose Library, and navigate to that instance of the library.
    (81903)

  • How to use URL in actionscript  Instead of services-config.xml?

    Hi Alls,
    I would like to set my service's url in actionScript (I don't
    want to use compiler option -services witch need to recompile swf
    if you change service's url).
    I search for a long time on google but I found nothing, and
    adobe documentation isn't very clear.
    Thank for help!!!

    If you are relying on a services-config.xml file, then this
    must be provided
    at compile time because the compiler uses it to generate
    code.
    If you're not using <mx:DataService>, you can actually
    avoid compiling against
    a services-config.xml file. This is because for the other
    services, such
    as <mx:RemoteObject> or <mx:WebService
    useProxy="true"> or <mx:HTTPService
    useProxy="true">, the main thing the compiler does from
    services-config.xml
    is to generate the code to instantiate the set of channels
    that should be
    used to contact a destination in LCDS.
    Well... you can do that programmatically in ActionScript...
    something like
    this:
    import mx.messaging.ChannelSet;
    import mx.messaging.channels.AMFChannel;
    private function channelInit():void
    var channelSet:ChannelSet = new ChannelSet();
    var channel:AMFChannel = new AMFChannel(null, "
    http://{server.name}:{server.port}/mycontext/messagebroker/amf");
    channelSet.addChannel(channel);
    myRemoteObject.channelSet = channelSet;
    Just make sure you call this initialization code before you
    make any service
    requests. If you're proxied WebServices, be sure that you use
    the ActionScript
    API instead of the MXML tag so that you can delay when
    loadWSDL() is called
    because you'll want to setup the channelSet first.
    Regards,
    Pete
    Hello FredFlex,
    > Hi Alls,
    >
    > I would like to set my service's url in actionScript (I
    don't want to
    > use compiler option -services witch need to recompile
    swf if you
    > change service's url).
    >
    > I search for a long time on google but I found nothing,
    and adobe
    > documentation isn't very clear.
    >
    > Thank for help!!!
    >

  • How to use Oracle jdbc driver fixedString property?

    Oracle pads values in char columns so if I insert "a" in a CHAR(2) column then I cannot get that record by comparing that column to "a", I should get it by comparing it to "a ". Right?
    To solve this problem the Oracle jdbc driver has the property fixedString but I cannot make it work. (look for fixedString here )
    I'm using ojdbc14.jar driver for Oracle 10gR2 and accessing an Oracle 10gR2 database.
    This is my code:
    try {
    Properties props = new Properties();
    props.put("user", "****");
    props.put("password", "****");
    props.put("fixedString", true);
    Class.forName("oracle.jdbc.driver.OracleDriver");
    String jdbcUrl = "jdbc:oracle:thin:@<host>:<port>:<sid>";
    Connection connection = DriverManager.getConnection(jdbcUrl, props);
    PreparedStatement ps = connection.prepareStatement(
    "SELECT * FROM MY_TABLE WHERE MY_TABLE_ID = ?");
    ps.setObject(1, "abc"); // (*)
    // MY_TABLE_ID is CHAR(15)
    ResultSet rs = ps.executeQuery();
    while (rs.next())
    System.out.print("data: ");
    System.out.println(rs.getString("MY_TABLE_ID"));
    rs.close();
    ps.close();
    connection.close();
    } catch (SQLException ex) {
    ex.printStackTrace();
    } catch (ClassNotFoundException ex) {
    ex.printStackTrace();
    The above code executes fine (no exceptions thrown) but the ResultSet is empty after executeQuery().
    If I change the line (*) for
    ps.setObject(1, "abc ");
    Then I get the column I wanted. So it seems the driver is ignoring the fixedString option.
    I've also tried changing the line (*) for
    ps.setObject(1, "abc", java.sql.Types.CHAR);
    But the ResultSet I get is empty again. What am I missing?
    Thanks in advance

    Es un Bug se corrige en la versión del OAS 10.1.2.3
    Bug 10222534: UNABLE TO SET FIXEDSTRING PROPERTY IN DATASOURCE

  • I have no idea how to use the new "messages" instead of ichat

    i have recently got my first macbook. it isnt the first time i used one.  my friend has the macbook pro as well.  she has the "ichat" app for connecting with her friends.  but i have the "messages" app and i have no idea how to use it.. i cant find the buddy list to add friends... i dont know how to sign in to my account.. and when i try to send a message to someones id it says they arnt registered with ichat.. i have no idea what to do or where to begin!

    Hi Alexaaa,
    Open the Messages app and under the Messages menu go to Preferences>Accounts and set up your account using your AppleID and password.
    Once you have your account set up, then open the messages window. Next to the Search window you will see a little square with a pencil in it, click on that to start a new message. The cursor will be in the "To" line, and at the end of that line you will see a ". Click on that, and your contacts list will come up. Find the contact you want to send a message to, and select either their email or their phone number to send a message. Type in your message in the little message window at the bottom and press Enter to send.
    Hope this helps! Let us know if you have any other questions!
    Cheers,
    GB

Maybe you are looking for