How 2 avoid a Non-XA resource from listing in Global Transaction?

<pre>
Hey,
I am using container managed transaction in a stateless session bean. We are using two datasources, one xa and non-xa. I am using these two datasources in a single transaction and i am getting an exception that both can't participate in the same transaction.
Is there a way that I don't want to enlist my non-xa resource with transaction manager?
I have come across the following approach.
I have seen Simulate Two Phase for Non XA, but you are saying to be careful with this option as for Example, Non-XA and XA says OK during prepare phase(phase I) and then XA resources decides to roll back in phase II, Non-XA can't revert as it is already commited,
But I have also come across LAST PARTICIPANT NON-XA along with mutliple XAs option in websphere, like this if I update my Non-XAs in the end, will WEBLOGIC takes care of all XAs and Non-XAs as single atomic operation or it does partially ???
Appreciate your help.
Thanks,
Rao Kotha.
</pre>

You can make the non-XA driver based data-source 'not to honor the global
transaction'. Which version of weblogic are you using?
By default, when you create a data source, it is a TxDataSource (it honors
global tx). In the console, there is a check box to disable the default
behavior which will make the data source not to participate in transactions.
--Sathish
<Janardhana Rao Kotha> wrote in message news:[email protected]..
<pre>
Hey,
I am using container managed transaction in a stateless session bean. We
are using two datasources, one xa and non-xa. I am using these two
datasources in a single transaction and i am getting an exception that
both can't participate in the same transaction.
Is there a way that I don't want to enlist my non-xa resource with
transaction manager?
I have come across the following approach.
I have seen Simulate Two Phase for Non XA, but you are saying to be
careful with this option as for Example, Non-XA and XA says OK during
prepare phase(phase I) and then XA resources decides to roll back in phase
II, Non-XA can't revert as it is already commited,
But I have also come across LAST PARTICIPANT NON-XA along with mutliple
XAs option in websphere, like this if I update my Non-XAs in the end, will
WEBLOGIC takes care of all XAs and Non-XAs as single atomic operation or
it does partially ???
Appreciate your help.
Thanks,
Rao Kotha.
</pre>

