Error while doing commit with UnitOfWork

Hi all,
I get the following error while trying to do a commit with Unit of Work:
I'm trying to Insert a Row into the table here.
EXCEPTION DESCRIPTION: java.sql.SQLException: DSRA9350E: Operation Connection.commit is not allowed during a global transaction.
INTERNAL EXCEPTION: java.sql.SQLException: DSRA9350E: Operation Connection.commit is not allowed during a global transaction.
ERROR CODE: 0LOCAL EXCEPTION STACK:
EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.DatabaseException
EXCEPTION DESCRIPTION: java.sql.SQLException: DSRA9350E: Operation Connection.commit is not allowed during a global transaction.
INTERNAL EXCEPTION: java.sql.SQLException: DSRA9350E: Operation Connection.commit is not allowed during a global transaction.
ERROR CODE: 0
     at oracle.toplink.exceptions.DatabaseException.sqlException(Unknown Source)
     at oracle.toplink.internal.databaseaccess.DatabaseAccessor.commitTransaction(Unknown Source)
     at oracle.toplink.publicinterface.Session.basicCommitTransaction(Unknown Source)
     at oracle.toplink.threetier.ClientSession.basicCommitTransaction(Unknown Source)
     at oracle.toplink.publicinterface.Session.commitTransaction(Unknown Source)
     at oracle.toplink.publicinterface.UnitOfWork.commitTransaction(Unknown Source)
     at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(Unknown Source)
     at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(Unknown Source)
     at oracle.toplink.publicinterface.UnitOfWork.commit(Unknown Source)

Are you trying to make use of TopLink's JTS integration for the UnitOfWork?
How are you acquiring the UOW in code?
non-JTS, make sure to use session.acquireUnitOfWork()
for JTS, session.getActiveUnitOfWork() and never call uow.commit() since TXs are method based in an EJB.
Also, for JTS - ensure you tell TopLink's session you are using an external TX controller in the sessions.xml, just consult the examples that install with TopLink for a sessions.xml that makes use of external TXs.
Darren

