Migrating from Non-XA driver type to XA Driver in Weblogic 11g

I have two data sources created in weblogic 11g which were configured in following manner and we are using this configuration since our application started supporting weblogic as application server that's Weblogic 9i.
Database A: Participates in Global Transaction
Driver Type: Oracle Thin Driver non-XA
Support Global Transaction option is disabled for this data source.
Database B: Participates in Global Transaction
Driver Type: Oracle Thin Driver non-XA
Support Global Transaction option is enabled for this data source with One Phase Commit enabled.
If we use this configuration our application run just fine without any issues.
Now we have a requirement of adding another data source which participates in global transactions.When I create this data source with following settings,
Driver Type: Oracle Thin Driver non-XA
Support Global Transaction option is enabled for this data source with One Phase Commit enabled.
This results in error (which was expected) "
"*SQL ERROR: Connection has already been created in this tx context for pool named CMDEMO. Illegal attempt to create connection from another pool: EXPDB*"
and even when I enable "Support Global Transaction" option with LLR or Emulate Two phase Commit option this results is error,
"*Database Error: Unexpected exception in Non XA Resource enlistment. Resource=JDBC LLR, pool=EXPDB, table=WL_LLR_ADMINSERVER Cannot enlist more*
than one Non XA Resource. Attempt to enlist 'WL_JDBC_LLR_POOL.EXPDB' when 'WL_JDBC_LLR_POOL.CMDEMO' is already enlisted."
Now we are planning to move to "Oracle Thin Driver XA" driver type for all the three data sources.I tested this config. and all global transaction are getting executed perfectly.
But before we adopt this change,I just wanted to check what all are the limitations of using XA driver or any potential issues that needs to be tested. I explored about this and came to know that XA comes with performance overhead ,frequent database locking with SQL Server driver, and some conflicts with multibyte character sets etc.
Can someone please provide some input on how to tread ahead and what all things needs to tested.

How are you using these connection pools in your application?
Do you have different EJB's, which have the default transaction attribute configured (@TransactionAttribute(TransactionAttributeType.REQUIRED)),
and are calling each other?
If one EJB is using connection pool A and the other is using connection pool B, you get in trouble because the transaction is already
started by EJBone and is propagated to EJBother. In this case you can use @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW).
Now a new transaction is started for EJBother.
Some information about XA
The primary difference is that data sources that support global transactions are JTA transaction-aware.
Realize that JTA transactions do not necessarily mean XA transactions and two-phase commits (2PC). JTA
transactions also allow two independently written components that modify the same database to participate
in a transaction without having to know about each other. Non-XA database transactions require the
use of a single database connection to provide the proper transactional semantics. If you choose not to
use the Supports Global Transactions option, you need to write your application components in such
a way that they get a database connection from the pool at the start of every transaction and pass that
connection around to every component that participates in the transaction. This is clearly not desirable
and not even possible with certain types of components (for example, JPA managed entities).
A data source that supports global transactions will make sure that your components participating in a
JTA transaction get the proper transactional semantics whether or not they are using XA transactions.
When not using XA transactions, the data source accomplishes this by associating a database connection
with a JTA transaction context. Every time a component asks for a database connection using the data
source that supports global transactions, WebLogic Server will check to see if the current transaction
already has a database connection, and if so, it will always hand back the same underlying database connection.
This allows non-XA transactions to maintain the proper database semantic guarantees without
having to worry about what database connection to use and what the transactional boundaries are for
the application.

