Can we avoid commits to db when testing svcs using ud32

Hi,
I have a test service that does some updates to db without any commits in it.
Even though I don't provide -t parameter when testing the service using ud32,
I noticed that the updates are committed to the db even though the service errors.
Is there any way to use ud32 and avoid these updates.
Thanks
Kishore

Kishore,
When ud32 is invoked with the "-t timeout" option, any error return from tpcall() will cause tpabort() to be called.
Therefore, if the service you are calling is located in a group with OPENINFO and TMSNAME parameters specified, no updates should be made to the database if the service call fails. When an OPENINFO string is specfiied, Tuxedo takes care of opening and closing the database and committing or aborting transactions via the XA interface. This is the preferred way to manage transactions in Tuxedo and is needed if transactions will span multiple databases. When using XA the application should not code any EXEC SQL COMMIT WORK or similar statements on its own.
XA is not the only way to manage transactions in Tuxedo. In a group without OPENINFO specified and without TMS processes, the application takes care of opening and closing the database and managing transactions. Transactions may be committed either via explicit statements in the application or implicitly according to the rules of SQL or whatever other database interface is being used. In this case, a tpbegin(), tpcommit(), or tpabort() done in the Tuxedo client will not have any effect since the database updates are being done outside of a Tuxedo global transaction.
I suspect that the latter case may apply to to your application and this may be why you are seeing database updates even though the service fails.
One option to debug is to
export TMTRACE=*:ulog:dye
before invoking ud32. This will write messages to the userlog showing each ATMI or XA call that was performed in the ud32 client or in the server.
Ed