Similar Messages

  • Error while doing confirmation with cor6

    Dear PP gurus,
    I am getting following error while doing confirmation. please suggest.
    "Error while importing from memory QAPO SAPLQEEV
    0400000363"
    Thanks in advance
    Kailash T.

    Hi,
    The structure QAPO relates to Inspection operation records & the program - SAPLQEEV relates to Spec. tables for results recording. Hence would suggest to discuss this with your QM personnel.
    Also was able to find a link which had a same issue, but no solution posted, have a look if it helps in anyway
    http://www.sapfans.com/forums/viewtopic.php?f=27&t=173200
    Also refer to OSS note - 334400. If all the above does not resolve the issue, raise an OSS message with SAP.
    Regards,
    Vivek

  • Error While Doing Backup with SuperDuper

    I bought a new hard drive and was atempting to do a backup with SuperDuper and got these messages:
    WARNING: Caught I/O exception(5): Input/output error
    | 08:32:50 AM | Info | WARNING: Source: /Library/Frameworks/LAME.framework/Versions/A/LAME, lstat(): 0
    | 08:32:50 AM | Info | WARNING: Target: /Volumes/WD USB 2/Library/Frameworks/LAME.framework/Versions/A/LAME, lstat(): 0
    | 08:32:50 AM | Info | Attempting to copy file using copyfile().
    | 08:33:32 AM | Info | Attempting to copy file using ditto.
    | 08:34:08 AM | Error | ditto: /Library/Frameworks/LAME.framework/Versions/A/./LAME: Input/output error
    Can anyone help me resolve this error? I used Disk Utility before SuperDuper and that backup also failed.
    Message was edited by: ImaVeggie

    I was trying to create a bootable backup to an external USB drive prior to installing my new internal hard drive. I simply deleted the LAME Framework folder that was giving the error and was able to complete the process. I think that had something to do with MP3 encoding, converting. Hopefully not in relation to iTunes. Anyone know?

  • Error while doing MB1C

    Hi All,
    I'm working on IDES, I got a error while doing MB1C with movement type 561. Error is "Error accessing functional module : FMFK_FIKRS_READ. Parameter : IP_FIKRS, IP_FMA_OBJNR"
    Regards
    Nagendra

    Hi Lakshmipathi
    How to deactive the functional module ? Just now I had checked Functional Module, IP_FIKRS is Financial Management Area and IP_FMA_OBJNR is Object number. If I deactive does this leads to some other problem ?
    Kindly guide me.
    Regards
    Nagendra

  • Error ,Field catalog not found while doing billing with DP90

    Dear Guru's
    while doing billing with DP90 transaction code.i have given service order no xxxx and execute.Then i received the below error
    Field catalog not found , Message no. 0K530.Kindly help me in solving the issue.
    Thank u
    S Babu

    hi naga suribabu,
    I am also facing same issue. can you please help, where to  check the configuration for this issue

  • Weblogic 9.1 with JDK1.6 giving error ( while doing weblogic.appc )

    hi,
    I am trying to build my ear using jdk1.6 with weblogic 9.1.
    I am getting this error while doing weblogic.appc using my ant scripts. Could some one pls let me know the solution for this problem.
    [java] Created working directory: c:\windows\TEMP\appcgen_gdoasis.jar
    [java] <02-Aug-2007 14:54:22 o'clock BST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile yo
    ur application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
    [java] javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLInputFactory could not be
    instantiated: java.lang.InstantiationException
    [java] at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:158)
    [java] at weblogic.ejb.container.dd.xml.DDUtils.<clinit>(DDUtils.java:85)
    [java] at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1345)
    [java] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:431)
    [java] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:292)
    [java] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:95)
    [java] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:113)
    [java] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    [java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:55)
    [java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    [java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:24)
    [java] at weblogic.application.compiler.Appc.runBody(Appc.java:151)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java] at weblogic.application.compiler.Appc.main(Appc.java:162)
    [java] at weblogic.appc.main(appc.java:14)
    [java] Provider javax.xml.stream.XMLInputFactory could not be instantiated: java.lang.InstantiationExcept
    ion
    Thanks

    Hi,
    First thing, I am not sure this will work :-)
    The main issue is that there is no StAX provider to parse I-not-know-what XML file.
    You may try to execute appc with the parameter
    -Djavax.xml.stream.XMLInputFactory=com.bea.xml.stream.MXParserFactory
    Anyhow, you may still have some issues given that Java 6 is not a supported Java version for WL 9.1.
    Regards,
    lg

  • Error while doing J1IH (Excise JV) - TR6 Challan posting

    I am getting the following error while doing,  J1IH (Excise JV) - TR6 Challan posting
    Please assist....
    Short text
        The COMMIT WORK processing must not be interrupted.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLFACS" had to be terminated because it h
        come across a statement that unfortunately cannot be executed.
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        During the COMMIT WORK statement, the following are executed:
        - the routines registered with the statement PERFORM .. ON COMMIT,
        - the registered methods for the events of the object services
          and
        - possibly the local update (SET UPDATE TASK LOCAL).
        An exception was raised and caught. The normal sequence of the routines
        was interrupted by this resulting in the program being continued before
        the call of COMMIT WORK. As this can lead to inconsistencies, the
        processing cannot be continued in the normal way.

    Thanks Milind...
    I am also getting the following error:
    Balance in transaction currency
        Message no. F5702
    Diagnosis
        A balance has occurred in transaction currency 'INR' with the following
        details:
        Exchange rate '00', amount '       500,000.00' and currency key 'INR'.
        The data in the transaction currency were transferred from the calling
        application.
    System Response
        Your data cannot be processed in FI.
    Procedure
      The error is probably in the calling application.
    Please assist

  • Error while doing ABGL Asset Credit Memo

    Hi Friends,
    I am getting the below error while doing Asset Credit Memo in ABGL. Please help me in fix this issue.
    Balance for transaction type group 10 negative for the area 01
    Note:In Asset Explorer Fiscal year start Asset value is 98,425.45 and Change is 4768.19. So total Asset value as of now is 1,03,193.64.
    Now we are trying to do ABGL with 12,790.23 value (Transaction type is 105). System is giving the above highlighted error.
    If we give the amount 4768.19 in ABGL transaction, system is not giving any error. If we give more that that system is giving error.
    Why system is giving error even the asset has balance of 1,03,193.64? Please help me on this..
    Thanks
    Sunil

    Hi,
    If the asset has been capitalized during earlier years, use ABGF to post credit memo.  ABGL is meant for assets capitalized during the year.
    Best Regards,
    Madhu

  • Error while doing EHP4 upgrade in downtime phase

    HI .
    Iam facing the below error while doing the EHP4 upgrade , in downtime phase.
    Checks after phase MAIN_SWITCH/STARTSAP_TRANS were negative!
    Last error code set: RFC call to subst_get_uvers failed with key RFC_ERROR_COMMUNICATION (open): SAP_CMINIT3 : rc=20 >
    Connect to SAP gateway failed Connect_PM GWHOST=Hydhtc4526D, GWSERV=sapgw04, SYSNR=04  LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.136.162.30:3304' not reached TIME Mon Jun 06 18:17:46 2011 RELEASE 720 COMPONENT NI (network interface) VERSION 40 RC -10 MODULE nixxi.cpp LINE 3286 DETAIL NiPConnect2: 10.136.162.30:3304 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER System start failed
    Please help me in resolving this error.
    Sanketh.

    Hi,
    Upgrade tool is trying to start the system but system is not coming up. Try to start system manually and see if system comes up or not. If not then check logs in work directory for why system is not coming up.
    Thanks
    Sunny

  • Error while doing  GR for scheduling aggrement

    Dear Experts,
    We are facing error while doing GR for scheduling aggrement.
    we have done the following steps.
    1) Scheduling aggreement in ME31L
    2) Released in ME35L
    3) Mainatined Sch.Agmt Schdule in ME38 for todays and date 200 qty and other line is 800 qty.
    When we are trying to do GR in MIGO system is giving the following message.
    Document 5500000152 does not contain any selectable items
    can I know what I have missed in the above steps.
    Please guide me to resolve this.
    Regards,
    Prasad

    Hi,
    Please check Please check if Gr is already done against this document.  Also please check whether you have attached SA in the source list with line items.
    T-code:ME01
    Enter Mat.code & Plant.
    In the next screen pl.do the following:
    Valid from - commencement date of the SA
    Valid to - End date of the SA
    Vendor - Vendor on whom the SA is released
    POrg - Your purchase organisation
    PPL - Leave it blank(This is only for interplant)
    OUn - Ordering unit
    Agreement - SA number
    Item - 1
    I hope this will resolve your issue. Thanking you

  • Error  While doing ABT1N transaction

    Hi,
    I am facing the below error while doing ABT1N in Asset Accounting.Please help me in fixing this Issue.
    Error Message -No depreciation area for receiving the revenue
    Message no.AAPO149
    Diagnosis
    You tried to post a retirement on asset 1000 100007-0.You entered transaction type 300,in which the retirement with revenue indicator is not set
    You tried to transfer asset 1000 100007-0.According to transfer variant 0001,none of the areas on the asset uses a transaction type for retirement with revenue
    In  both of these cases, you are not allowed to enter revenue or make specifications for the determination of revenue.
    Proceedure
    Check the transfer variant  and check your entry
    please do the needful
    Thanks
    Supriya

    Hello,
    You will have a check box for the same.
    Double click on transaction type, you will see the check box for revenue.
    Otherwise, tomorrow I will get back to you once I am in front of the system.
    Regards,
    Ravi
    Edited by: Ravi Sankar Venna on May 5, 2009 7:53 PM

  • Error while doing BAM configuration in JDeveloper

    Hi,
    I tried to create a connection to my local BAM Server in JDev 10.1.3.2.0 and also in 10.1.3.3, but I always failed! Error messages:
    "Server is not set up correctly SOA1"
    I'm running on Windows 2003 and installed BAM according to the Installation Guide (version was Bam with Enterprise Link for windows 10.1.3.3.0).
    I did not get any error while doing the other setups and can access the different BAM tools via the Oracle BAM Start page, but I can't create a connection in JDev. I used the following parameters:
    Host Name: SOA1(system name)
    Port Number: 80
    User Name: Administrator
    Password: <windows domain pwd>
    Domain Name: DOMAINNAME
    Any help would be highly appreciated.
    Regards,
    Shaily

    hi Shaily
    It looks like suggesting a different forum is not needed, because you already tried that ...
    Error while doing BAM connection in jdeveloper
    Error while doing BAM connection in jdeveloper
    Error while doing BAM connection in jdeveloper
    I hope you get some answers.
    success
    Jan Vervecken

  • Error while doing BAM connection in jdeveloper

    Hi,
    I tried to create a connection to my local BAM Server in JDev 10.1.3.2.0 and also in 10.1.3.3, but I always failed! Error messages:
    "Server is not set up correctly SOA1"
    I'm running on Windows 2003 and installed BAM according to the Installation Guide (version was Bam with Enterprise Link for windows 10.1.3.3.0).
    I did not get any error while doing the other setups and can access the different BAM tools via the Oracle BAM Start page, but I can't create a connection in JDev. I used the following parameters:
    Host Name: SOA1(system name)
    Port Number: 80
    User Name: Administrator
    Password: <windows domain pwd>
    Domain Name: DOMAINNAME
    Any help would be highly appreciated.
    Regards,
    Shaily

    *** Duplicate Posting ***Edited by: damorgan on Oct 6, 2008 11:05 PM

  • Error while doing File to File Scenario

    All,
    I am trying a simple file to file scenario - where xi picks up the file from a location and maps the message and dumps it in another location.
    I am Getting the below error while doing the same .........
    Time Stamp Status Description
    2009-03-30 14:30:24 Success Channel Test_send_cc: Send binary file  "d:\input\input.xml". Size 203 with QoS EO
    2009-03-30 14:30:24 Success Application attempting to send an XI message asynchronously using connection AFW.
    2009-03-30 14:30:24 Success Trying to put the message into the send queue.
    2009-03-30 14:30:24 Success Message successfully put into the queue.
    2009-03-30 14:30:24 Success The application sent the message asynchronously using connection AFW. Returning to application.
    2009-03-30 14:30:24 Error Attempt to delete file "d:\input\input.xml" after processing failed. Retry
    2009-03-30 14:30:24 Success The message was successfully retrieved from the send queue.
    2009-03-30 14:30:24 Success The message status set to DLNG.
    *+2009-03-30 14:30:24 Error Transmitting the message to endpoint http://filip:8000/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized.*
    2009-03-30 14:30:24 Success The asynchronous message was successfully scheduled to be delivered at Mon Mar 30 14:35:24 GMT+05:30 2009.
    And i cant see the meesages using the SXMB_MONI trasaction
    please help me resolve ths issue
    Regards,
    Mahesh.
    Edited by: mahesh uma on May 3, 2008 2:12 PM

    Hi Uma,
    Go through this links::
    Hope these links are useful to you..
    Urgent: Message not transmitted from AFW to Integration server
    Error with huge file
    File to JDBC error
    Thanks,
    Satya Kumar..

  • Error while doing MIRO-Overflow for arithmetical operation (type P) in prog

    Hi ,
    I am getting the error while doing the MIRO  as below-
    Runtime Errors         COMPUTE_BCD_OVERFLOW
    Exception              CX_SY_ARITHMETIC_OVERFLOW
    Date and Time          20.05.2009 10:07:03
    Short text
         Overflow during the arithmetical operation (type P) in program "SAPLMRMC".
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLMRMC" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not
          caught in
         procedure "MRM_AMOUNT_QUANTITY_PROPOSE" "(FUNCTION)", nor was it propagated by
          a RAISING clause.
         Since the caller of the procedure could not have anticipated that the
    Please let me know how can this be removed.

    Hi,
    There can be some problem with tolerances set in the customizing.
    In my case, I was getting this error because of delivery date variance. The difference between delivery date maintained in PO and invoice date was huge and hence the multiplication of price of PO and difference  of delivery date was huge and that was the reason for error.
    Similarly in your case also, there will be some tolerance limit problem.
    Please check your tolerance limits set in customizing.
    Regards,
    Mihir Popat

Maybe you are looking for

  • Print to PDF from Word 2011 creates problems at section breaks

    I have a user trying to create a pdf of his thesis. He created the thesis on Microsoft Word 2011 for Mac, and we use Acrobat 10. It has a number of section breaks where he switches from portrait to landscape and back. When he tries to print to PDF, n

  • What is the difference?

    I'm a bit confused between the difference between the following 3 ways of setting up PSTN fallback if WAN bandwidth is insufficient in GK scenario Say I want to call extn 3xxx on the remote office. The intercluster prefixs are *801, and the PSTN digi

  • Task in Process Definition not Running when Trigger Automatically

    Hi All, I have created a task in Process Definition (eBusiness Suite User)and attached JAVA code to this task. Also i have triggered this task on C response of Email Updated Task . I also have Change Email Task which is mentioned in Lookup.USR_PROCES

  • Why no sound output?

    This will seem really dumb but I am getting no sound today, on the same project as yesterday. I am playing an Akai EWI breath controller and can see in the transport bar the 'NO IN' change each time I play a note. But the bottom 'NO OUT' stays that w

  • Export scripts

    I would like to know how to develop export scripts with suitable buffer size to preserve important tables before and after batch process (for bill processing ) using export utility / import utility