Similar Messages

  • Syntax errors while migrating from non- unicode to Uni code

    What are the syntax errors while migrating from non unicode to Uni code

    Hi Sudheer,
    u can get the information related to errors while migrating from non- unicode to Uni code from the below...pls go through...
    Note 765475 - Unicode Conversion: Troubleshooting
    these are the notes related to the issues of migration form non unicode to ounicode.
    Related Notes
    986907 - SQL Server settings for R3load based system copy
    954001 - Error fix: ILLEGAL_SUBSTRING_MODIFICATION in SUMG
    936441 - Oracle settings for R3load based system copy
    928909 - Repair table data in SUMG in Unicode systems
    895804 - Problematic rows in table DMEE_TREE_NODE
    895560 - Support for languages only available in Unicode system
    885441 - Common Migration Errors
    842788 - DB Multiconnect: Unicode Migration
    837173 - RADCUCNT in Unicode Conversion: Collective Note
    756534 - Automatic Assignment of Languages with Character Statistics
    753334 - Unicode Conversion: Problem in Japanese device types
    726954 - Private Use Areas in Unicode Systems
    722193 - RFC legacy non-Unicode clients and Unicode servers
    718329 - R3load terminates the export during a Unicode conversion
    695196 - Error in the export for Unicode migration
    672835 - Textflags could cause problems during Unicode conversion
    627764 - Unicode migration: table pools inconsistent after conversion
    614550 - Troubleshooting BC-I18
    587896 - Add. info on upgrade to SAP R/3 Enterprise Core 4.70 SR1
    573044 - Unicode conversion for HR application
    480671 - The Text Language Flag of LANG Fields
    379940 - Unicode based mySAP availability
    79991 - Multi-Language and Unicode support of SAP applications
    73606 - Supported Languages and Code Pages
    42305 - RSCPINST (I18N configuration tool)
    regards,
    rudra..
    Assign points if helpful

  • HT4413 When migrating from time machine to my new hard drive, only some files and applications and setting are transferred, not all of them. In my latest back up I have them all. How can I fix that?

    When migrating from time machine to a new hard drive, not all is transferd, only partial documents, applications , settings etc. How can I migrate the latest back-up with all the content.

    sohs wrote:
    When migrating from time machine to a new hard drive, not all is transferd, only partial documents, applications , settings etc. How can I migrate the latest back-up with all the content.
    If you want to use Time Machine to recover the contents of one of its a backups to a new drive, follow the instructions in Mac OS X 10.6: Recovering your entire system. Note that you must select the "Restore System From Backup" option from the Utilities menu of the Installer disc to do this.
    Also note that if you are transferring files to a hard drive to be used with a different computer, you should use Migration Assistant instead. This intentionally will not copy everything because some settings, applications, etc. are not compatible computer-to-computer. Migration Assistant will copy everything that is.

  • HT201250 When migrating from time machine to my new hard drive, it migrates the first back-up I made several years ago. How can I migrate the latest back-up ?

    When migrating from time machine to my new hard drive, it migrates the first back-up I made several years ago. How can I migrate the latest back-up ? I need time machine to migrate the latest back-up. Should I delete the older back-ups ?

    As noondaywitch says, it should use the latest backup.
    Where are your backups (external HD, Time Capsule, etc.)?
    It sounds like there are two separate sets, and you're not connected to the right set.

  • ASM instance migration from non-asm in windows

    hi,
    i am looking for migration steps to asm from non-asm in windows platform. oracle version is 10.2.0.2.0 any metalink id's or Docs would be great.
    i just had raw disk allocated in my windows but asmtoolg could not find the disk while configuring ?

    had better post your question in ASM forum, you will get better guidance/reply there.
    Forum Home » Grid Computing » Automatic Storage Management
    Automatic Storage Management

  • Migrate from Oracle 8.1.6 Release 2 to 10 or 11g

    Dear All,
    Please tell me the best solution of migrating from 8.1.6 to 10g or 11g. The operating system is Windows server 2003 and it would remain the same. The database size is almost 6GB.

    Hi,
    Please tell me the best solution of migrating from 8.1.6 to 10g or 11g. The operating system is Windows server 2003 and it would remain the same. The database size is almost 6GB.Export/Import will be the best approach to upgrade your database as size of db is small :)
    Refer tech note provided by Helios.
    thanks,
    X A H E E R

  • Migration from non-Firewire MacBook to new Retina MacBook

    I have just purchased a new Retina MacBook.  My current MacBook is the 2008 model without a Firewire port.  Since the old MacBook does not have Firewire or Thunderbolt, and the new MacBook does not have Ethernet, I am left with Wi-Fi as the migration alternative.  I suspect that this will be a VERY slow procedure.
    I do have an external USB 2 hard drive with a full bootable backup.  My question is:  Can I connect this hard drive via USB to the new MacBook and migrate the files? If so, would this be faster than using Wi-Fi? 
    Thanks for any advice.

    Just to add a bit about my  experiences with the transfer. It did finally work, but it wasn't easy!
    When I finally got the cable (after Fedex lost it for 3 days), the instructions on the Apple site were totally inadequate.  They didn't explain that you should turn off wi-fi on the computers, or how to set them up for Ethernet transfer on the Network screen, then get them back on wi-fi when you were done. This was not as easy as it should have been -- or at least not for me!
    I finally got the two connected properly and then realized (this was admittedly my fault) that I had not upgraded the Migration Assistant on the old computer. So I had to go back and start from zero again.
    I also could not get the window to open to give me a choice of which sub-folders to transfer.  So I ended up transferring everything.  Not a major issue, but just more time consuming. 
    However, once finished, everything was pretty much where it belonged, and all my apps were fine.  The only one that gave me any problem was Dreamweaver.  The transfer did not move DWs configuration files, but I was able to fix that by copying that Configuration folder over to the new computer via wi-fi.
    By the way, those instructions that Ogelthorpe linked to, even though they say they are for 10.6, are more complete and explicit than the ones on the Apple site specifically for Mavericks.  So thanks very much for the help!

  • Migrating from non-loggin Informix to Oracle (use of transactions)

    I wonder what happens when I migrate an Informix non-logging database to Oracle. Since my database doesn't use transaction (that's to say: a single DML sentence define a transaction and ttransactions using begin/commit/rolback trans are not used), applications are written with no transaction philosophy. But Oracle is ANSI-compliant and then when I execute a DML sentence, a transaction begin and it'll finish until I send commit or logout. Then, even when migration is ok, my applications will create very large transactions.

    Hi Oscar,
    Without actually viewing the Client application code, I can only make general assumptions..
    You will have to change the client code anyway in order for it to work with Oracle e.g. Informix E/SQL -> Oracle Pro*C. The E/SQL Client code will have to be updated to reflect various changes in the DB environment; for example:
    1. The use of REF CURSORS (passing them back to the client code)
    2. Changes to the hardcoded Informix SQL statements to make them Oracle friendly (especially OUTER joins if you migrating to Oracle 8i)
    3. Altering any E/SQL code that dynamically builds SQL statements (to make sure these SQL statements are syntactically correct in the Oracle model).
    4. DB Connection methodologies.
    5. Changing Informix #include files to reference equivalent Oracle #includes
    6. Differences in date structs and how E/SQL and Pro*C handle dates (Oracle did not support milliseconds until 9i)
    7. Exception handling.
    8. Datatype changes between Informix and Oracle.
    Again, there is no simple solution. A migration project that migrated the DB and Applications 'in tandem' would make it easier to remove logic from the client code and place it in the server (always a good thing) but this may not be feasable in your case.

  • Migrating from non-logging Informix to Oracle (use of transactions)

    I wonder what happens when I migrate an Informix non-logging database to Oracle. Since my database doesn't use transaction (that's to say: a single DML sentence defines a transaction and transactions using begin/commit/rolback trans are not used), applications are written with no transaction philosophy. But Oracle is ANSI-compliant and then when I execute a DML sentence, a transaction begin and it'll finish until I send commit or logout. Then, even when migration is ok, my applications will create very large transactions.
    What should I do? Is there some parameter to configure Oracle in such way it create single-DML transaction (I heard there's something like that in SQL*Plus, but I'm not sure)? Or should I rewrite applications sending commits after every sentence (The worst case, I think)?
    Thanks in advance
    Omar Muqoz

    Hi Oscar,
    Without actually viewing the Client application code, I can only make general assumptions..
    You will have to change the client code anyway in order for it to work with Oracle e.g. Informix E/SQL -> Oracle Pro*C. The E/SQL Client code will have to be updated to reflect various changes in the DB environment; for example:
    1. The use of REF CURSORS (passing them back to the client code)
    2. Changes to the hardcoded Informix SQL statements to make them Oracle friendly (especially OUTER joins if you migrating to Oracle 8i)
    3. Altering any E/SQL code that dynamically builds SQL statements (to make sure these SQL statements are syntactically correct in the Oracle model).
    4. DB Connection methodologies.
    5. Changing Informix #include files to reference equivalent Oracle #includes
    6. Differences in date structs and how E/SQL and Pro*C handle dates (Oracle did not support milliseconds until 9i)
    7. Exception handling.
    8. Datatype changes between Informix and Oracle.
    Again, there is no simple solution. A migration project that migrated the DB and Applications 'in tandem' would make it easier to remove logic from the client code and place it in the server (always a good thing) but this may not be feasable in your case.

  • DB migration from non cluster to cluster

    Hi,
    Currently we are installating production on non cluster environment on windows.In future we have to convert this environment as cluster(MSCS).Is there an issues to migrate non cluster to cluster on windows 2003 ,SQL2005 MSCS cluster.
    What are the challenges we have to face.
    Thanks
    Kristene

    Hi,
    Check the following SAP Notes:
    Note 107534 - Migration on Microsoft cluster server
    Note 106275 - Availability of SAP components on Microsoft Cluster Server
    Regards,
    Siddhesh

  • Database migration from non rac and non asm to RAC database with ASM

    HI,
    i have requirement to import one database ( db1) which running one node with out ASM and with out RAC , now i want to import that database with rman backup to another database ( db2) which running on different server with 3 node RAC and ASM ( disk group +DATA ) , can you please provide me the steps how i can migrate.? ( i have created db2 with dbca with RAC).
    regards,
    sri

    Sri,
    This could be done multiple ways. Simplest for you is to use DBCA:
    http://download.oracle.com/docs/cd/B28359_01/install.111/b28264/cvrt2rac.htm

  • Migration from Oracle App Server 10.1.3.5 to WebLogic 12 - Expected issues?

    Hi all,
    the company I work for wants to migrate its Oracle Application Server 10.1.3.5 (with JRE 1.6) to WebLogic 12 and we need to guess which kind of remediation could be needed to have all web-apps still working.
    The concerned applications are using dated technologies:
    direct JDBC connections to db
    JPA 1.0
    connection pools with Oracle JDBC drivers
    some apps are compiled with Java 1.4, some others with Java 1.6
    servlet 2.3
    JSP 2.0
    We do not expect to come accross big issues but I'm not skilled on this kind of matters so I would like to receive seggestions or alerts from experts. Any remark will be appreciated.
    Thank you all.
    Regards,
    Luca

    Hi Luca,
        It would be better if you asked this question in the Application Server forum which should be at this URL -
    Application Server
    and the general forum here -
    Oracle Application Server - General
    Regards,
    Mike

  • How do I migrate from a former user account on an external drive after a clean install?

    This question has been partially answered before but not to my satisfaction and, from what I've found, not for Mountain Lion.
    My MBPr was running fine for a week after I transfered my User account to an external drive. After some reorganization I decided to move the acount to a different external drive. I blundered and, for whatever reason, was unable to log in to any account on my MBPr. Not even my backup account - which suprised me. (I tried repairing disks, permissions, etc...) I tried to resolve it on the phone with Apple to no avail. Finally, I gave up. I booted into recovery and did a reinstall. After 12 hours I came back to find that it wasn't a clean reinstall. And I still couldn't log in to anything. 
    I then did an erase and reinstall. After another 12 hours I now have a clean install of Mountain Lion on my MBPr. I have an external drive with my former working user directory (Home:Users/mrmoose) on it. (BTW, It is LARGER than my internal SSD drive, it is not bootable, AND I have no backup of it in Time Machine format.)
    My current user account is Macintosh HD:Users/bullwinkle
    1) Is there a way to "reclaim" my user account on the external drive - possibly without even copying or migrating?
    2) Can I copy the contents of bullwinkle (excluding some of my folders under Documents so it fits) to Macintosh HD Users/bullwinkle? Including the Library folder? I have audio plugins, etc...
    I'd still like my User directory on an external drive. But I will settle for keeping it on the internal drive. I just want my info back.
    Why, oh, why does Migration Assistant require your data to be in TIME MACHINE format only - why can one not migrate from a full copy on an external drive? Why can't it look at the darn thing and say, "Hey, that's a copy of an OSX User directory. I can migrate data from that."?
    I would greatly appreciate a detailed response. THANK YOU. Lama Out.

    ~/Library is probably the one you don't want to move back because it may bring the issues back along with it.
    All your own data you can drag & drop. You can drag the contents of any folder Movies, Music, Pictures, Documents (or as much as you want).
    Rather than try to replace the Library you can take ~/Library/Application Support, Mail, Safari and any other folders you need.
    To access your hidden ~/Library folder go to your Finder "Go" menu hold the option key to choose "Library".
    Then you can drag it to the Sidebar for easy access.

  • TS1963 Migrating from Time Machine onExternal Disk,  Why won't Migration Assistant see my USB Connected external disk drive?

    I had to format my internal disk drive on my MacBook Pro, and reload Mountain Lion 10.8.3.   The startup assistant could not see my external disk drive with the Time Machine backup files.  After many tries I told it to skip restoring the files and let it boot up.  I was able to see my 1 TByte external drive and could see the Time Machine files using Finder.
    I started the Migration Assistant and told it to migrate from Time Machine Files on an external drive.  It also did not see the backup drive.  The only drive icon it showed was the Macintosh HD (my internal drive).  
    Isn't it supposed to show you the drive you are moving the files from?  I tried starting it and it looked like it was going to try to migrate the files from the internal drive (to where I don't know, back to itselfl?)  Or  do I just not understand.  Is it seeing the external drive, without identifying it (in the Migration Asst,)?
    Really looks like it is going to back up  the internal HD with files that are on the internal HD and not from Time Machine.
    I need to restore my files and have been told I need to do so using Migration Assistant and not Time Machine.
    Help pleae and soon, need to get my taxes finished!
    Thanks!

    I'm surprised that no one replied to this.  But I learned a few things that may be helpful to some of you with this same question.
    When you restore data from an external disk drive with Time Machine files on it.  As you move through the dialog (in either System Startup or in the Migration Assistant) it will ask if you want to restore from an external disk with Time Machine files.  If you select this option, it will show you only one Icon.  You will expect to see your external disk drive listed as the source of the restore.  The icon that is shown will look like your ilnternal drive and will be labeled something like Macintosh HD.  That is not your internal drive, but is your backup drive.  It is labeled  the same as your internal disk drive and it is telling you that you have found the backup for your internal disk drive.
    Would be nice if Apple would put a note of explanation about this as part of that dialog.  I wasted several hours trying to make it work  Finally I took a chance and selected the drive shown and it did restore my system.  I ended up with two users since I did it from Migration Assistant.  Had I done it from the System Startup, there would only be the one user.

  • Possible cause for Faces failures (migration from an older version)

    I've had no luck with Faces recognizing faces in images.
    I think that the issue is with how the images got to iPhoto.
    I imported 2000+ images from my iBook (iPhoto 04). Of those, Faces failed in ~>95% of the images. Today, I took two junky photos with Photobooth, including a dark and distant shot. Faces recognized that there was a face in the image, although it hadn't learned the face, yet (I know, that takes time).
    I believe the issue might have to do with the fact that I imported images from a distant version (i.e. coming from iPhoto 4 instead of iPhoto 07 or 08, or whatever).
    Or, possibly that I migrated from another machine as opposed to upgrading iPhoto on the same machine?
    Hopefully this line of reasoning will isolate the problem's cause.
    Please reply if you are having success or not, as well how your photos got into iPhoto '09 (i.e. Migration from another computer and type, prior iPhoto version, etc.)
    I'll start...
    I migrated my images from iPhoto 4 from an iBook (PPC) and have had very little, if any, success with Faces recognizing faces in images.
    Thanks!

    I just imported (from my Treo) three images that were exactly the same as the three successes from Photobooth.
    Being from different sources they cannot be the same. Maybe the face in the photo was the same but the rest of the file, i.e. the metadata is different. Some image sources write metadata differently and that can cause issue. It's probable that iPhoto is expecting the metadata to adhere strictly to the EXIF/ITPC standards and some of the sources don't in writing the metadata to the file.
    Report the problem to iPhoto via http://www.apple.com/feedback/iphoto.html and give the details of the photos as you've done here. That will help them better understand the issue and get a fix out.

