Nested Transactions are not supported by J2EE.

I am a relative newbie to J2EE and am trying to get my head around transactions. I will use the following components to illustrate my questions.
I have two container managed enterprise beans, Bean-1 and Bean-2. Bean-1 has a single method method-A. Bean-2 also has a single method method-B. The code in method-A calls method-B.
We have the following scenarios:
1. A servelet calls method-A, starting a new transaction. Method-A calls method-B.
2. Another servlet calls method-B starting a new transaction.
And now for my first questions ......
Am I right in saying that, as the beans are container managed, scenario 1 does not create a nested transaction as the begin and commit are controlled by the container and only issued at the beginning / end of the overall transaction as appropriate.
Now lets change the set-up slightly. Lets assume that both beans have bean managed transactions using JTA. At the beginning and end of both method calls appropriate begin / commit / abort code is inserted.
And now the second question ......
A call to method-B starting a new transaction (scenario 2) works fine. Am I right in saying that a call to method-A under scenario 1 would not be allowed as when method-A calls method-B a nested transaction would occur as both methods have begin / commit code.
Thanks any help with this query.
Paul

hello
We have a very strange problem in our application.
I have the following code in an MDB onMessage() metod
// inserts 100 rows into table1
//in the dploymentdescriptor method is marked with requiednew
statelessSessionBean1.generaterowsWithNewTransaction();
//updates a row in table2
//in the dploymentdescriptor method is marked with requiednew
statelessSessionBean2.updaterow1WithNewTransaction();
//updates a row in table3
//in the dploymentdescriptor method is marked with requiednew
statelessSessionBean3.updaterow2WithNewTransaction();
when the above code is successfully executed and transactions are
committed succussfully, we have at times the situation like the first
100 lines inserted into DB are not available but the other two table
rows are updated. After a while if we see again in DB we are finding
the 100 rows as well. Again this situation happens very sporadically.
Any help would be appreciated. Thanks in advance.
Venkat

