SQL operations are not allowed with no global transaction by default for X

Hi All,
I am getting the above mentioned error.
java.sql.SQLException: SQL operations are not allowed with no global transaction by default for XA drivers. If the XA driver supports performing SQL operations with no global transaction, explicitly allow it by setting "SupportsLocalTransaction" JDBC connection pool property to true. In this case, a
lso remember to complete the local transaction before using the connection again for global transaction, else a XAER_OUTSIDE XAException may result. To complete a local transaction, you can either set auto commit to true or call Connection.commit() or Connection.rollback().
I am developing a web application. I have jsp, servlets, JDBC classes.
I am using DataSource and Connection pools.
I am on WLS 8.1 sp3 and Oracle 10.1.
Part of My Config file looks as follows:
<JDBCConnectionPool DriverName="weblogic.jdbcx.oracle.OracleDataSource" KeepLogicalConnOpenOnRelease="true" KeepXAConnTillTxComplete="false" Name="AUMDataSource" NeedTxCtxOnClose="false" NewXAConnForCommit="false" Password="{3DES}AKRkWgdzXN8WrXSRtSvJ6g==" Properties="user=pibsrmgr;portNumber=1521;SID=pibsrdod;serverName=pibsrdod.dtu.mlam.ml.com" RollbackLocalTxUponConnClose="true" SupportsLocalTransaction="false" Targets="myserver" TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:bea:oracle://pibsrdod.dtu.mlam.ml.com:1521" XAEndOnlyOnce="false" />
<JDBCTxDataSource EnableTwoPhaseCommit="true" JNDIName="jdbc/AUMDataSource" Name="AUMDataSource" PoolName="AUMDataSource" Targets="myserver" />
Any help will be appreciated.
Thanks
---Radhe

Hi,
Regarding Transactions , the following link can helpful to you .
Regards,
Prasanna Yalam

