The method 'rollback' cant be called when a global transaction is active

I receive the following error stack while dequeuing a message (aq adapter outbound) and forward the message to a database (database adapter inbound) within Oracle ESB 10.1.3.4.
The database connection is dynamic using additional variables in the xlst transformation and putting the connection information (jndi name) in the xml doc:
<xsl:variable name="JDBC_RESOURCE"
select="/imp1:MixMatchMsg/imp1:Winkel/imp1:JNDI_NAME"/>
<xsl:variable name="SET_DATASOURCE"
select="ehdr:setOutboundHeader('/dhdr:OutboundDBHeaderType/dhdr:dataSourceName',$JDBC_RESOURCE,'dhdr=http://xmlns.oracle.com/pcbpel/adapter/db/;')"/>
An unhandled exception has been thrown in the ESB system.
The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException:
esb:///ESB_Projects/mixmatch_MixMatchESB/WriteWinkels.wsdl
[ WriteWinkels_ptt::merge(IntMixMatchCollection) ]
- WSIF JCA Execute of operation 'merge' failed due to: DBWriteInteractionSpec Execute Failed Exception.
merge failed.
Descriptor name: [WriteWinkels.IntMixMatch].
[Caused by: The method 'rollback' cant be called when a global transaction is active.]
; nested exception is:
     ORABPEL-11616
DBWriteInteractionSpec Execute Failed Exception.
merge failed. Descriptor name: [WriteWinkels.IntMixMatch].
[Caused by: The method 'rollback' cant be called when a global transaction is active.]
Caused by Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.4.0) (Build 080602))
: oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException:
The method 'rollback' cant be called when a global transaction is active.Error Code: 0.
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:644)
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:739)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:927)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:842)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:865)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:231)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:138)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:411)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:169)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Bu
The payload looks as follows:
<top:IntMixMatchCollection xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/WriteWinkels">
<top:IntMixMatch>
<top:nummer>1</top:nummer>
<top:omschrijving>C1000 Tandenborstels: 3 voor 2.56</top:omschrijving>
<top:kassabonOmschrijving1>Tandenborstelactie</top:kassabonOmschrijving1>
<top:kassabonOmschrijving2>3 voor 2</top:kassabonOmschrijving2>
<top:aantalPerKlant>2</top:aantalPerKlant>
<top:begindatum>2009-03-16</top:begindatum>
<top:einddatum>2009-03-21</top:einddatum>
<top:mixMatchGroepNummer>1</top:mixMatchGroepNummer>
<top:mixMatchGroepOmschrijving>WK 200912 Mix matchess</top:mixMatchGroepOmschrijving>
<top:intMixMatchDsCollection>
<top:IntMixMatchDs>
<top:volgnummer>1</top:volgnummer>
<top:aantalTeNemenArtikelen>3</top:aantalTeNemenArtikelen>
<top:omschrijving>C1000 Tandenborstels</top:omschrijving>
<top:kortingToerekenenJn>J</top:kortingToerekenenJn>
<top:bedragTeBesteden>1.23</top:bedragTeBesteden>
<top:kortingwaarde>2.56</top:kortingwaarde>
<top:mixMatchNummer>1</top:mixMatchNummer>
<top:intMixMatchHfdgrInDsCollection>
<top:IntMixMatchHfdgrInDs>
<top:hoofdgroepnummer>16</top:hoofdgroepnummer>
<top:mixMatchNummer>1</top:mixMatchNummer>
<top:mixMatchDoosVolgnummer>1</top:mixMatchDoosVolgnummer>
</top:IntMixMatchHfdgrInDs>
</top:intMixMatchHfdgrInDsCollection>
<top:intMixMatchArtikelInDsCollection>
<top:IntMixMatchArtikelInDs>
<top:artonnummer>10010205</top:artonnummer>
<top:actieInkoopprijsEncrypted>6C1407B28B5B7EDC</top:actieInkoopprijsEncrypted>
<top:uitsluitenJn>J</top:uitsluitenJn>
<top:mixMatchNummer>1</top:mixMatchNummer>
<top:mixMatchDoosVolgnummer>1</top:mixMatchDoosVolgnummer>
</top:IntMixMatchArtikelInDs>
</top:intMixMatchArtikelInDsCollection>
<top:intMixMatchHfdsubgrpInDsCollection>
<top:IntMixMatchHfdsubgrpInDs>
<top:hoofdsubgroepnummer>82</top:hoofdsubgroepnummer>
<top:mixMatchNummer>1</top:mixMatchNummer>
<top:mixMatchDoosVolgnummer>1</top:mixMatchDoosVolgnummer>
</top:IntMixMatchHfdsubgrpInDs>
</top:intMixMatchHfdsubgrpInDsCollection>
</top:IntMixMatchDs>
</top:intMixMatchDsCollection>
<top:intMixMatchTijdCollection>
<top:IntMixMatchTijd>
<top:dagnummer>1</top:dagnummer>
<top:begintijd>0001-01-0112.23.00</top:begintijd>
<top:eindtijd>0001-01-0114.45.00</top:eindtijd>
<top:mixMatchNummer>1</top:mixMatchNummer>
</top:IntMixMatchTijd>
</top:intMixMatchTijdCollection>
</top:IntMixMatch>
</top:IntMixMatchCollection>
Anybody any idea what could be wrong?
Any ideas for a workaround/solution?