Similar Messages

  • Error - protected tab titles are not supported

    Hi,
    I get the following error when going to transaction va02, it says
    "Protected tab titles are not supported( tab TAXI_TABSTRIP_OVERVIEW title TAXI_TABSTRIP_CAPTIONS-TAB05)
    How do i correct this?
    Thanks
    Keshi

    Hi Prasad,
    Thanks for ur reply.
    Can you please explain a bit so that i can ask one of the basis consultant to do the necessary?
    Thanks
    Keshi

  • BBPGETVD - error:backend systems with release 700 are not supported

    Hi,
    When I am trying to replicate vendor data from EEC to crm 4.0 via BBPGETVD.
    I get the error message"backend systems with release 700 are not supported"
    Is anyone have Idea what is wrong? and how can fix it?
    Thanks,
    Rachel

    Yossi,
    I believe that standard transaction does not work with ECC 6.0.  The standard response would be to upgrade your CRM system to 5.0 so that you can download vendors from ECC 6.0.
    Bascially the vendor replication programs in CRM below 5.0 aren't really that reliable for delta downloads(one error will cause an entire load to fail).  So you probably at best should copy the SAP standards to generate custom load programs as a starting point.
    It is not too difficult and overcomes some of the restrictions that SAP puts in place(i.e. you can only use one number range for vendors downloaded, etc.).  This is definitely one of the weak points of CRM 4.0 that was fixed in CRM 5.0.
    If you have more questions on this let me know.
    Take care,
    Stephen

  • 'Backend systems with Release 701 are not supported'

    while BBPGETVD transaction is run below error is seen,
    'Backend systems with Release 701 are not supported'
    Please help to resolve it.

    Hi
    What is your backend system ECC version?
    What is the configuaration in Define back end system?
    Note 1313972 - BBPGETVD: Backend system latest release not supported
    br
    muthu

  • BBPGETVD throwing an error -Backend system with release 701 are not support

    Experts,
    After changing the Backend connection from  R3 4.6c to ECC6 sysem in our BBPCRM4.0,
    the transaction "BBPGETVD" is not working, which is throwing an error as
    "Backend system with release 701 are not supported".
    Already we have applied some of the notes (822883 &862290)
    Thanks
    Ahamed

    Are you able to replicate other data like plants, product categories from the same backend system or are you facing the same error?
    Also please check the logical system and see if they are assigned to the client correctly. (in SPRO settings)
    Thanks,
    Prashanth

  • Inbound Queue blocked: Parallel and alternative sequences are not supported

    Hi,
    Just now, I checked the Inbound Queue in SCM system through SMQ2 and found which was blocked by error message "Parallel and alternative sequences are not supported". Could you please tell me what does it mean? How to fix it?
    Thanks,
    Quanyin Su

    Hi Quanyin Su,
    Parallel and Alternative sequences are used in routing.
    I believe you are trying to CIF PPM/PDS from ECC to APO and you are getting this queue stuck at inbound of APO.
    Both the alternative and parallel sequences are supported in APO.
    Alternative sequence is used as alternative modes in APO.
    I can think of this as a master data issue.
    At least one of your work center used in either of the sequences is not available in APO or is not APO relevant.
    Could you please check your master data such as all the work centers used and make sure your parallel and alternative sequences are consistent.
    Once you made sure that master is available in ECC, you can CIF it to APO by using CURTO_CREATE transaction in ECC.
    Please see below link for Routing and its usage in APO:
    http://help.sap.com/saphelp_apo/helpdata/en/99/ed3a981d0f11d5b3fc0050dadf0791/content.htm
    You also need to activate a BADI in order to sent alternative sequences to APO.
    Below thread has all the details regarding this.
    Re: /SAPAPO/CURTO 103 : Mode .. is not assigned to an activity
    Regards,
    Abhay Kapase
    Edited by: AbhayKapase on Aug 5, 2011 2:24 PM

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

  • Error message: "FireWire connections are not supported.  To transfer songs"

    I recently purchased a Monster iCarPlay to play my ipod in my car. I have had no problems until recently. Upon disconnecting my ipod from the iCarPlay wire, I the following message popped up: "FireWire connections are not supported. To transfer songs, connect the USB cable provided." It also prompts me to click the center button to dismiss the message. However, I'vd followed these instructions, and the message does not go away. Does anyone know what I can do to resolve this problem? Or is it anything to worry about?

    That is the message you see when you attach a 5th gen iPod to a computer using FIREWIRE. so... i suspect that for some reason, the 3rd party iCarPlay device must be confusing the iPod into thinking it is being docked or attached to a data line of some type and not simply charging.
    As for the sudden occurrence of the message, it does seem strange however, keep in mind that you are using a 3rd party device that may not be supported or endorsed by Apple at all.
    Beavis2084

  • "one or more of the items in your selection contains Aperture albums that are not supported in iphoto".

    I have some folders in iPhoto called 'Recovered Folder'. When I try to delete them I get this message: "one or more of the items in your selection contains Aperture albums that are not supported in iphoto".
    I don't use Aperture (did install it to try it out), and have deleted Aperture App from my Mac.
    How can I get rid of these fodlers?

    i finally figured this out:
    fyi, iphoto and aperture can now share (i.e., access) the same library. apple details it here:
    http://support.apple.com/kb/HT5260?viewlocale=en_US&locale=en_US
    i use both iphoto and aperture, and i suspect something went amiss, at some point, while aperture was accessing my iphoto library.
    this is how i fixed the problem:
    i launched aperture, then (per the instructions linked above) switched to (i.e., accessed) my iphoto library. i was then able to delete the "recovered folder" and the album it contained. i then quit aperture and relaunched iphoto.
    NOTE: at that time, although i expected the "recovered folder" to be gone, it was still present. but this time, i was able to delete the folder from within iphoto without the "contains aperture items" error message.
    (Sparky030405, i realize you've since deleted aperture. while i can't say my method is the *only* way to solve this problem, it's the way i was able to solve it. so, you might consider reinstalling aperture in order to delete the folder, then uninstalling aperture, once again.)

  • I have just transfered 2 dvd movies i purchases with digital copies to my itunes account and now i am trying to put them om my ipad it keeps telling me that these movies are not supported on my ipad.  what can i do?

    I have just transfered 2 dvd movies i purchases with digital copies to my itunes account and now i am trying to put them om my ipad it keeps telling me that these movies are not supported on my ipad.  what can i do?

    Highlight the movie, go to iTunes menu ADVANCED and select create iPad and AppleTV version.

  • HT5287 If DVD Movies, Audio CD's and even burning CD and DVD's are not supported, what is the point of DVD & CD Sharing then? Wouldn't it just be better to remote in or use a thumb drive if it's only able to be used for data transfer?

    If DVD Movies, Audio CD's and even burning CD and DVD's are not supported, what is the point of DVD & CD Sharing then? Wouldn't it just be better to remote in or use a thumb drive if it's only able to be used for data transfer?
    Or am I missing the bigger picture?

    As long as you have a Superdrive or an external burner/drive, burning, watching, installing, etc. from CD or DVD will work just fine. And so will sharing.

  • I need to setup 7800 Series IP Phones in the CUCM 8.6.2 which by default are not support but will work after install the software. Anyone have document from Cisco as I remember I seen once before.

    I need to setup 7800 Series IP Phones in the CUCM 8.6.2 which by default are not support but will work after install the software. Anyone have document from Cisco as I remember I seen once before.

    Hi Ali,
    I'll just add this reference to the good tips from my friend Manish (+5)
    Support for the 7800 series in CUCM 8.6.2 was first added with this
    Device Pack;
    Cisco Unified Communications Manager
    Device Package 8.6(2)(24104-1)Release Notes
    Cisco Unified Communications Manager Device Package Release 8.6(2)
    adds support for the Cisco IP Phones
    7821, 7841, and 7861 running SIP firmware release 10.1(1).
    The steps are in this doc
    http://www.cisco.com/web/software/282074299/107528/cmterm-devicepack-8.6.2.24104-1_Readme.pdf
    You might as well install the latest 8.6.2 Device pack
    cmterm-devicepack8.6.2.24112-1.cop.sgn
    Cheers!
    Rob
    "Seek it out and ye shall find  " 
    - OneRepublic

  • Save as PDF and Save PDF as PostScript options in the Printer dialog are not supported.

    I downloaded Indesign CS3 trial and liked everything about it until I attempted to print to postscript and got that message. Nothing I have tried has helped. I have seen in various forums that others are having the same problem, but haven't found any solution offered. I am running Tiger 10.4.10 on a new Intel Imac with 3G ram. This is a procedure I use very often in my workflow, and have never had this problem with CS2 on my PC or other Macs. Is there a solution? I downloaded the .1 update and installed that and it didn't change anything.

    PLEASE SOMEONE HELP ME.
    Its the first time Im using print booklet option to save my file. I have the same problem when trying to save as pdf and get the
    "The Save as PDF and Save PDF as PostScript options in the Printer dialog are not supported."
    I'm trying to save a .pdf of a booklet of a facing pages document of A4 size each facing page for a whole size A3, then hope to let the pages be correctly arranged by inDesing, then print and staple.
    Meaning pages will be like this - Page #60 left side [of the A3] - page #1 right side [of the A3] , page # 2 right side[of the A3] - page #59 left side[of the A3] etc...
    I CANT DO IT. I tried to follow Melvin Thompson , but when I choose save .ps and open it in preview all I see is independent a4 pages and just the left ones , .. How can I save my file as .pdf ready to be printed in a3 ?
    I really appreciate any help.

  • Features that are not supported by Excel in the browser and interactive reports will be removed from the saved copy

    I Created a power view in Excel 2013 and uploaded to my Power BI for o365 site.
    But when i click on my excel file it opens in browser,After that i click on File tab its showing me two option 
    1. Save a Copy
    2.Download a copy
    When i click on save a copy its showing me an warning below
    Features that are not supported by Excel in the browser and interactive reports will be removed from the saved copy.
    Continue with Save?
    If i continue saving it only saves an excel files with data only not the power view which i want to save with applied filters.
    Please help me for this

    Just to clarify, when you hit the option of Save As Copy, the whole experience goes into a "read-write" mode in Excel services, which currently doesn't support authoring, just consumption of PowerView sheets.
    Two mitigations that come to mind:
    1. Download the copy (as Brad suggests), rename the file and upload.
    2. Use the send to option of SharePoint online, give the file the right target document library (can be the same as source) and rename the file:
    GALROY

  • Backend System with Release 701 are not supported

    SRM 5.0
    Extended Classic Scenario
    CCM 2.0
    When updating the vendors in SRM system using TC - BBPUPDVD getting the below error message :-
    Backend System with Release 701 are not supported
    Have checked in table - BBP_BACKEND_DEST, the backend entry is properly maintained.
    Can any one advice.
    Regards,
    Jayoti
    Edited by: SAP jayoti on Dec 7, 2010 1:11 PM

    The problem is resolved for vendor relication after applying the below notes 1313972 and 1372175.
    ECC sandbox seems to be in 701 release. When the backend system ECC is in release 701, vendor replication fails with the error message that 'Backend system release 701 not supported'. We need to apply notes 1313972 and 1372175 to fix this issue. I have applied them in Sandbox and the issue is resolved now.

Maybe you are looking for

  • Can you use specific Core MIDI inputs in LE7?

    In various other MIDI applications on OS X, you can see a list of the current Core MIDI inputs and outputs, usually for the purpose of telling the application which input(s) and output(s) to use. For instance you might want to use something like Midi

  • Low batterie warning

    HI My mac does not alert me when is running out of power and just switch off. is that normal? what can i do thanks

  • Burn Failed

    I burned 9 disks for iPhoto backup. On the 10th disk I received this message: " Burn Failed The burn to the OPTIARC DVD RW AD-5680H drive failed. The disc drive didn't respond properly and can't recover or retry." I tried the 4 times, shut down, open

  • Photoshop CS5 mask problem

    When I use Photoshop CS5 as an external editor in Aperture 3.2.3 and apply a mask to an adjustment layer, the image often just brings the "masked" portion of the PS file back into Aperture, even after I flatten the layers in PS and save the file. As

  • AP1602I autonomous to lighweight conversion problem

    Hi guys, I'm doing migration from autonomous to LWAPP for some 1602i APs. I followed the usual procedure with the recovery image but after downloading and rebooting the AP keeps its ip/gw settings and is neither using the DHCP option 43 nor the DNS e