Should the application call tpabort upon handling a signal? (Usignal used)

Hi all
And thanks in advance.
We currently performing RAC failover tests.
All our servers handle SIGSEGV signal using Usignal.
We have 2 open questions:
1. should we call tpabort upon receiving a signal like SIGSEGV ( for services called by TMQFORWARD ) ?
* sound like we shouldn't as we are not the transaction owner. (TMQFORWARD is the transaction owner)
2. should we call tpabort upon receiving a signal like SIGSEGV ( for services that manually control transaction i.e call tpbegin\tpcommit\tpabort ) ?
* sound like we should as we are the transaction owner.
Many Thanks
TechSgin

Hi TechSign,
Tuxedo adheres to the XA standard which requires checked transaction semantics. Specifically what that means is:
1. tpabort() and tpcommit() can only be performed by the caller of tpbegin(), i.e., the aborter or committer of the transaction must be at the same level that called tpbegin(). So yes, if your service was called by TMQFORWARD and TMQFORWARD started the transaction, the only option your service has to abort the transaction is to perform a tpreturn with TPFAIL as the return code.
2. All activity within the boundaries of the transaction must be completed before tpabort() or tpcommit() are called. In other words, you can finish a transaction while there is outstanding activity such as service calls performed with tpacall(). This probably doesn't directly apply to you.
In all honesty, if you receive a SIGSEGV signal, shouldn't the server just roll over and die? I mean do you really want the server to continue processing requests if it tried to access memory it shouldn't have accessed? In this case your signal handler should just exit the process. If the current service being handled was in a transaction, the transaction will be marked rollback only and will fail to commit whenever the beginner of the transaction tries to commit the transactions (such as an AUTOTRAN transaction).
Regards,
Todd Little
Oracle Tuxedo Chief Architect