I encountered this error while trying ADF tutorial CH10 - Developing an Edit Page, after changing some data on the Edit page and click on Save, the error appears on top of the page. The roll back was called implicatly by ADF, per stack trace msg it seems to come from failing to commit and then failing to roll back. Not sure why this is happening, please advise.
WARNING: The method 'commit' cant be called when a global transaction is active. [TopLink Warning]: 2006.12.27 12:14:39.963--ClientSession(29795927)--Thread(Thread[HTTPThreadGroup-6,5,HTTPThreadGroup])--Local Exception Stack:
Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: The method 'commit' cant be called when a global transaction is active.Error Code: 0....
at QPPublicFacade_LocalProxy_4ogao92.mergeEntity(Unknown Source)<----------> WHAT may cause mergeEntity failed??

Similar Messages

  • The method 'commit' cant be called when a global transaction is active.

    Hello,
    I've installed the SOAdemo a couple of times on local machines, and it works fine. Now I've deployed the SOADemo on a separate server and a strange error occurs in BPEL when testing the SOADemo.
    The SOAOrderBooking BPEL process runs into an error at the GetOrderId process:
    ================================
    file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_SOAOrderBooking_1.0_937b09d1bd8dae1b33b028b2871aef63.tmp/OrderSequence.wsdl [ OrderSequence_ptt::OrderSequence(OrderSequenceInput_msg,OrderSequenceOutputCollection) ] - WSIF JCA Execute of operation 'OrderSequence' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    unknown failed. Descriptor name: [unknown]. [Caused by: The method 'commit' cant be called when a global transaction is active .
    ; nested exception is:
         ORABPEL-11616
    =================================
    I am using SOA Suite 10.1.3.0 and Database 10201, deployed on Windows.
    Can anybody tell me what can cause this problem?
    Thanks in advance,
    Regards Leon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    Hi, I am getting the same error using ESB Database Adapter.
    My faultstring is:
    ========================
    oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/my_ESB/myAdapter.wsdl [ myAdapter_ptt::myAdapter(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'myAdapter' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    unknown failed. Descriptor name: [unknown]. [Caused by: The method 'commit' cant be called when a global transaction is active.]
    ; nested exception is:
         ORABPEL-11616
    DBWriteInteractionSpec Execute Failed Exception.
    unknown failed. Descriptor name: [unknown]. [Caused by: The method 'commit' cant be called when a global transaction is active.]
    Caused by Exceptoin [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
    Belső kivétel: java.sql.SQLException: The method 'commit' cant be called when a global transaction is active.Error Code: 0.
    ==========================
    (BTW, what has 'commit' to do with a procedure that is only reading the database?)
    Regards,
    Patrik

  • 'commit' cant be called when a global transaction is active

    I have a edit Form build from a findBreederById(Method), which comes from a toplink object.
    After changing any field and pressing the save button nothing is changed, and
    the OC4J logs shows the exception in this email subject.
    This is the code attached to the Save button:
    <methodAction id="mergeEntity"
    InstanceName="PetsPublicInterfaceLocal.dataProvider"
    DataControl="PetsPublicInterfaceLocal"
    MethodName="mergeEntity" RequiresUpdateModel="true"
    Action="999"
    ReturnName="PetsPublicInterfaceLocal.methodResults.PetsPublicInterfaceLocal_dataProvider_mergeEntity_result">
    <NamedData NDName="entity"
    NDValue="${bindings.findBreedersByIdIter.currentRow.dataProvider}"
    NDType="java.lang.Object"/>
    </methodAction>
    Any ideas ?
    Thank you.
    Roger.

    Hello Roger,
    I have the exact same problem as you. I was told to remove the commit() line from the code, which I did. The error stopped but no changes where made to the database, so I started using the "writeChanges()" method instead of commit(). Changes are posted to the database but no commit is made until I close my session. The thing is that I need commit to be made (of course!!)..... Does anyone know how can this be acomplished?
    The mergeEntity() method code (which executes every time I press the "save" button) I have is as follows:
    public Object mergeEntity(Object entity) {
    UnitOfWork uow = getSessionFactory().acquireUnitOfWork();
    Object workingCopy = uow.readObject(entity);
    if (workingCopy == null)
    throw new RuntimeException("Could not find entity to update");
    uow.deepMergeClone(entity);
    uow.writeChanges();
    //uow.commit();
    return workingCopy;
    }

  • Ever since the ios8 updates i cant do calls when i need to or when someone tries to call me or facetime me i would try to accept and it would say connecting or end it. like *** it screwed up my phone. and my apps always crash

    ever since the ios8 updates i cant do calls when i need to or when someone tries to call me or facetime me i would try to accept and it would say connecting or end it. like *** it screwed up my phone. and my apps always crash

    The process may vary among phones, but on the Bionic:
    Power down phone
    Hold volume up/down & power simultaneously
    Use volume down to navigate to 'Recovery', use volume up to select
    Should see screen with triangle and exclamation point next to an Android
    Press volume up/down simultaneously
    Use volume rocker to navigate to 'wipe cache' and use power button to select
    Once finished, use volume rocker to navigate to 'reboot system now' and use power button to select

  • I cant get call when i turn on my cellular data on iPhone5

    I cant get call when i turn on my cellular data on iphone5. My carrier provides only 2G data. Can someone please help me?

    Try resetting the iPod by holding the Menu and Center button for about 10 seconds. You should see the screen shut off and come back on with the Apple logo. If that doesn't work you'll want to try to restore the iPod through iTunes.

  • The resource manager is doing work outside a global transaction

    I use Orable 8.1.7.4 with Sun Java Application Server 7.0.0_04. The XA data source I use is oracle.jdbc.xa.client.OracleXADataSource.
    Oracle JDBC driver version is 10.1.0.2.0.
    I have an J2EE application with 2 EJB modules. Each EJB module works use own ConnectionPool.
    All Entity beans are CMP, CMT.
    All methods have transactional attribute REQUIRED.
    When I work with beans from single EJB module only, all works fine.
    When I try to call session bean method from a session bean from ANOTHER EJB module - an exception will be thrown:
    WARNING: JTS5041: The resource manager is doing work outside a global transaction
    oracle.jdbc.xa.OracleXAException
    Anyone got any idea?

    I remember having exact same problem with 9.2 drivers, the problem got fixed with 9.2.0.5 drivers -- perhaps Oracle hasn't ported the same fix to 10g drivers. As a workaround try creating non-XA datasource to avoid the exceptions.

  • 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?
    %

  • Need to track Function modules called when executing a transaction

    Hi All,
              Is there a way through which i can track function modules called, while executing a Transaction. Kindly provide pointers to it.
    Thanks in advance.
    Regards,
    Navin.

    Goto SE80 Transaction and use Program name for corresponding Transaction Use Find operation like Call Function .. then you will get list of FM ..
    There is no other option .
    reward Points if it is helpful
    Thanks
    Seshu

  • The addon page cant be found because a certificate wont be active till 2010

    when I go to the add-on page I get a error stating that the page has an invalid security certificate that wont be ready till 2010.

    Check the date / time on your PC in Windows.

  • Which method will be called, when invoking home.create() ?

    Hi,
    In a Stateless session Bean, I want initialize some variables, whenever a bean is created or retrieved from the pool. So I used the ejbCreate() method to initialize the variables, but it is called only first time when I call the home.create(). If I call the home.create() method next time it doesn't call the ejbCreate().
    Which method will be called, whenever I call home.create();.

    hi siva,
    first of all Ejbcontainers maintain a pool of stateless sessionbeans .when you call home.create() the ejbCreate () method is definitely called and you said you are initializing some variable and may be you are trying to retrive that value after home.create() method.. when you try to retrive the value thee value may be same as you have initialized or different depending upon the no of stateless session beans in the container. you have created a bean and there is no guarantee that the same bean will be called when you invoke retrieval method..
    i hope you understood.
    cheers

  • Call the method of a ejb??

    hi!
    I get EJB refrence ,How can I call the method of it?(I use the stand-alone application client)
    code:
    import javax.naming.*;
    //import javax.naming.InitialContext;
    import javax.rmi.*;
    import java.util.*;
    //import hello.*;
    public class jndi {
    public static void main(String[] args) {
    try {     
    Hashtable env = new Hashtable();
         env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
    env.put(Context.PROVIDER_URL, "iiop://localhost:3000");
         Context initctx = new InitialContext(env);
         Object objref = initctx.lookup("HelloEJB");
    the method I want to call
    } catch (Exception ex) {
    System.err.println("Caught an unexpected exception!");
    ex.printStackTrace();
    Because it is the stand-alone .I can not to convert the objref:
    HelloHome helloHome =(HelloHome)objref;
    what can I do???

    It still can work.
    Tere is a ClassCastException.
    And the the class name of the objref is "com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1".
    but my EJB is named HelloEJB.
    Is the object which I want to call????

  • Fax line used for outgoing calls when incomming fax not coming in?

    So is there a way to do this? Can I route the 1 FXO to FXS for incomming calls (and plug fax into FXS) or something like this and then use that line as an outgoing line when not in use?
    I don't need step but steps but the basics of how something like this could be configured would be awesome!!!

    I'm not sure if I understand. I set this up, so I understand phone systems enough to do this, but I don't really don't know the terminoligy.
    Let me back up.
    Currently our business has 2 lines and a fax line. Right now the two lines are plugged into 2 FXO ports and the fax line is just plugged into the fax machine--not the UC320. We're in mixed mode, not pbx specifically. We get one or two faxes a day and we send two or 3 faxes a day. We'd like to be able to use the fax line for outgoing calls when it's not being used for fax.
    So I need to be able to control the in and the out of the fax line. I need all incomming calls for the fax number routed to what I assume would be the FXS port (with the fax machine plugged into the FXS port), and none of the other lines routed in this way (the other lines would go to the attendant).
    Then I need if we send a fax, we need for when the fax machine opens the line for it to automatically be routed to the fax line. Then the fax machine can dial and send faxes. I think we send few enough faxes that we're not too worried about what happens if we try to send a fax and the phone is busy, but it would be nice to be able to look at a phone and tell if the fax line is in use.
    I don't really care if the Fax line is part of a shaed FXO, it can be a seperate choice on the phone for making outgoing calls (one of the buttons next to the screen or something).
    Is all this possible? Is it only possible in PBX style or is mixed ok?

  • Components method update not beeing called after repaint??

    Hello,
    I know that if I use Applet I can overwrite update(Graphics g) instead of paint(Graphics g). For use with repaint() method.
    This will prevent the super update class from repaint the background. Am I right to this point???
    In fact it works very well this way.
    Class Applet is inheriting the methods update and repaint from class Component.
    Now, I made a Class XX extending Component....
    why the hell is the method update not beeing calles in XX after I invoke repaint???
    In Applet it works, in Component it does not.
    Why???

    Does nobody have any ideas?
    It is very important for me to understand this basics.
    please please help, if you can.
    FatihC

  • One Method is not getting called from of one BADI Customer_add_data

    Hi,
    I am Implementing one method BUILD_TEXT_FOR_CHANGE_DETAIL
    I have done coding part also and set breakpoint to check the data.
    I went to transaction XD01 and created one customer and check the execution but it didnt reach to the step where i placed the break point.
    I checked the  program    SAPMF02D from transaction x01   and searched for the method where its being called . But search for unsuccessful as no reaults has been found.
    Please help me in rectifing this issue.
    Thanks,
    Izaz.

    if the question is not clear please tell me i ll write it in detail

  • Pre Ignore Incoming Call When Locked

    On the Palm Pre there is not a way to ignore an incoming call when the phone is locked. 
    Can this be added to the next OS update? 
    Post relates to: Pre p100eww (Sprint)

    Press the power button to ignore calls when phone is locked.

Maybe you are looking for

  • How to populate values in Apex item

    Hi, I am using apex collection item to capture data my requirement is to calculate data using the apex item This requirement is like this. I am using a SQL query like this select wwv_flow_item.TEXT(1,NULL,20,10) "A", wwv_flow_item.TEXT(2,NULL,20,10)

  • Installed windows 7, now can't boot OSX!

    I just installed windows 7 on my Mac Pro, now when I restart, hold option and select my osx partition, I get white screen, then apple boot logo, then progress bar for a second, then computer shuts off! Same thing booting from a backup I have. Disk ut

  • Variant option

    Hello Is it any possibility to create variants in Web Dynpro or Portal, like in R/3? I have SP15. Thank you Georgeta

  • Will my 2nd ipod sync with the first itunes

    I just purchased a second ipod and it doesn't seem like its syncing with itunes. Do I need to reinstall a new itunes with the current serial number/product registration?

  • Getting Erorr R6025 on Skype 7.3 when I log on and...

    I cant even get onto Skype anymore it crashes and then puts the error below. I am running Skype 7.3. It would be helpful if someone knew a fix for this because I have had this problem all day. Attachments: whatthe.jpg ‏13 KB