Maybe you are looking for

  • Problem in invoking BPEL Process through JSP

    Hi , I have created a simple BPEL asynchronous process called as " BPELProcessAddMacroTask" . JSP File looks like : <%@page import="com.oracle.bpel.client.Locator" %> <%@page import="com.oracle.bpel.client.NormalizedMessage" %> <%@page import="com.or

  • UNABLE TO INJECT A STATIC DEFAULT ROUTE FROM PE????

    UNABLE TO INJECT A STATIC DEFAULT ROUTE FROM PE???? Description: I am unable to get a static default route via MPBGP session for a vrf, any other route redistributed the same way is getting through. Just the static default route isn't ???? 1> SOURCE

  • ETHCNTR-3-LOOP_BACK_DETECTED

    Guys, I'm getting the following error message in my environment.. Can you please shed some light on this issue...  %ETHCNTR-3-LOOP_BACK_DETECTED: Loop-back detected on GigabitEthernet0/43. %PM-4-ERR_DISABLE: loopback error detected on Gi0/43, putting

  • Regarding simple date format

    Hi, Can any one please tell what is simple date format for below format. 2008-11-04T11:49:04.312-04.00

  • How to avoid Illegal State Exception?

    Im using struts and develop in J2EE. My action class calls the ejb and returns to the actionClass and then to the jsp. This works once and the second time , i get IllegalStateException. But without recompiling when i restart ,my jboss and preform the