Similar Messages

  • The application called VirusScan that comes preloaded on the macbook will no longer open, claiming that it is corrupt and that I must reinstall it.  After looking in the app store it does not appear that said application is available for re-downloading.

    The application called VirusScan that comes preloaded on the macbook will no longer open, claiming that it is corrupt and that I must reinstall it.  After looking in the app store it does not appear that said application is available for re-downloading. Is there a special, non-app store place where I am to go for this?
    Also, I installed MacKeeper about two-three months ago and am questioning its performance. Looking for input as to whether or not this application helps or hinders my system.

    I'll back up Csound on the MacKeeper thing.  In fact, I actually wrote the following about it:
    http://www.reedcorner.net/news.php/?p=245
    Remove is ASAP.  Do not use the provided uninstalled, as there are widespread reports of pop-ups advertising MacKeeper on your system after incompletely removing it.  Try this:
    http://applehelpwriter.com/2011/09/21/how-to-uninstall-mackeeper-malware/
    As for VirusScan, Barney is right on the money that it does not come preinstalled on any Mac shipped new from Apple.  However you have gotten it, your best bet is removing it.  See my Mac Malware Guide for more information that will help you understand and avoid Mac malware without relying on anti-virus software.
    http://www.reedcorner.net/guides/macvirus
    (Note that my pages contain links to other pages that promote my services, and this should not be taken as an endorsement of my services by Apple.)

  • Report Generation Toolkit producing error -2147417842, "The application called an interface that was marshalled for a different thread."

    Hi everybody,
    I've got an application that logs data to an Excel spreadsheet using the Report Generation Toolkit.  My VI's have worked fine in the past using Excel XP, but since I've upgraded to Excel 2007, I am getting COM errors like this one:
    "Error -2147417842 occurred at The application called an interface that was marshalled for a different thread. in Excel_Insert_Text.vi"  That is the exact wording, even with the weird punctuation and capitalization.
    The first occurrence of the error is not determinate.  Sometimes, up to 10 logging sessions, involving a new .xls file, can occur before this error pops up.  Once this error occurs, I must quit LabVIEW to resolve it.  If I try to do anything with Excel, I always get this error, although sometimes it comes out of different source VIs.  Excel_Open.vi is another.
    These logging VIs have worked just fine until upgrading to Excel 2007.  I checked, and I was using a really old version of the Report Generation Toolkit, v1.0.1.  I read the documentation and had a big sigh of relief when I realized I needed to upgraded to v1.1.2 to get Excel 2007 support.  However, even after upgrading, I'm still getting the same errors.  I'm using LabVIEW 8.0.1, and I'm also building these VIs into an application.   The error occurs both in the LabVIEW IDE and in the built application.  Does anybody out there have any idea what I can do to fix this?  I googled a little, and discovered this is a COM error, but I can't find any references to the Report Generation Toolkit specifically.
    Thanks,
    Phil
    Solved!
    Go to Solution.

    Hi Christian,
    I do not see that exact option listed, do you mean "user interface"?  I recognize the "Run in UI Thread" option, it's on the Call Library Function Node.
    I checked, and my top-level VI has "same as caller" set, and I believe all my VIs are set to "same as caller".  Are you suggesting I change my top-level VI preferred execution environment to "user interface", or just the logging sub-VIs that use the Report Generation Toolkit?
    Thanks,
    Phil
    Attachments:
    VI_properties.png ‏15 KB

  • 'You can't open the application "Logic Pro X" because someone else is using it.'

    Hello.
    I have two user accounts on my MacBook and if I attempt to open Logic Pro X in ‘user 2’ while it is already open in ‘user 1’, I get ‘You can’t open the application “Logic Pro X” because someone else is using it.’
    Now I know I can simply quit Logic in ‘user 2’ but this shouldn’t be happening should it? Any ideas anyone? Thanks.

    Really? I wouldn't have expected that. Well, I may be wrong then and basing my assertion on a much older Mac OS (10.5?), since I haven't used multiple open user accounts for years.
    However, seeing the wording of the message it is quite obvious that this is by design.
    I think it is better to have as few programs as possible open anyway, just so Logic can use all available CPU and RAM resources optimally. Maybe if you have 16 GB or more that is not so important anymore.

  • I just used a firewire connection to transfer files from an older MAC to a newer MAC. My newer MAC has lost all that was on it, and all the applications are opening like they have never been used before and asking for Rosetta. Help!!!

    I just used a firewire connection to transfer files from a PowerBook G4 to a MacBook Pro. The MacBook Pro has lost all that was on it, and all the applications are opening like they have never been used before and asking for Rosetta. How do I find all my files on the MacBook Pro, or undo what I have done???

    IGNORE the last post: he thought you are using Lion or Mountain Lion.
    Since you are using Snow Leopard, you need to install Rosetta.  It can be found on your Snow Leopard Install DVD in the Options section.
    Once installed all should be well again.
    Also, if your computer is connected to the internet when the Dialog Box about PowerPC applications comes up, it MIGHT allow you to download Rosetta from the internet.  There has been some discussion that Apple has discontined internet download of Rosetta into Snow Leopard.
    Someone else will have to address your lost files problem.

  • I have an old (first generation) iMac that I still use sometimes for the applications that are on it. I was using it yesterday and unfortunately had a power cut. I went to turn it on today, and nothing at all happens. It's as though no power is getting to

    I have an old (first generation) iMac that I still use sometimes for the applications that are on it. I was using it yesterday and unfortunately had a power cut. I went to turn it on today, and nothing at all happens. It's as though no power is getting to it. I've checked the obvious things, changed the fuse, tried different cables, poked paperclips in reset holes, but nothing doing. I wonder if there is anyone who knows what might be wrong. I was hoping to get some of its content transferred soon, but I'm guessing that can't be done if it can't be started up. Many thanks, if you can help

    Hello,
    >It's as though no power is getting to it.
    Would it be correct to assume that no sounds at all can be heard? Also, no lights, not even green or amber at the power button?
    >unfortunately had a power cut.
    Was it possibly a power cut in connection with a thunderstorm? Any other evidence of higher than normal voltages (light bulbs, et cetera)? Has the line voltage been checked (measured with an appropriate voltmeter/multimeter)?
    If necessary, it would be possible to remove the hard drive, and then connect it to an external IDE/ATA to USB adapter (example below). That way you could gain access to files on the hard disk from another computer.
    http://www.newertech.com/products/usb3_universaldriveadap.php
    Jan

  • I want to know what's the conference call in community level and how to use it

    i want to know what's the conference call in community level and how to use it

    Welcome to Apple Support Communities
    Conference calls are got when you reach level 4. Sometimes, ASC hosts may do a conference call about something related to Apple Support Communities. You will be notified through mail or through the "Using Apple Support Communities" forum.
    The last community calls were only for level 6 and higher users, so it's possible that you don't get invited to any until you reach level 6

  • Evertime i open a secondary window in an application it opens on my laptop and I working on the application on my thunderbolt. what setting do i use to open the secondary window on the thunderbolt?

    evertime i open a secondary window in an application it opens on my laptop and I working on the application on my thunderbolt. what setting do i use to open the secondary window on the thunderbolt?

    ''Problem:'' For whatever reason, NoScript is stopping Runescape Community Toolbar from working properly which freezes your first Firefox window.
    ''Fix:'' Uninstall the toolbar. Disable NoScript. Install the toolbar. Add your RS account to it and make sure it works, then Enable NoScript again.
    EDIT: Posted a fix earlier that was wrong. Corrected to the right one, sorry ^_^ Answer was on Runescape Forums.

  • # The Application Name that you provided has already been used.

    "# The Application Name that you provided has already been used. Please provide a unique Application Name."
    Anyone else getting this when trying to update their apps description on iTunes Connect?

    I get this error, too, and have been getting it since my app launched (about 2 weeks ago). My first email to [email protected] was met with a "We're working on it" reply, but they have been ignoring me since. Pretty frustrating.

  • HT1338 The application can't be updated due to the presence of Mac Osx 10.7.5. I updated the software of my mac to the latest update and still the application can't be updated. I'm using Mac osx lion (10.7.4)!?

    The application can't be updated due to the presence of Mac Osx 10.7.5. I updated the software of my mac to the latest update and still the application can't be updated. I'm using Mac osx lion (10.7.4)!?
    Regards,
    Mhareky

    OS X Lion Update 10.7.5 (Client Combo).

  • Where SHOULD the application support folder be?

    on My 2009 imac it is in the library folder. on my late 2008 MBP it is in the finder when I double click the hard drive, its just above "applications".

    The Applications folder should be at the top level of the hard drive.
    Not sure what you mean about the application folder being above "applications".

  • Since upgrading to FaceTime 1.0.5 (170) I am no longer able to open the application on my MacBook Pro. I am using operation system OSX 10.6.8 and being presented with error message "You have been disconnected  - an internal error occurred.

    No longer able to open the application on my MacBook Pro since upgrading to FaceTime 1.0.5 (170). The operating system is OSX 10.6.8. 

    My problem opening FaceTime after the upgrade is now solved. I didn't pay enough attention when prompted to decide where to store the application upgrade and as a consequence the computer created another "Applications" folder within the existing one. When I subsequently clicked on the icon on the dock to open the application the computer couldn't find the software.
    Makerfield2

  • Anyone Familiar with The Application Called "Famous", an Oracle Based...

    Need assistance on weak points of the Famous application based on Oracle used for farming. Industry specific against Bus 1.
    Thanks!

    I got it to work. Still not sure what I was doing wrong. I just copied a wrapper config I had for launching JBoss and implemented it into my application.
    wrapper.java.command=%JAVA_HOME%/bin/java
    wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
    wrapper.java.classpath.1=C:/dbbackup/lib/wrapper.jar
    wrapper.java.classpath.2=%JAVA_HOME%/lib/tools.jar
    wrapper.java.classpath.3=C:/dbbackup/bin/JavaApplication110.jar
    wrapper.java.library.path.1=C:/dbbackup/lib
    # these are the JAVA_OPTS
    wrapper.java.additional.1=-Dprogram.name=%PROGNAME%
    wrapper.java.additional.2=-server
    wrapper.java.additional.3=-Xms128m
    wrapper.java.additional.4=-Xmx512m
    wrapper.java.additional.5=-Dsun.rmi.dgc.client.gcInterval=3600000
    wrapper.java.additional.6=-Dsun.rmi.dgc.server.gcInterval=3600000
    wrapper.app.parameter.1=javaapplication110.Main
    wrapper.logfile=C:/dbbackup/logs/wrapper.log
    wrapper.ntservice.name=DBbackup
    wrapper.ntservice.displayname=DBbackup
    wrapper.ntservice.description=Starts and stops
    wrapper.ntservice.starttype=AUTO_START

  • How can I watch the tv programs contained for exemple in the application called MTS TV directly on my tv?

    I've got some apps on my I-phone 4 such as MTS TV, iPLANETA ONLINE, IPROSTO TV that contains some interesting tv programs that you can see live, but using Airplay I only can listen to what they're saying but I cannot see the images... And how can I watch all my other apps present on my iphone??
    Please help me!!!

    Welcome to the Apple Community.
    Make sure all your software is up to date, video airplay was enabled in a later update than audio airplay.
    Not all apps and websites support video airplay. Developers may simply not gotten around to enabling video airplay in their apps/websites or they may not actually want to.

  • Should the ipad be charged while viewing videos through tv using the hdmi adaptor?

    or should i allow it to be drained before charging it again? 

    Go into System Preferences, then Displays. There should be an option to click on the tv mirroring. Click it and see if it connects to the TV.

Maybe you are looking for