Similar Messages

  • How to involve the external XA resource in the WL global transaction

    I wanted to know, if anybody has any knowledge of using external XAResource with
    Weblogic transaction, at the client end. For example:
    I create a Oracle Datasource and create a XAResource using unique xid. And would
    like register with Weblogic Transaction service, to use in the global transaction
    from client end.
    Is it possible? if yes how. What are APIs.

    The server-side connection obtained from the DataSource will enlist in
    and be part of the global transaction. Client operations on the
    connection will be performed on the server from which it was obtained.
    WLS will register the Oracle XAConnection and enlist it in the global
    transaction transparently.
    Alex
    Malli wrote:
    Alex,
    Thanks on your response.
    The JNDI lookup for DataSource and get a connection from that datasource works
    ok. But I want to make the external XAResource to participate in the WLS transaction.
    Malli
    Alex <[email protected]> wrote:
    Registering a resource on a client VM is not supported by WLS. It is
    possible for a client to look up a remote DataSource from a server and
    have connection operations participate in global transactions. However,
    there are some limitations with this approach, such as result sets not
    being available on the client.
    Alex
    Malli wrote:
    I wanted to know, if anybody has any knowledge of using external XAResource
    with
    Weblogic transaction, at the client end. For example:
    I create a Oracle Datasource and create a XAResource using unique xid.
    And would
    like register with Weblogic Transaction service, to use in the global
    transaction
    from client end.
    Is it possible? if yes how. What are APIs.

  • How do you extract non consecutive pages from a pdf document. I can highlight in thumbnails but only extract consecutive.

    How do you extract non consecutive pages from a pdf document?
    I see its easy to do it with consecutive pages by highlighting thumbnails then 'extract' but this does not allow for non consecutive pages.
    Thank you

    After highlighting the pages you can drag them and drop them somewhere,
    like on the desktop, and a new file will be created with just those pages.
    If highlighting the pages is not feasible, or too tricky to do, then a
    script can be used where you specify which pages to extract and the script
    extract them to a new file.

  • How do i transfer non-itunes music from ipad to a pc?

    how do i transfer non-itunes music from ipad to a pc?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • HT1386 How do I transfer NON purchased music from my ipod nano to my itunes library?

    How do you transfer NON purchased music from iPod Nano to itunes library?  I have icloud.

    You need a third-party program like one of those discussed here:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • How do I remove my iPhone 3G from list of stolen phones?  It was stolen and then returned.

    How do I remove my iPhone 3G from list of stolen phones? I reported it to Apple as stolen and it was blacklisted so that whoever stole it would not be able to register it with apple.  The phone was returned to us 3 weeks later.

    Apple does not blacklist devices and has no list.
    " Apple does not have a process to track or flag lost or stolen product "
    http://support.apple.com/kb/HT2526

  • How to avoid the dialogue when converting from context menu

    This is a follow-up to http://forums.adobe.com/message/2016146#443364 which was locked due to a bug.
    i would like to know how i can avoid the 'save as' dialogue when using the context menu to convert a word file to pdf using windows XP/acrobat 8/word 2007.
    so far, it always prompts me for the filename, which is annoying as it does not allow me to batch-convert several files and let the thing run its course.
    the solution provided by Steve in the other thread does not work - even if the plugin from word does not propt for a filename, it still does when triggered from explorer/context menu.
    so back to square one: how to avoid that dialogue when not opening word at all?
    cheers, thanks for any help. michael

    For a permanent change, START>PRINTERS>right click on Adobe PDF printer and select properties>General>Printing Preferences>Adobe PDF Settings. Under the settings tab, uncheck the box related to asking for a name. Pretty sure that is the location, but it may vary with version.

  • How can i transfer non purchased music from my iPod classic to iTunes?

    Recently, my laptop died and geek squad was unable to extract files from hard drive. How do I transfer non purchased music (burned cd's) from my ipod classic to itunes on my new laptop? Apple customer support suggested I engage support communities to find out about 3rd party software (not apple) that can accomplish this. Does anyone know of where I can find such software? Please and thank you

    Back when I had to do something like that, I used Copytrans, http://www.copytrans.net/. You might see if they are what you want.
    At worst, you could open the ipod classic in disk mode, locate the music files, copy them to your hard disk (they won't have good names), and just add them to your library. You'll probably lose play counts and *s with that approach, but it should work.

  • How to find first non zero value from the numeric value or string?

    Hiii, Every body
              I have one numeric indicator in which some valuse is coming with the decimal value, lets say 0.00013, now i want to find the first non-zero value from this numeric indicator, then what should i do to do so? i have converted it in the string, but i could not find any method to find first non-zero value from that string or either from the numeric indicator????
          Can you please help me, how to do it? i have attached the vi and write all the description inside.
    Thanks in Advance,
    Nisahnt
    Attachments:
    Find first nonzero.vi ‏20 KB

    Just convert it to an exponential string and take the first character .
    Message Edited by altenbach on 05-10-2006 08:00 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    FisrstNonzeroChar.png ‏3 KB
    FindFirstNonzeroCharacter.vi ‏20 KB

  • How to avoid duplicate data while inserting from sample.dat file to table

    Hi Guys,
    We have issue with duplicate data in flat file while loading data from sample.dat file to table. How to avoid duplicate data in control file.
    Can any one help me on this.
    Thanks in advance!
    Regards,
    LKR

    No, a control file will not remove duplicate data.
    You would be better to use an external table and then remove duplicate data using SQL as you query the data to insert it to your destination table.

  • How to avoid the Blank elemts in the List Item

    Dear All,
    I am using a List Item
    List Elements List Item Value
    Yes 1
    No 2
    Only two elements in this List Item.But at Run time there is one Blank element.
    I need to display only two elements from the List Item .How to avoid the Blank.
    Thanks and Regards,
    Fazil

    Fazil,
    I am using a List ItemList Elements List Item Value
    Yes 1
    No 2
    Only two elements in this List Item.But at Run time there is one Blank element.
    I need to display only two elements from the List Item .How to avoid the Blank.>
    Maybe you actually have null entries in your list. You can clean it up using keys as discussed here http://paranoid-engineering.blogspot.in/2008/05/wonderland-of-oracle-forms-builder.html (Ignore the personal opinions of the author if you will ;) ).
    Cheers,

  • How to share a non-copyrighted collection from ibooks

    I have 25 health education brochures that are non-copyrighted saved on a shelf in ibooks.  I would like to email them as a group to my work colleagues so they have acccess on their ipad but I can't figure out how to do this.  It allows me to send them individually but I want to keep them as a collection specific to diabetes. How can this be done?
    Thanks for your help

    You will need to create a shared folder in Dropbox, then populate that with what ever folders you need to organize the files. It appears the DropBox app,will not handle this, but you can do, it by logging in to you account via Safari. Once the folders are created, they will show up in the app. Likewise with designating the folders as shared. Anyone you wish to share with will need a Dropbox account. (using the public folder will not work since links out it are for files only, not folders. An odd restriction, but it is what it is).
    IF you have copies of the files on a PC, you will find that will be the easiest place to upload them from. If they are only in iBooks on the iPad, you will need to synch and use the file management function to copy them off. not sure if you can synch them back over to DropCopy within iTunes (never tried it).
    DEpending on your needs, a couple of apps to look into are iCab Mobile (a browser), and GoodReader (doc viewing and management app). Both integrate well with DropBox.

  • How to I transfer non-purchased music from an old PC to my new macbook?

    I have an old Dell laptop that is on its last leg and I have about a weeks worth of non-purchased music that I would like to keep. Most of this music is from CDs that I exported to iTunes on the Dell but no longer have the CDs. Is there a way to transfer this music to my new MacBook Pro? I don't really want to keep ALL of the music so it would be best if I can choose artists/albums to transfer.

    If you don't want to keep all the music the best way is to simply drag the media you want to keep from the PC iTunes window to a flash drive and then add it to iTunes on the Mac.  Hopefully the music isn't stored in WMA format because iTunes on a Mac cannot read that at all, and hopefully it isn't stored as WAV because it will lose all its labels during the transfer using this particular method.
    There could potentially be issues with losing artwork too depending upon how the file artwork was initially added.

  • How to avoid partial files via FTP from XI to an external server?

    Hi all,
    I'm working in an interface where XI sends a big file (greater than 1MB) via FTP to the client. The client needs an empty file to be created once the file has been fully sent from XI, with format <b>.ok</b>, so that their server can trigger their interface to process the file.
    They want this procedure to ensure no partial files are processed.
    Could someone please help me out on how to do this in XI.
    Thank you.
    <b>Juan Carlos</b>

    HI rajendra
    look into this
    file.checkFileModificationInterval=<msecs>
    Use this parameter to define a length of time (default value: 0) for the file/FTP adapter to wait after the file has been read to see if the file length changes. If this is the case, the system repeats the read procedure. This is useful if the files to be imported by the adapter are generated dynamically without being locked on the operating system level (for example, files received from FTP servers). Without this workaround, the file/FTP adapter cannot recognize whether the generation of the file is complete in such applications with operating system functions.
    regadrs
    nisar

  • How do I transfer non-iTunes purchases from an iPhone to iTunes on my MacBook?

    Hi,
    My girlfriend has an iPhone with lots of music on that is ripped from CDs and synced using a computer she no longer has access to.
    How do I transfer this from the iPhone to an iTunes account on my MacBook Pro.
    Thanks!

    Has she failed to maintain a backup copy of her computer?
    She could purchase a 3rd party program to extract them.

Maybe you are looking for