Similar Messages

  • Operation Connection.rollback is not allowed during a global transaction.

    Hi
    I am getting the following exception when i try to deploy my application in the server. Is any body got the same error. please help me to solve this problem.
    com.ibm.mm.beans.CMBException: DSRA9350E: Operation Connection.rollback is not allowed during a global transaction.
    java.sql.SQLException: DSRA9350E: Operation Connection.rollback is not allowed during a global transaction.
         at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.rollback(WSJdbcConnection.java:2270)
         at com.ibm.mm.sdk.internal.sql.PConnectionICM.rollback(PConnectionICM.java:230)
         at com.ibm.mm.sdk.server.DKDatastoreICM.connect(DKDatastoreICM.java:3273)
         at com.ibm.mm.beans.CMBConnection.connect(CMBConnection.java:1685)
    Thanks.

    Are you using an XA driver for two-phase commit?
    %

  • RFC Function Module - Message Reference parameters are not allowed with RFC

    Hi,
    I’ve checked the Remote-Enabled Module radio button, declared Import and Export parameters using ‘Type’ typing and checked the ‘Pass Value’ in export and import parameters but I still receive message ‘Reference parameters are not allowed with RFC’ and not able to activate the function module.
    Am I missing something?
    Regards,
    ...Naddy

    Hi all,
                   I faced the same problem and solved it ,
    You have defined a reference parameter for a remotely called
      function module. However, only value parameters are allowed
      for this type of module.
      Procedure
      Change the reference parameter to a value parameter.
    Guys  pls .don't leave the thread un-asnwered when you solved problem , post the solution it might be useful for others also.
    Regards
    Krishna Acharya

  • You are not allowed to enter a tax jurisdiction code for country US

    Hi All,
    We are having this message popping up "You are not allowed to enter a tax jurisdiction code for country US" when we try to add an item to a shopping cart. SRM 4.0 Classic scenario.
    Also when i process the shopping cart and create a PO out of it, our R/3 4.6C dosnot let me release the PO and error message is :"no tax jurisdiction code found"
    I have looked at some of the earlier threads but i could not find a definite solution. Has anybody faced similar problems? Please let me know !
    Thanks
    Sundeep

    Hi Sudeep,
    How did it work? Do you have to implement any BADI's or SRM or R/3 side? As we are getting same error while creating Shopping Cart in SRM.
    I have checked the plant data in R/3 and Jurisdiction code has been maintained there.
    Please advise
    Thank you
    Ritesh

  • ORA-02021: DDL operations are not allowed on a remote database

    Hi,
    While creating a trigger to keep track of every deletion on a remote table, I am receiving this error.
    I am not using any DDL within my trigger.
    My trigger code is:
    CREATE OR REPLACE TRIGGER neeraj.iuc_trig
    before delete on neeraj_test@iuc
    for each row
    DECLARE .........................
    Here iuc is public database link.
    Any idea ?
    Regards,
    Neeraj

    Hi Neeraj,
    you cannot define a trigger on a remote table.
    why don't you define the trigger just directly on
    the remote db.
    You can define some insert/update ... operations
    on "your" db in your trigger.
    you need a db_link for that on your remote-db
    to your "original"-db
    update emp@orig_db ...
    Regards
    Schoeib
    Message was edited by:
    schoeib

  • MetaData operations are not supported when

    Dear Experts
    I am facing below error when trying to run my add-on in Windows  Server 2008 R2 and SQL Server 2008 service pack 2.
    Error: MetaData operations are not supported when a user transaction is active
    It runs fine in Sql Server 2005.
    Kindly tell me a solution to sort this out.
    Regards
    Shibin

    Can we see your code, it looks to me like the error is quite descriptive - its saying you can't do any metadata operation (creating/updating user fields, user tables using userfieldsMD or usertablesMD objects) while in a transaction.
    Previous SDK examples have shown that you can do it, but they it is not possible - it may be that SQL 2008 has a tighter control over this. (Did you also do a B1 upgrade, or just change SQL version?)
    Are you running a transaction?

  • Table are not prefixed with Schema in  SQL request - Unable to get Data

    I began this new thread because I closed the [previous one|Unable to get data (DSN connection); a little bit early, I believed it was OK but no the problem still here.
    First my architecture :
    Oracle 9g
    +500 Reports made under CR developper 8.5 or 9.0
    Report opened in VB .net application, framework 2.0 using CR runtime 8.5 and 9.0
    We want to upgrade CR version to 2008, so modification of reports will be done with CR 2008 Developper, and we want to
    use only CR 2008 runtime.
    The problem :
    Everything works fine in CR Developer, but the same report with the same parameters failed when called inside .net.
    The error is "Unable to get data", the database connection is OK but the queries mades from inside the report are wrong :
    The tables/views in the from statement are not prefixed with the Schema, so Oracle don't find them.
    Example (SQL monitoring done with TOAD)
    Execution of postes.rpt report directly in CR :
    Timestamp: 10:30:03.881
    Successful logon attempt (session tag: 0x6464CB8)
    username: 'APPLI_HUET'; database: 'DEV'
    SELECT ...
    FROM  "COMMUN"."ETAB" "ETAB" INNER JOIN "GESTION_DES_TEMPS"."POSTES" "POSTES"
    ON "ETAB"."N_ETAB"="POSTES"."N_ETAB"
    WHERE  "POSTES"."N_ETAB"=2 ORDER BY "POSTES"."N_POSTE"
    Timestamp: 10:50:29.178
    Logoff (session tag: 0x6464CB8).
    Same report, same authentication but throught .net program :
    Timestamp: 11:01:24.569
    Successful logon attempt (session tag: 0xA93FC38)
    username: 'APPLI_HUET'; database: 'DEV'
    SELECT ...
    FROM   "ETAB" "ETAB" INNER JOIN "POSTES" "POSTES"
    ON "ETAB"."N_ETAB"="POSTES"."N_ETAB" WHERE  "POSTES"."N_ETAB"=2 ORDER
    BY "POSTES"."N_POSTE"
    Runtime error occurred: 942 (ORA-00942: Table ou vue inexistante)
    The .net code :
    Dim _report As New ReportDocument()
    _report.Load("report.rpt", OpenReportMethod.OpenReportByDefault)
    Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
    myConnectionInfo.ServerName = "DSN_file"
    myConnectionInfo.UserID = p_Userid
    myConnectionInfo.Password = p_Password
    ' to see code in this method se my original post
    SetDBLogonForReport(myConnectionInfo, _report)
    SetDBLogonForSubreports(myConnectionInfo, _report)
    Dim frmViewer As New CrystalReportViewer
    frmViewer.CrystalReportViewer1.ReportSource = _report
    frmViewer.Show()
    Any ideas ?

    Thanks for the and sorry but I don't understand.
    I've made a research of Location on this forum the more intersting thread I've found is rpt-files do not function anymore after deploying to a different database, but I still don't understand.
    I take a look at all code sample and I can't found anything.
    You say that .Location need to be set, indeed Location property of CrystalDecisions.CrystalReports.Engine.Table object only contains table name.
    I tried to overrides this value by the fully qualified table name (ie Schema.Table, for example GESTION_DES_TEMPS.POSTES), and it work  BUT it wouldn't be the solution, my code is designed to be generic, I can't have a database to know wich schema add before differents table name.
    Why when we execute the report directly in CR 2008 developper we don't have to redefine the table location ?
    Another test :
    I've made a new report directly in CR 2008 with a DSN, launch it in .net with the same DSN (server) : OK
    Then I launch it in .net with another DSN, it work also.
    Why report done with Crystal 8.5 or 9.0 have this problem ?
    I'me gonna be mad....
    Edited by: Yoann DAVID on Jan 8, 2010 3:32 PM

  • Has anyone been able to upload an ibooks file with audio only files (m4a) in it? I keep getting the following error message during the upload in iTunes Producer: ERROR ITMS-9000: "Files of type audio/x-m4a are not allowed outside of widgets.

    Has anyone been able to upload an ibooks file with audio only files (m4a) in it? I keep getting the following error message during the upload in iTunes Producer: ERROR ITMS-9000: "Files of type audio/x-m4a are not allowed outside of widgets. then it names the file as an m4p file. Everything works beautifully on the iPad through Preview, and validates through iTunes Producer up until the attempted upload. If you've been able to accomplish this, please let me know how you prepared your audio files. Many thanks.

    Hello Fellow iBook Authors!
    Today I received the same error that you all have been discussing.  I tried selecting the DRM
    and this did not work for me, though I'm glad it did for some.  Here's what I did as a work-around. . .
    Since iBooks Author did not have a problem with Videos, I simply used one of my video programs, ScreenFlow to turn the audio into a video file m4v.  I added an image and extended the length or timing of the image to span the length of the audio file.  Then exported as an .mov.  I then opened QuickTime and opened the file and exported the file to iTunes. 
    You can use iMovie, Camtasia or any other progam that will allow you to export the audio as a movie file.  Does this make sense?  I hope this helps, at least in the short-term.
    Michael Williams

  • What about Bug  - FRM-47316: Branch nodes with no children are not allowed

    Hi friends,
    I've just executed another inherited application (Win XP, forms 6i, client/server)..and.. the first on the screen:
    FRM-47316: Branch nodes with no children are not allowed
    The application has a "tree menu".. I supose the problem appears when it's trying to load menu nodes...
    I've searched in metalink, and it only appears a post (483897.995) saying that this is a bug, but...I can't understand if it's already solved in Forms 6i
    Any ideas?
    Thanks,
    Jose.

    Hi friends,
    I've just executed another inherited application (Win XP, forms 6i, client/server)..and.. the first on the screen:
    FRM-47316: Branch nodes with no children are not allowed
    The application has a "tree menu".. I supose the problem appears when it's trying to load menu nodes...
    I've searched in metalink, and it only appears a post (483897.995) saying that this is a bug, but...I can't understand if it's already solved in Forms 6i
    Any ideas?
    Thanks,
    Jose.

  • Rules are not allowed for jobs with set 'archive edited messages only' flag.

    Hi,
    We are on AEX 7.4 and have enabled user defined search and also setup archiving. Even though the retention period has expired but still the messages are not being
    archived.
    We see following issues:
    1. Unable to setup archiving rule in Runtime Work Bench, we are getting following error:
    Rules are not allowed for jobs with set 'archive edited messages only flag.
    2. Unable to set the expiration of messages using the following link.Each time we specify the number days it shows the same number of
    messages expired.
    http://XXXXX:50000/MessagingSystem/job/reorgdb.jsp
    3. However if we click on "remove messages" button the messages are getting deleted which tells me that the messages are not matching any
    archiving rule hence are being removed.
    Any pointers to the above issue are appreciated!!!
    Thanks,
    Rajeev

    Hi,
    Please check the [link|http://www.****************/Tutorials/XI/Archiving/Index.htm]
    Also check this
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50?quicklink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=147266890
    Regards,
    Naveen.

  • Error message when installing Yosemite OS: this core storage operation is not allowed on a sparse logical volume group

    I was updating my Macbook Air (i7, 4mb RAM, 256 gb) to Yosemite OS when the process was interrupted. After retry, my computer is showing the following message: "this core storage operation is not allowed on a sparse logical volume group". I tried to restart several times, but the problem goes on with error. It would be my computer damaged?

    If you don't already have a current backup of all data, back up before proceeding. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    Start up in Recovery mode. When the OS X Utilities screen appears, select Disk Utility.
    In the Disk Utility window, select the icon of the startup volume from the list on the left. It will be nested below another disk icon, usually with the same name. Click the Unlock button in the toolbar. When prompted, enter the login password of a user authorized to unlock the volume, or the alternate decryption key that was generated when you activated FileVault.
    Then, from the menu bar, select
              File ▹ Turn Off Encryption
    Enter the password again.
    You can then restart as usual, if the system is working. Decryption will be completed in the background. It may take several hours, and during that time performance will be reduced.
    If you can't turn off encryption in Disk Utility because the menu item is grayed out, you'll have to erase the volume and then restore the data from a backup. Select the Erase tab, and then select
              Mac OS Extended (Journaled)
    from the Format menu.
    You can then quit to be returned to the main Recovery screen. Follow these instructions if you back up with Time Machine. If you use other backup software, follow its developer's instructions.
    Don't erase the volume unless you have at least two complete, independent backups. One is not enough to be safe.

  • The operation is not allowed for result set type FORWARD_ONLY

    Hi,
    I am trying to use scroll insensitive resultset in following manner-
    Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    ResultSet rs = stmt.executeQuery("some sql here");
    rs.last();
    but the rs.last() throws this exception-
    com.sap.dbtech.jdbc.exceptions.SQLExceptionSapDB: The operation is not allowed for result set type FORWARD_ONLY.
         at com.sap.dbtech.jdbc.ResultSetSapDB.assertNotForwardOnly(ResultSetSapDB.java:2725)
         at com.sap.dbtech.jdbc.ResultSetSapDB.last(ResultSetSapDB.java:557)
    Database version: Kernel    7.5.0    Build 019-121-082-363
    Driver Version: MaxDB JDBC Driver, MySQL MaxDB, 7.6.0    Build 030-000-005-567
    This used to work with 7.5 version driver. Why this is failing with 7.6 driver, any clues?
    Thanks,
    Vinod

    Hi Vinod,
    due to performance improvement when using forward only cursor we changed the default for the resultset type from TYPE_SCROLL_SENSITIVE to TYPE_FORWARD_ONLY starting with JDBC driver version 7.6. So I guess the exception comes from a statement where you didn't set the resultset type while creating it. Please check if all of the statements that you want to be scrollable have set the correct resultset type.
    Regards,
    Marco

  • Whenever I open pdf file link in net shows a message box Acrobat plug-in and message as "This operation is not allowed" and after firefox getting crashed. I observed twice

    Details of Crashing Information
    AdapterDeviceID: 2562
    AdapterVendorID: 8086
    Add-ons: {d47a9f51-8281-43fa-f450-f28ef8735e9a}:2.1.1,[email protected]:3.6.5.112,{972ce4c6-7e08-4474-a285-3208198ce6fd}:4.0
    AvailableVirtualMemory: 1923440640
    BuildID: 20110318052756
    CrashTime: 1304770256
    EMCheckCompatibility: true
    FramePoisonBase: 00000000f0de0000
    FramePoisonSize: 65536

    I'm replying to this old thread for anyone looking for this problem in the future ( like I did ).
    The problem for me was that the original .pdf had a single blank comment in it.
    I opened it in Acrobat pro, deleted the comment, saved, opened it in livecycle, changed the illustration ( or whatever you had to change in the first place ), save it again, opened it in Acrobat and save for Reader Extended PDF.
    It now works
    PS: nice job Adobe with useless error messages. Just saying "Comments are not allowed" instead of "This operation is not permitted" would have saved countless hours to countless people.

  • Why Toshiba notebooks are not delivered with the common Vista install CD

    Our household now has two x Toshiba laptops, both of which were supplied with MS Vista Home Premium pre-installed.
    The nature of the Recovery Media provided with these machines is such that (a) we do not have sufficient flexibility over volume/partition sizes, program locations etc., and, more specifically.
    It makes it necessary for the majority of the bundled software (Norton Security etc.,) to be installed by default in the event of a system failure. (And immediately uninstalled following recovery! An unnecessary waste of time.)
    Bearing in mind that a proportion of the price paid for each laptop must have included a cost for the Vista Operating System, does anyone know if it is possible to obtain a Master Recovery disk which ONLY consists of the operating system, and which allows us the flexibility of configuration which used to be available when the OS was purchased as a separate product.
    Additionally, please let me know if it is possible to purchase Toshiba laptops as a RAW machine, i.e no OS supplied, and I will then buy my own and cut out the rubbish which is supplied on the pre-installed media.

    >Why Toshiba notebooks are not delivered with the common Vista install CD?
    The answer is very simple: software is bundled to hardware and when you buy notebook you buy license for preinstalled Vista version and you can install recovery media so often you want and it belongs JUST to your notebook model. It cannot be used with other notebook or PCs.
    If you get usual Vista installations DVD it can be installed on each computer system. For such purposes you must buy Microsoft installations DVD.
    As you already wrote Toshiba recovery image contains much software that can be not useful for you. You can remove it from the system and nobody force you to use them. I do the same.
    After clean OS installation the first thing I do is to remove or software I don't need or I don't like.
    I optimise preinstalled OS on my own.

  • Sorry. Credit Cards are not allowed at this store....

    So, I have a US based credit card and I'm located in the US. All of my account info is updated with my latest address and credit card info.  I can't seem to purchase anything in the store with a credit card.  When I click on buy it brings up the message "Sorry. Credit Cards are not allowed at this store."
    Really? Nokia doesn't want to sell me anything? Is this a bug or intentional?

    At some point in the US, if you used AT&T SIM cards, the Nokia/Ovi Store required that purchases are done via the phone bill (so called operator/carrier billing). Presumably Nokia's agreement with AT&T states that for AT&T customers, credit/debit card payments are to be disabled. I'm not sure if this still the situation in the US.

Maybe you are looking for

  • Upgrading Vista to Windows 7 problem

    So, I know Apple hasn't officially supported installing 7 yet, but I've been trying to upgrade from Vista Business edition. It will get almost all the way through and then have some kind of issue and says it reverts back to Vista. Has anyone else had

  • Implementing Conditional Insert, Update, and Delete Allows for View Objects

    Steve, Thanks for the info in this article it was very helpful. I have one question as I created a test case that used dept & emp tables as master and detail. Placing code in the emp detail ViewRowImpl that also tests to see if the master is updateab

  • Where is the download for Camera Raw 8.3?

    I just upgraded from Lightroom 5.2 to 5.3 and when passing an image to Photoshop CS6 to edit it says I need to upgrade Camera Raw to version 8.3 for full functionality. But I can't find the Camera Raw 8.3 download; it doesn't seem to be on the Adobe

  • Mixed up albums

    I have recently loaded iTunes and am trying to import albums from my PC. Almost every time I do import my albums get split up into one or more tracks in one or more albums of the same title. I want all the tracks for a particular album to be in that

  • HT1222 Anybody else having problems installing itunes version 11 on a MacBook Pro?

    Anybody else having problems installing itunes version 11 on a MacBook Pro? Is so, how can they be resolved?