BaseResourceException- 2 phase committ Problem.

Hi,
Scenario: I have a method which calls an external service (BAPI) and another method which calls a database table.
Problem: I get the below Exception.
ResourceException occurred in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: The resource "xxxDB" does not support two-phase commit and cannot be enlisted in the current transaction, because another non supporting two-phase commit resource is already enlisted for component "ejbContexts/xxx.com/dcyyyear/xxx.
Both the methods return output individually but when called inside this outer method, I get above Exception.
Can anyone help me out with this?
Regards,
Gaurav.

Hi Gaurav,
Well, the exception message more or less says it all. You have a connection to a SAP backend already enlisted in the JTA transaction, and you are trying to get a connection to a DB which also comes from a non-XA datasource. You cannot have more than one non-XA-enabled connection enlisted in the same transaction. Either you have to make one of them XA, or demarcate transactions in a more fine-grained manner and use these two connections in different transactions, or make one of them non-transactional.
For more information, please refer to [this|http://help.sap.com/saphelp_nwce10/helpdata/en/ce/32dfe352a04b5fb8a89b4f245fd93b/frameset.htm] help page.
HTH!
\-- Vladimir

Similar Messages

  • ChaRM: Internal Phase Controller Problem

    Hi Team,
    I am working in Sol Man ChaRM. My scenario is as below:
    We would like to create two maintenance projects one for nomal corrections (SDMJ) & another for SDHF corrections.
    I have successfully created one mainteance project for SDHF corrections (Activated ChaRM check box) in SOLAR_PROJECT_ADMIN.
    I am trying to create one more maintenace project to handle normal corrections (SDMJ) in SOLAR_PROJECT_ADMIN. Both two projects uses same logical components. When i try to activate the check box "Activate ChaRM" in the second project, i am getting below error.
    Internal Phase Controller Problem
    Message no. /TMWFLOW/TASKLIST176
    Diagnosis
    The system was unable to generte the task list due to an internal error in the phase controller.
    For more information, see the application log (choose Messages on Generation).
    Need your valubale input to solve the error.
    Thanks
    Kumar

    Hello Kumar,
    If applicble for your release and SP level you may want to review and implement the following notes:
    #927124, #1011376 and #987927
    They should help you in solving your problem.
    Also please refer to the following link, where you find a summary of
    the steps that should be done to prepare the CHARM scenario:
    "First steps to work with Change Request Management scenario"
    First steps to work with Change Request Management scenario in SAP Solution Manager 7.0
    Further details can be found in the following SDN blogs:
    "Change Request Management scenario: Usual questions"
    http://www.sdn.sap.com/irj/scn/weblogs;?blog=/pub/wlg/15116
    "Change Request Management scenario: Working examples"
    http://www.sdn.sap.com/irj/scn/weblogs;?blog=/pub/wlg/15117
    Regards,
    Paul

  • We have phase a problem in my i pad  i pad desplayed  this ipad hasn"tbeen backedup in 2 weeks.Backups happen whenthis ipad is plugged in, locked, and connected to wi-fi

    we have phase a problem in my i pad  i pad desplayed  this ipad hasn"tbeen backedup in 2 weeks.Backups happen whenthis ipad is plugged in, locked, and connected to wi-fi

    I've been having this problem too and unfortunately your suggestion didn't work, neither does hooking it up to my computer and trying to back up through iTunes!  I think Apple need to look into why this issue keeps happening to people but it seems impossible to get any proper Apple support unless you are willing to pay extra.

  • Data-source.xml -  BaseResourceException - two phase commit

    Hi,
    I am seeing the following exception.   Please let me know how to fix this.
    thanks
    Sunita
    com.sap.engine.services.connector.exceptions.BaseResourceException: The resource "xxx" does not support two-phase commit and cannot be enlisted in the current transaction, because another non supporting two-phase commit resource is already enlisted for component "webContainer/applications/JavaEE/YY-TPRO/YYr-TPRO" in application "JavaEE/YY-TPRO". Only one of the enlisted resources is allowed to be non two-phase commit compliant.
    I am using JDBC 1.x datasource, and the .xml looks like this:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE data-sources SYSTEM 'data-sources.dtd'>
    <data-sources>
      <application-name>JavaEE/yy-TPRO</application-name>
      <data-source>
        <data-source-name>xxx</data-source-name>
        <alias>jdbc/xxyyDB/TPRO</alias>
        <driver-name>OracleThin</driver-name>
        <init-connections>1</init-connections>
        <max-connections>20</max-connections>
        <max-time-to-wait-connection>60</max-time-to-wait-connection>
        <sql-engine>vendor_sql</sql-engine>
        <jdbc-1.x>
          <driver-class-name>oracle.jdbc.driver.OracleDriver</driver-class-name>
          <url>jdbc:oracle:thin:@sol-mercury:1521:hermes</url>
          <user-name>abcd</user-name>
          <password>abcd</password>
        </jdbc-1.x>
      </data-source>
    </data-sources>

    HI,
    Thanks for the response, I already went through these threads.
    My exception seems to be related to this - Problem with connection sharing if J2EE transaction is running
    and suggested solutions seems to be:
    The problem is caused when there is an inappropriate attempt to open a second connection in an active JTA transaction. There is either an attempt to get a second connection from an un-shareable non-XA DataSource or an attempt to get it from another non-XA DataSource. You have to:
    &#9679;     Use no more than one connection from this data source while the JTA transaction is active or
    &#9679;     Declare the data source as shareable, depending on your application logic.
    Question is, How can I make data source as shareable?? 
    This application worked fine in JBoss, weblogic and now we are trying to port it to NetWeaver.
    Is any of the above options are configurable in data-sources.xml?
    Thanks for your guidance and response.
    Surekha

  • How to acquire correctly three-phase signals (Problem with the gap between signals)

    Greetings
    I need to analyze three sinusoidal signals 120 degrees out of phase by nature including my version of LabVIEW 7.1 and the acquisition card I used is the Measurement Computing USB 1208FS. In principle the acquisition and display them individually does not represent any kind of inconvenience, the problem arises when I try to observe the three signals in the same waveform graph. At this point to run the test continuously (Continuously RUN) the signals lose their phase shift and this becomes variable along the process of signal acquisition occasionally taking its original phase shift (in Figure 2 shows how to vary the phase angle between the signals), just watch the same channel form using 3 distinct stages and the signal (in theory the same) is outdated fig 4. How can this problem be corrected? There is some appreciable time lag between data collection in the different channels that would alter the correct acquisition of the signals. You can correct varying the sampling frequency (rate) and the count?
      Pd = vi attachment used for the acquisition
    Thanks
    Attachments:
    figure 2.jpg ‏70 KB
    figure 4.jpg ‏72 KB
    3 channel.vi ‏388 KB

    Duplicate Post
    Cory K

  • Phase 2 problem

    Hi.
    We are having problems with our ipsec sa.
    Phase 2 is failing to establish with a high number of send errors.
    #send errors 411125
    Debug error is
    Dec 04 16:00:16 [IKEv1]: Group = 194.71.21.21, IP = 194.71.21.21, Static Crypto Map check, map = outside_map, seq = 6, ACL does not match proxy IDs src:0.0.0.0 dst:network-Local
    I know this implies that a matching crypto map is not present but this WAS working until today.
    Could anyone help?

    it seems to attempt the SA as expecting using the local Ident but then attempts another using 0.0.0.0/0.0.0.0 any ideas why this would happen?

  • Phase Authorization Problem

    Hello there,
    I'm having problems to authorize phase to sync to my iPod.
    I am logged into Apple Store and i authorized this computer, but still, when i try to sync the game, iTunes gives me this error message:
    The game "Phase" was not copied to the iPod "Jack's iPod" because you are not authorized to play on this computer.
    Thats false, because i just authorized my computer right before trying to sync the game to my iPod.
    Do you guys have any idea of what's wrong?
    Maybe i disabled something in Preferences?
    Thanks in advance.

    Okey, i'll try it and tell u if it worked or not.
    Thanks for helping!

  • Phase Lock problem with a PXI-1000 chassis

    As already discussed here, we had an application running smoothly on a 1042 chassis with a 8186 controller.
    We generate two sine waves in phase quadrature, using two 5411 boards.
    Unfortunately, we are now obliged to use a PXI-1000 with a 8170 controller, and we don't get anymore the expected results : the signals are generated with the correct frequency and amplitude, but the phase offset is totally unstable, as observed on an oscilloscop.
    We are using the Synchronized wave generation NI example. Are we missing something ?
    Please consider that we are not specialists in electronics, just plain biologists .
    We need help URGENTLY !!!
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

    One thing that I noticed between the 1000 and the 1042 is that the 1000 has the Fan integrated with the power supply, so the fan is probably run off AC.  In the 1042, the fan is run off DC and as stated in the specifications greatly reducing electronic noise.  It could be that your phase offset is caused by the AC fan in the 1000.
    You might want to try to move everything as far away from the power supply and fan as possible (if it is possible) to see if this helps at all.
    Also, the 1042 and 1000 have a 10 MHz reference signal for timing pusposes to each of the modules.  The 1042 has an accuracy (skew) of 250 ps between each of the mudules.  The 1000 has a skew of 1 ns, obviously much greater of an error (less accurate), which could be causing some issues as well.
    I do not know what freq you are operating at, but you may be able to filter some of the 60 Hz frequencies out with a smaller capacitor 0.1uF or so.
    Good luck.
    Kenny
    Kenny

  • Square wave generation phase offset problems using PXI6602

    Hi,
    I am generating 2 signals to use for simunlating an Incremental AB encoder using a PXI6602.
    The signals need to be square wave, 34.133Khz, offset by 90degrees which I am setting by dividing (1/frequency) by 4 and putting the result into the DAQmx Create Channel (CO-Pulse Generation-Frequency).vi initial delay node.
    The resulting signals phase difference however does not consistantly measure 90degrees. At least 1 in 5 runs of the vi has a phase angle issue resulting in a failed test.
    Can anyone suggest a stable fix for this.
    Thanks,
    David

    Thanks John_P1,
    that seems logical and as for the frequency, it's not really critical that it's exactly 34.133Khz as long as it's there abouts.
    I've had a little play with the trigger suggestion using the examples in LabVIEW as reference (Hardware Input and Output>DAQmx>Counter Output) but I'm getting an error as seen in the attached image no matter what I select the trigger source as.
    I am relatively new to LabVIEW program building and have had no formal training as yet so could you possibly look at the attached vi and suggest or impliment the required changes to get this vi working please.
    Thanks.
    David.
     

  • Phase Listener Problem

    Hi all
    i want to chnge visul component values when page first loads
    i implemented PagePhaseListener in my beacking bean to cach page load event
    when i want to change the values of visual components the effect takes place when the page is rendered for the second time but for the first time components has original values
    public void beforePhase(PagePhaseEvent event) {
    if (event.getPhaseId() == 0)
    if (!isPostback())
    button1.setText("test");
    how to echive this
    Thanks in advance

    Hi,
    not sure what PhaseId 0 stands for, but here are the constants
    Lifecycle.INIT_CONTEXT_ID
    Lifecycle.PREPARE_MODEL_ID
    Lifecycle.APPLY_INPUT_VALUES_ID
    Lifecycle.VALIDATE_INPUT_VALUES_ID
    Lifecycle.PROCESS_UPDATE_MODEL_ID
    Lifecycle.VALIDATE_MODEL_UPDATES_ID
    Lifecycle.PROCESS_COMPONENT_EVENTS_ID
    Lifecycle.PREPARE_RENDER_ID
    I assume that you set te value to a time when the application is already invoked
    Frank

  • [WTA] MSI P55-GD65 6 phase on all the time? Where's APS?

    Hello, First Post here..
    I bought a MSI P55-GD65 lately and it runs spectacular and overclocks nicely. the newer BIOS 1.6 is noticably more stable when High VDroop is used than the BIOS 1.5, resulting in more power-efficient system of my own despite overclocking  .
    But nonetheless, i have some issues i would like to be answered:
    1. When I use BIOS 1.5, the core voltage would be dropped to 0.896 (CPU-Z) when i set the core voltage as auto and all the power saving features enabled (C1E & EIST Enabled, C6 state selected, Turbo Mode off). but when i flash into BIOS 1.6, the same setting does not result in decreased voltage, the core clock still slows down though like it used to be. Maybe the next revision of BIOS will fix it?
    2. I searched this forum about APS on P55-GD65, i have found that somebody here had testified that the BIOS 1.6 fixes the all-phase-working problem, as i was having the same problem too. Then i decided to flash to 1.6 too (which work flawlessly with your USB Flasher by the way, kudos  ). But the problem still persists. APS only works when i apply through Control Center. i wonder about APS statement of "will work regardless of operating system" is a true and automated one. And yeah, i have tried to clear CMOS and run it on nominal mode and still no changes from BIOS 1.5. The 6 phase LED is lit all the time unless i "apply" in Control Center.
    My Current system are:
    MSI P55-GD65 (Lotes ILM)
    I5 750
    HD 5770
    Silverstone Zeus 750Watt
    WDC Black 500GB
    Windows 7 Ultimate
    Thanks for your attention. 

    Quote from: chrisjb on 19-January-10, 17:13:56
    you have to run the cpu at default settings so (133mhz X multiplier) the slight overclock of the cpu will disable power saving so all the phase leds will constantly be lit up.
    Have the multiplier running at 160 because of XPM 1600 memory blocks, and the board runs with 2/3 phases in normal mode.
    Are using BIOS 1.3 because of XPM problems with other versions.

  • Saturation problem with 741 models

    Whenever I saturate a 741 op-amp by exceeding the limit of its positive supply voltage, the output saturates to the negative supply voltage.
    For example, if I construct a voltage follower with +/- 15 V supplies and an input of +20 V, the output is (roughly) -15 V, not +15 V.
    This occurs with a variety of 741 op-amp models, such as LM741*, UA741*, 741, and Op-Amp_741.
    I saw similar problems with a few other op-amp families I tried.
    Is this a known limitation of these models in Multisim, or am I doing something incorrectly?
    See the attached file for an example.
    Thanks,
    Bob
    Solved!
    Go to Solution.
    Attachments:
    satprob.ms10 ‏178 KB

     yyao wrote:
    Hi, 
    This problem may be due to JFET inversion. Some opamps, especially JFET opamps, exhibit this behaviour. When the output is expected to exceed some positive threshold, the output inverts to the negative rail. If you hooked up a JFET opamp in a real circuit, you will see this behaviour. So, this may have to do with the opamp model that you are using. If this is not the behaviour that you expect (i.e. not what you observe in a benchtop setup), my best suggestion is to substitute your simulation opamp for another one that is similar in performance, but does not exhibit the same output inversion.
    Take a look at this page by Analog Devices. This phenomena is outlined in the section labeled "What other features of op amps should the user know about?".
    Hope that helps.
    I don't think it is the "phase inversion" problem described in the first paragraph of the aforementioned section.  I don't think the 741 is a JFET or the common-mode input is too negative.
    However, it does seem to be consistent with the "more serious form of latchup" described in the second paragraph.  The issue occurs when the input exceeds the rail voltage by ~0.6 V, which could be turning on some internal diodes.  The page suggests that this would destroy a real op-amp.  In simulation, the op-amp wouldn't be destroyed, but it might show erratic behavior when Vin > Vrail.
    Does this make sense to anyone else?  I'll try to remember to test this with a real op-amp next week.
    Message Edited by btriffles on 03-17-2009 07:52 PM

  • Problem Burning finished DVD

    Hi,
    I'm having problems burning a finished project to DVD, I have traced the problem threw going back threw saved versions and thing the problem is the DVD menu tabs, I tried making the tabs bigger and that maybe the problem, can anyone think why that would be..
    Thanks

    That would make do difference.
    Have you tried this, from the FAQs at the top of our forum?
    http://www.adobeforums.com/webx/.59b5f52c/0
    If nothing else, it will isolate at which phase your problem is occurring.

  • 360 degree phase error

    I have two sets of similar simulation data but there is a 360 degree shift between the phases of the two.  It doesn't appear to me to be a phase unwrapping problem, and the data is almost completely identical.  This isn't a rare occurence and I can't figure out why it happens, or why it sometimes doesn't.  A simplified vi with the data stored as defaults in the controls is included.  I took away all other subvi's to make it as clear as possible.  I need to get this under control because I need to move away from the simulation and implement it in the real world.
    Attachments:
    find phase.vi ‏46 KB

    Just standardize the phase to be in the range [0..360], easiest by using Quotient&Remainder. See picture.
    Message Edited by altenbach on 05-09-2006 05:24 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    standardizePhase.png ‏2 KB

  • Problem using customer-specific task list

    Hi,
    I've created a customer-specific task list zap0 (copy of sap0) and defined additional tasks for the list.
    When using this task list for a change request, I get the message
    Internal Phase Controller Problem
    Message no. /TMWFLOW/TASKLIST176
    The task list has status created, when trying to change the status, I get the message
    INDICATED_CYCLE_NOT_FOUND
    Does anyone know this problem?
    Thanks in advance
    Stephan

    Note 927124 solves the problem ==> thread closed

Maybe you are looking for

  • I don't have "Photo Stream" option in iPhoto Preferences

    I am trying to get photo stream on my iPhoto on my Mac so I can see pictures from my iPhone 4S.  However, when I look up instructions to do so they always mention the Photo Stream tab in the iPhoto Preferences.  Mine doesn't have that.  This is what

  • FDM Like Mapping Script for Account

    I am using the following script as a "Like" map for the Account. The import file has account in this format: 123456-Description. I would like to remove everything after the "-" and set the result to just the account number; however, I keep getting an

  • Getting the Ericsson F3507g card to work in a T500 running Windows 2008 Server 64bit

    Folks I seem to have the correct drivers for the card but when I try to enable them I get a blue screen every time with the error BAD_POOL_CALLER.  This is now happening every time Windows starts as it tries to load the new drivers. Does anyone know

  • Cannot access the Panorama utility

    The instruction for creating a Panorama in Photoshop Elements 4 starts with FILE..Automate...Photomerge. However my menu under FILE has no Automate. However FILe includes the choice of NEW which has a drop down menu with three options: Blank file Ima

  • Import xls to oracle 10g db

    I need to import xls files into 10g and have no idea where to start. The tables do not exist as yet, therefore they also need to be created. Please give me pointers on where to start.