Similar Messages

  • Can i purchase a sim card when abroad and use in my iphone to get better coverage

    can i purchase a sim card when abroad and use in my iphone to get better coverage

    Only if your iPhone is unlocked.

  • Can I turn my airport extreme when not in use?

    can I turn my airport extreme when not in use?

    Why?
    The power saving will be negligible, and it may take time to re-establish a connection to your ISP's Network.

  • How can I avoid re starting weblogic when servlets change

    Hello all,
    I always re start weblogic server 6.1 upon any changes to class files or servlets. does any one know of any configuration settings to avoid a re start when ever my servlets or class files change ? I deployed the application in exploded format and not in .war file format.
    thanks much
    Srik.

    Hi,
    if your question is: how can I update changes in my WebApp without having to restart my Weblogic server, then I have a hint:
    Maybe your server is running in productive mode. Try setting it to developement mode (edit the 'startWeblogic.cmd', find the line 'set STARTMODE=true' and change it to 'set STARTMODE=false').
    After this change the server needn't be restarted to make changes take effect.
    Hope this helps.
    Thomas.

  • How can i avoid restarting tomcat server when servlet is modified?

    please advice me that how can i avoid restarting the tomcat server, whenever a servlet file is modified in my application. is their any way ?

    No probs. Here's how I do things...
    1. Install tomcat as normal (e.g. I install to C:\Apps\jakarta-tomcat-5.5.4)
    2. Create a webapps directory in your eclipse project with the following directory structure
    MyEclipseProject
       - src
       - conf
       - webapps
          - MyApplication
             - META-INF
             - WEB-INF
                - classes
                - lib
                - pages3. Set the project's output folder (e.g. bin folder) to webapps/MyApplication/WEB-INF/classes
    4. Put all your jar files in the lib directory
    5. Put JSPs / HTML in the pages directory (you may also want to create additional directories for TLDs, config files etc)
    6. Ensure your web.xml is in the WEB-INF directory
    7. Although it isn't essential I create a context.xml file and store it in META-INF, e.g.
    <Context reloadable="true">
        <!-- Default set of monitored resources -->
         <WatchedResource>WEB-INF/web.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/struts-config.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/tiles-defs.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/validation.xml</WatchedResource>     
    </Context>I use this to set monitored resources that will trigger an automatic appliation reload and to configure JAAS (not shown). See the Tomcat documentation for additional information.
    8. In the 'conf' directory I create a server.xml file used to configure Tomcat (you can copy the one from your <TOMCAT_HOME>/conf/server.xml).
    After copying the file change appBase attribute in the host element to be the full path to the webapps directory. You can also change the HTTP and HTTPS ports if you wish
    9. Download and install the Tomcat Launcher plugin from Sysdeo.
    10. In Eclipse's Preferences menu you will see a new entry for Tomcat. Click this then
    a. Set your Tomcat Version
    b. Set your Tomcat Home
    c. Set "Context declaration mode" to server.xml
    d. Set the configuration file to the full path to your server.xml file created in step 8
    On the "Advanced " sub page select all relevant projects to add to the Tomcat classpath
    On the "JVM Settings" page add all the jars in your WEB-INF lib directory to the class path
    On the "Source Path" page select all relevant projects
    Now if you start Tomcat using the Tomcat icon, you will be able to remote debug your application. If you change web.xml (or any other file in your context.xml watched resources) it will automatically reload. Any changes to JSPs will automatically be picked up (providing your tell your browser not to use the page in cache - e.g. CTRL+F5 in IE)
    There are some limitations that I'm still working on however. Primarily that I haven't included the Tomcat Manager application in my webapps directory, so Sysdeo cannot perform a reload. This means that if I change a source file, and eclipse auotmatically rebuilds, Tomcat doesn't pick up the change unless I either change a watched resource file (e.g. web.xml) or stop and restart Tomcat.
    There's no reason why this can't be fixed, I just haven't got round to it yet.
    I'm sure there are lots of other (probably better) ways of achieving the same thing. This was the first method I tried and it worked, so I stuck with it. I'm not a Tomcat config guru and I'm sure other forum users could provide some improvements should they wish.
    Post if you get into trouble, however I won't be able to respond until next week.
    Cheers,
    Steve

  • How can I avoid a full scan when ...

    Hello
    How can I avoid a full scan with I apply the aggregate function "MIN"
    SQL> select min(c1) from hh;
       MIN(C1)
             1
    Execution Plan
       0      SELECT STATEMENT Optimizer=CHOOSE
       1    0   SORT (AGGREGATE)
       2    1     TABLE ACCESS (FULL) OF 'HH'Regards
    James King

    The table 'hh' does not have statistics. Assuming that there is an index on the column c1, statistics are computed on the table and its indexes, you may see a
    INDEX (FULL SCAN (MIN/MAX)) of the index on column 'c1'.

  • How can I avoid music playback stopping when starting an App

    Whenever I listen to music on my iPAD3 and switch from the build in original musicplayer to any App, the music stops to play.
    I need to go to the taskbar and go to the very left to press the play button again.
    That helps me to use the App choosen before and listen to the music.
    If I open another App or switch there with "sideswapping", music stops again.
    How can I avoid this ?

    Revit must be using the discrete graphics and possibly a fair amount of cpu as well.  This has nothing to do with memory or memory allocation (which you can't do on a mac since it doesn't use shared memory like some low-end PCs do.  Getting hot is not a problem as long as the fans speed up to increase the cooling.  If the system is overheating, it will shut down on its own.

  • Role Config Key when testing component using BSPWD_CMP_TEST?

    Hello,
    I have component view for which we have done some configuration change and saved with some Config Key. This key has been already assigned to the business role. Now when testing this component how can I force the component to load the view based on this Config. Key?
    Any help on this would be really appreciated.
    Thanks and Regards,
    Vasu

    Vasu,
    You don't need the Business Role assignment via Org. Model to accomplish this.
    For the Business Role >> assign a PFCG Authorization Role>> assign the right Role Config Key that you used for changes on the front-end.
    Now assign the user to this PFCG Authorization Role in (Transaction PFCG) or can be done from SU01 for the user. (*Optional: see that you assign the same Business Role to the Parameter CRM_UI_PROFILE-this is not required).
    It's only the PFCG role that controls the authorizations for what is displayed and config changes relating to the role config key and the business role.
    And this should work without errors. 
    Regards,
    Krishna

  • How can I prevent Photoshop from quitting when trying to use Photomerge?

    When trying to use photomerge, Photoshop (CS 5.5 version) quits immediately. How can I fix it?

    I seem to remember that there have been several threads on issues with Photomerge, have you done a Forum search?
    And you may want to provide more information, OS, reports, …
    Boilerplate-text:
    Are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by keeping command-alt-shift/ctrl-alt-shift pressed while starting Photoshop after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed, 3rd party plug-ins deactivation, system maintenance, cleaning caches, font validation, etc.)?

  • Can I avoid closing Firefox entirely when "red Xing" a page to get rid of it?

    I'm new to Firefox so bear with me......Whenever I use the red x at the top right-hand corner to get rid of a page that doesn't allow me to go back one page, I get a message from Firefox - "Do you want to close all 4 tabs?"......the only answer is "yes". When I click on "yes", I lose the whole Firefox website and have to open it again to continue. This is very annoying. Can you tell me what I'm doing wrong? Thank you.

    Tested on Firefox 25 the latest version it give me the warning of closing multiple tabs with the option of cancelation.
    Maybe something wrong with your preferences check if this working try to reset it or check that similar thread it marked as sloved [[retaining "do you wish to close all tabs" request|https://support.mozilla.org/en-US/questions/949202]]

  • How can I avoid the blank mainFrame when frameset first opens

    I am making up framesets to accomodate over 130 pages. When the frameset first opens, the right hand side, the mainFrame, is blank until you click the image on the left frame. Is there any way to avoid this and have content show in the mainFrame when the frameset starts up. Url is:
    http://nvvam.org/ourartists/left_right_frameset.html

    Why on Earth are you using FRAMES???!  You don't need them.  They only complicate your site by making it almost impossible for people to bookmark and print pages.  HTML 5.0 no longer supports Framesets and here are a dozen other reasons to avoid FRAMES.
    http://apptools.com/rants/framesevil.php
    Alternatives to FRAMED sites:
    Guidance  on when to use DW Templates, Library Items and SSIs -
    http://www.adobe.com/devnet/dreamweaver/articles/ssi_lbi_template.html
    More  on DWTemplates and SSIs:
    http://www.smartwebby.com/web_site_design/dreamweaver_template.asp
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How can I avoid a pop-up when I'm going from an email to the email list?

    I use Mozilla firefox to go online. When I've opened an email I've received and then want to return from that email to the email list, I click "backspace." Half the time, it gets me back to the email list. The other half the time, a window pops up, saying:
    "To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier" and I have to choose to cancel or resend. I always click resend. I don't want this window to pop-up. When I read an email and then hit the backspace key, I just want to get back to the email list.
    Can you help? Thanks, Alvin Glazerman

    Don't use backspace to go back to that page. Either open the link in a new tab with a middle-click and close that tab to go back or click a link to go back to the inbox if there is such a link on that page.

  • How can I avoid video quality loss when burning Canon FS100 footage to DVD?

    When I put the footage onto iMovie it looked great, and then I sent it to iDVD to burn onto a disc. After I burned it to a DVD and watched it on my DVD player, I noticed that I lost a lot of the video quality (or at least it seemed). It looks a little fuzzy and seems like it could be much better considering how great it looks in iMovie. Is it just me or does sending it to iDVD make me lose video quality? What is another alternative so I don't lose the quality? I've heard that Wondershare is a good option and that you won't lose any quality burning it from there, is that true? What is my best alternative? A relatively expensive DVD burner? Thanks, any help is appreciated.

    A good suggestion was made before me, but I have another twist on the matter.
    From Wikipedia on DVD: "Although many resolutions and formats are supported, most consumer DVD Video discs use either 4:3 or anamorphic 16:9 aspect ratio MPEG-2 video, stored at a resolution of 720×480 (NTSC) or 720×576 (PAL) at 29.97, 25, or 23.976 FPS."
    Notice that the resolution for a DVD is roughly 700x500, which when multiplied gives you 350,000 pixels per frame. Now compare that with the video resolution of the FS100, which I see on web pages (eg, on dabs.com) is 710,000 pixels per frame.
    This means your camera records more quality than can fit on a DVD. Approximately twice as much information. This means half the information is lost during the conversion. That's why you notice a drop in quality. If you burned to a BluRay disk, you'd probably lose nothing, since they store more information per frame. So your alternative is to buy a BluRay burner and play it back on a BluRay drive.
    Another alternative is to burn it to a DVD but not in a form that's playable by a DVD, just in a form thats readable and playable by a computer. You will lose no information that way, but it will be playable only in a computer.

  • Can we avoid the dialogue box when changing brushes?

    I am very new to Photoshop... like three days old and there is so much to learn I wonder if I ever will!
    This is probably a laughable question to experienced users but I wonder if it is possible to not have this dialogue box pop up each time I switch brush sets?
    Regards,
    Chrissie

    One way is to hold down the Alt key at the same time you choose the new brush library.
    I don't think anyone ever learns everthing there is to know about photoshop.
    I can only speak for myself, but i'm always learning new ways to do stuff in photoshop.
    MTSTUNER

  • Can you please provide an example of test case using "Standard Data Output Cascade Mode"?

    Hi,
    I have tried creating a test to check  the "Standard Data Output Cascade Mode". In Vivado 15.1, Ultrascale,  it is working when I have data_width=1. However, if I modify the data_width to greater than 1, then I am not seeing the proper value for .CASCADE_ORDER_B.  Is this expected?
    The RTL is top.v. The addr_width=16, data_width=4. The synthesized vm netlist, test_syn.vm. It contains  8 BRAMS but the .CASCADE_ORDER_B parameter setting in the vm netlist is:
    .CASCADE_ORDER_B("FIRST"),
    .CASCADE_ORDER_B("MIDDLE"),
    .CASCADE_ORDER_B("MIDDLE"),
    .CASCADE_ORDER_B("MIDDLE"),
    .CASCADE_ORDER_B("MIDDLE"),
    .CASCADE_ORDER_B("MIDDLE"),
    .CASCADE_ORDER_B("MIDDLE"),
    .CASCADE_ORDER_B("LAST"),

    Hi 
    The parameter "CASCADE_ORDER_B" specifies the order of the cascaded block RAMs from the bottom to the top of the chain
    for port B.
    So the attribute value FIRST represents the bottom BRAM with respect to cascading. You can cross these attributes by opening synthesized design and observing the property of each BRAM.
    Thanks,
    Vinay

Maybe you are looking for

  • How to make your folder list appear at the top when opening a finder window

    Sorry if this has been asked before but couldn't find it in the threads... About the only thing I miss from Windows, is the way file mgr displays list in folders, i.e. starting with folders, then listing the files. Any way we can do this in Leopard??

  • Contents maintenance running forever after Expire/Reduce ...

    Trimmed 30 days of mail off of about 1,000 users on a Post Office. When my weekly Analyze/Fix Contents Check/Fix (User/Msg) DB's runs ... it takes forever to complete. When I look at the running *.CKL job at the root of the wpcsout/chk directory, it

  • Audio problems on my HP Envy

    I am using a HP Envy purchased in July 2013. In January 2014, I ran into trouble upgrading to windows 8.1, which was solved after a lot of effort by Microsoft. I am running Windows 8.1 now. For the past few week, the audio on my laptop has been actin

  • Updated to ios5. - backed up iPad before update but

    Back Ed up my iPad before updating toIOS5 today.  Problem: After all the Rigamorole was over, my library of 46 books is not on the iPad but is still in the backup library.  How do I get them on the iPad.  Only reason I bought the blooming machine was

  • Audio stream blocked

    my audio stream is allwais blocked if I starts any media file like mp3 or avi the next one i will try to open will not has sound the sound is allwais blocked what can i do my alsa is blocked