RE: How are you handlingDistributedAccessExceptions?

Hi,
It is a very interesting experiment!
About your question. I think it depends on how you code your transaction.
According to the manual, a transaction will rollback if an exception occurs
and is being handled outside that transaction. Thus, in your situation, if
the DistributedAccessException is being handled within the transaction, the
transaction isn't being rolled back yet! Therefore, when things resume
normal, you can continue.
Regards,
Peter Sham.
-----Original Message-----
From: Martin G Nystrom [SMTP:[email protected]]
Sent: Friday, March 12, 1999 11:37 PM
To: [email protected]
Subject: How are you handling DistributedAccessExceptions?
We have been experiencing network "gaps" where we get broadcast
storms and it
causes a temporary network loss for the end user. We use a pattern
whereby a
central client service object updates via remote "persistence"
service objects
to persist data.
I've done some testing by disconnecting my own network cable before
I try a
"save" (which commits the data to the persistence mgr). My custom
exception
handler catches the DistributedAccessException, and displays, "Sorry
the
network was down, try again". Then I reconnect the cable, dismiss
the
"network down" dialog, and find that the transaction completes on
its own.
I wonder... can I always be assured that the transaction will
complete once
the network is available again? When would a user need to try the
transaction
again?
-Martin
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Hi,
I have a different understanding, which is slightly different from yours and
the difference is on the last exception handling clause for the big
transaction. My understanding is, if I handle the exception before the "end
transaction" just like the way the exception is being handled in the middle
operation, the transaction will still commit. That's why, I usually handled
the exception outside the begin/end transaction block.
Maybe I should do some experiment on this new findings.
Peter Sham.
-----Original Message-----
From: [email protected] [SMTP:[email protected]]
Sent: Monday, March 15, 1999 11:46 AM
To: [email protected]; [email protected]
Subject: RE: How are you handling
DistributedAccessExceptions?
You can also put operations you dont want to blow the overriding
transaction inside their own exception blocks as long as you dont use the
"begin transaction" keyword..
i.e.,
begin transaction
doSomethingImportant(); // if this raises, we raise to
bottom of the big block and blow trans
begin
doSomethingLessImportant();
exception
when e : GenericException do
log the exception, clear error stack, etc..
If we hit here it will still do the next
step below in the big trans
end;
doAnotherImportantThing(); // exception here will also
raise out and blow transaction
exception
when e : ....
end transaction;
My understanding is that the middle operation is part of the
transaction, and if the third operation raises something and the transaction
rolls back the second operation rolls back also. By adding the mini
begin/exception/end block around the second operation you have simply
avoided blowing the transaction if the middle operation fails. Note that
you could also FORCE the transaction to fail if the error coming out of the
middle operation is severe enough-Just dont handle the raised exception or
re-raise something.
Hope this helps..
-Greg
> -----Original Message-----
> From: [email protected]
<mailto:[email protected]> [SMTP:[email protected]]
<mailto:[SMTP:[email protected]</a>]>
> Sent: Saturday, March 13, 1999 8:13 PM
> To: [email protected]
<mailto:[email protected]>
> Subject: RE: How are you handling
DistributedAccessExceptions?
>
>
>
>
> Forte rolls back the transaction before the exception
handler is invoked
> even if the exception is being handled inside the
transaction block. You
> should put the transaction block inside a loop and restart
the transaction
> if there is an exception or exit the loop if the
transaction completes
> successfuly.
>
>
>
>
>
>
> "Peter Sham (HTHK - Assistant Manager - Software
Development, IITB)"
> <[email protected] <mailto:[email protected]> > on 03/12/99
08:50:07 PM
>
> Please respond to "Peter Sham (HTHK - Assistant Manager -
Software
> Development, IITB)" <[email protected]
<mailto:[email protected]> >
>
> To: Martin G Nystrom <[email protected]
<mailto:[email protected]> >
> cc: [email protected]
<mailto:[email protected]> (bcc: Hetal Badheka/Blythe-Nelson)
> Subject: RE: How are you handling
DistributedAccessExceptions?
>
>
>
>
> Hi,
> It is a very interesting experiment!
> About your question. I think it depends on how you code
your transaction.
> According to the manual, a transaction will rollback if an
exception
> occurs
> and is being handled outside that transaction. Thus, in
your situation,
> if
> the DistributedAccessException is being handled within the
transaction,
> the
> transaction isn't being rolled back yet! Therefore, when
things resume
> normal, you can continue.
> Regards,
> Peter Sham.
> -----Original Message-----
> From: Martin G Nystrom
[SMTP:[email protected]] <mailto:[SMTP:[email protected]</a>]>
> Sent: Friday, March 12, 1999 11:37 PM
> To: [email protected]
<
"mailto:[email protected]">mailto:[email protected]>
> Subject: How are you handling
DistributedAccessExceptions?
> We have been experiencing network "gaps" where we get
broadcast
> storms and it
> causes a temporary network loss for the end user. We
use a pattern
> whereby a
> central client service object updates via remote
"persistence"
> service objects
> to persist data.
> I've done some testing by disconnecting my own
network cable before
> I try a
> "save" (which commits the data to the persistence
mgr). My custom
> exception
> handler catches the DistributedAccessException, and
displays, "Sorry
> the
> network was down, try again". Then I reconnect the
cable, dismiss
> the
> "network down" dialog, and find that the transaction
completes on
> its own.
> I wonder... can I always be assured that the
transaction will
> complete once
> the network is available again? When would a user
need to try the
> transaction
> again?
> -Martin
>
> -
> To unsubscribe, email '[email protected]' with
> 'unsubscribe forte-users' as the body of the message.
> Searchable thread archive
> <URL:http://pinehurst.sageit.com/listarchive/
<URL:http://pinehurst.sageit.com/listarchive/> >
> -
> To unsubscribe, email '[email protected]' with
> 'unsubscribe forte-users' as the body of the message.
> Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/
<URL:http://pinehurst.sageit.com/listarchive/> >
>
>
>
>
>
>
> -
> To unsubscribe, email '[email protected]' with
> 'unsubscribe forte-users' as the body of the message.
> Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/
<URL:http://pinehurst.sageit.com/listarchive/> >
To unsubscribe, email '[email protected]' with 'unsubscribe
forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/
<URL:http://pinehurst.sageit.com/listarchive/> >
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Similar Messages

  • HT1933 How are you supposed to do this when it DOESN'T EVEN WORK!!!! you press report problem and it comes up saying " too many http redirects". Total useless !

    How are you supposed to REPORT THE PROBLEM when it DOESN'T EVEN WORK!!
    I clicked it as I got a receipt for something that HAS NOT EVEN BEEN BOUGHT ! (It's funny how apple try to charge me twice for something when I work nightshift and my phones switched off!)
    and all that happened was it came up saying "too many HTTP redirects" .
    And it won't let me report it ! X

    Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report your issue to the iTunes Store.
    Regards.

  • Hi there how are you guys out there of this forum? I got a question for y'a

    Hi there how are you guys out there of this forum? I got a question for y’all
    I wanted to know how I could record different folders using iTunes
    Cause when recorded 2000 thongs on the DVD
    There were 2000 songs to go through
    So I really wanted to have had folders and then the music recorded inside them
    So I could get right to where I wanted real quickly
    Could anyone please teach me how to do that real quickly?
    Can we do it with iTunes?
    I know we can do it with Nero.

    1) Go to file, select new playlist. Creat the playlaist.
    2) Download your music into iTunes.
    NOTE: CHECK 'Recently Added' before you download your music.
    If the select boxes has a check in them, turn it off by
    holding down the 'ctrl' key and selecting one of the
    checked boxes. This shold turn off all the checks.
    It would be better to clear 'Resently Add' of all
    previous downloads, but I don't know how to do that
    yet.
    3) under 'PLAYLIST' on the right, select 'Recently Add'.
    all of your song should show there with a check in the selection
    box.
    4)Hold the shift key and select the frist (selete records name),
    then the last recorded tune. All of the recordings shouls light
    up blue.
    5) While holding the 'shift' key, drag one of the records to your new
    playlist. All of the blue highlighted song will transfer to the new
    playlist.

  • Hey how are you guys listen i have an iphone 4s the one i use with the H20 CARRIEr and i trying to enable the option call forwarding and when i type tho number i go back and i notice to the call forwarding it turning off as soon i back to the main menu ?

    hey how are you guys listen i have an iphone 4s the one i use with the H20 CARRIEr and i trying to enable the option call forwarding and when i type tho number i go back and i notice to the call forwarding it turning off as soon i back to the main menu ?

    There are a lot of posts in the forums today with people having problems with iMessage.   There was also a published outage yesterday, so it's possible there are still some issues that may be impacting you both.
    I would just wait it out - I'm sure it will be sorted out soon.

  • TS3704 How are you supposed to fix "The feature you are trying to use is on a network resource that is unavailable" alert appears when you remove Apple software in Windows if it doesn't work on Windows 8 or 8.1???

    How are you supposed to fix "The feature you are trying to use is on a network resource that is unavailable" alert appears when you remove Apple software in Windows if it doesn't work on Windows 8 or 8.1???

    See Troubleshooting issues with iTunes for Windows updates. You may have to uninstall what you can, reboot and delete the named folders, then reinstall.
    tt2

  • If you've upgraded to the Rev. 1 router how are you liking it?

    If you've upgraded to the Rev. 1 router how are you liking it over the old one that you had? Wired speeds aside are you getting more or less wireless speeds or not much difference? This of course applies if your wireless cards can handle the higher speeds.
    Range any better?
    Looking for feedback as I'm still deciding if I want to upgrade my Westell 7100 to the Rev. 1 because I'd have to upgrade my pc's network card as well.

    TNS_2 wrote:
    I assume you mean REV I (letter i) .  Speed is better range is about the same.
    I that case then cheaper and more likely better to just purchase your own router/wap and and it to the internal network.
    I you don't have tv as part of your package then could request to change to ethernet connection from ont and just replace the westell with your own router.

  • How are you checking quality in the upgrade process?

    When upgrading your EBS, how are you managing quality?
    Are you using solutions such as Quality Center and Quick Test Pro (from Mercury)? Are you using other tools?
    Which test sets are you using to ensure that the upgrade had completed successfully?

    Hi,
    I am not very good at testing and nor I have used any testing tools.
    But I think there are various post upgrade task which measures the quality of upgrade.
    In my view upgrade quality can be decided on two factors
    1.) Performance of new instance
    2.) Is there any issue with Data ( Check for all tests and reports)
    Pravin

  • When apple no longer includes an optical drive how are you going to burn an itunes playlist

    when apple no longer includes an optical drive how are you going to burn an itunes playlist

    Well, I don't want to buy an optical drive if I buy a new Mac without one. However, iTunes will not allow "burning" a playlist to anything except a real optical drive.
    Now, I am not running Mountain Lion so I don't know if iTunes for Mountain Lion allows it or not - could someone please let me know if it is possible.
    For me, on Snow Leopard, I cannot find a way to burn, create, duplicate - whatever you want to call it - a playlist to a virtual drive, a USB drive - nothing but a physical drive.
    It just makes me wonder if iTunes provides (will provide) an alternative when there is no physical drive included.

  • Hi how are you i want to replace my iphone 4 with a new one. But i am in Darwin,there is no any apple stores. So where can i send my phone for replacement and how much for that?

    Hi how are you i want to replace my iphone 4 with a new one. But i am in Darwin,there is no any apple stores. So where can i send my phone for replacement and how much for that?

    Warranty and Support are only valid in the country of origin.  You will need to take the device to whatever country it originally came from.
    Apple will not accept shipments from outside the country nor will they return it to an address outside the country.

  • How are you handling keyword sets?

    After spending a little time keywording tonight, I like both Stamping and the "Assign this keyword to selected photo" options. Both are faster and easier than I anticipated. :-)
    The one speed bump has been keyword set creation. It appears to limit each set to nine keywords. Is that right? If so, I guess you could divide long sets into several nine-word subsets. But if you want them in alphabetical order, what happens when you add a new keyword to the set? Wouldn't you need to shuffle everything that follows?
    My temporary solution has been to create sets in the left Keyword Tags panel using "child of" nesting. This keeps that panel -- which otherwise sorts alphabetically without regard to category -- better organized and shorter. So far, I am keywording entirely from that side.
    Does this make sense? If you need long sets or deep nesting in your sets, how are you approaching keywording? BTW, the more I use it, the better I like LR.

    Alexander, what I'm asking about is how people handle long sets. If a keyword does not fall into the natural short-list category described by Mike, that doesn't mean you only use it "occasionally."
    Suppose you regularly photograph species -- flowers, birds, animals -- or football teams with 85 players on a side. You don't want to type every name or drag and drop, do you? As Steve Jobs said of using a stylus: Yuck. Or Ick. Or Blech. Or whatever he said. :-)
    The best solution I've found is to nest the lists in the left panel to shorten the panel, and then select images, twirl down the nested list to the desired keyword, and cmd-click to "Assign this keyword to selected photos." But that adds a step to the (IMHO) faster, easier system in Bridge.
    Just asking if others have found a quicker way.

  • How are you supposed to play a photo cd on a macbook pro?

    how are you supposed to play a photo cd on a macbook pro? when i put it in my drive, it says something like disk type not supported when i open up the dvd player. please tell me if theres some kind of software i have to download..please and thank you

    when you insert the disk it should be in the side bar of finder. double clickt he disk and you should have some sort of file in it. I'm not sure what softwware was used to create the slideshow but if it's a movie you'll have to figure out what type of media it is. I think VLC media player will be your best bet to play this CD/dvd though.

  • How are you guys powering your laptops in your cars ???

    Hi guys,
      Although I have been using computers since the first pc appeared, I only recently decided to get a laptop.  I got a Lenovo B560 and have been absolutely delighted with it. 
     However, I am perplexed at the fact that there does not seem to be any easy options for using the laptop in the car on long trips etc ?  I do not see any type of 12 volt adapter listed in the accessories ??  A google search shows a few "generic" brand power converters but I have always been leary of using anything but oem type equipment.
     Anyway, how are you guys powering your machines while mobile ??
    Thanks,
    Bill

    http://support.lenovo.com/en_US/product-and-parts/detail.page?&LegacyDocID=MIGR-72900
    Your tip size is 2.5mm x 5.5mm,  19volts, and your current adapter is 90watts, right?
    Your tip size is the same as what is in the y450, y460, y550p, y550, y560, and the y730.
    The y730 is listed under the adapter listed above as taking the 4R 4319 tip, which is the same size as yours.
    The tip, Pt. # 46 4319 is listed as an optional tip for the ultraslim adapter, Pt. #4IN8460, that tip has to be ordered separately from the adapter, it doesn't come with it.
    Scroll to the bottom of the link for the adapter and you'll see the listing for the 19 volt tip, pt. #4R 4319. 
    All this is assuming that you have integrated graphics. 
    Dave
    T430u, x301, x200T, x61T, x61, x32, x41T, x40, U160, ThinkPad Tablet 1838-22R, Z500 touch, Yoga Tab 2 Windows 8.1, Yoga Tablet 3 Pro
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    If someone helped you today, pay it forward. Help Someone Else!
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Hello gentlemen how are you. All your base are belong to us ????

    My X server just shut down leaving me with a black screen full of messages, mostly relating to vlc.
    In the middle of all this was the above message.
    Do we have a developer with a sense of humour or is this something I should be worried about?
    I never run the system as root although I usually leave a root terminal open.
    Bizarre.

    This is ringing many, many bells with openbox.
    *scratches head*
    *greps openbox source*
    -> grep -r "your base are" *
    Binary file openbox/.libs/openbox matches
    openbox/mainloop.c: fprintf(stderr, "How are you gentlemen? All your base are"
    Binary file openbox/openbox_openbox-mainloop.o matches
    ->
    Hm, maybe someone decided to get all funny with their error messages like the OB devs did... or maybe it was the other way around.
    The most likely cause is that this message is a SIGSEGV (segmentation fault) trap - a message that is printed to std{out|err} when the app crashes, since OB prints the AYB when it's crashed too.
    You can actually segfault apps manually with `kill -SIGSEGV <PID>' or killall -SIGSEGV <processname>'
    -dav7
    Last edited by dav7 (2008-05-13 02:08:17)

  • How are you supposed to put on and take off music on the new version of iTunes?

    How are you supposed to put on and take off music on the new version of iTunes?

    If you  have iTunes 11 turn on the Sidebar. Go to iTunes>View and click on Show Sidebar. You can also do a Crtl+S to show the sidebar and Control+B to show the Menu bar
    To sync to your iPod go to iTunes>Help>iTunes Help>Sync your iPod....>Sync You Device>Set up Syncing and follow the instructions.

  • How are you using DPM 2012?

    Hello:-) Is anyone using DPM as their only SQL backup system in a large environment? If not, how are you using it?
    Thanks, Tim

    Hi Tim,
    I'm not a user so I can only share some information to you.
    Mike Jacquet wrote an article about backup SQL database with DPM. Please see if it could help. Also Mike will sometimes reply threads in this forum so if there is anything unclear you can also post your question in reply :)
    How to protect your Data Protection Manager SQL database
    http://blogs.technet.com/b/dpm/archive/2014/09/08/how-to-protect-your-data-protection-manager-sql-database.aspx
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for

  • Issue with Dragging a 3D Layer

    There seem to at least three ways to get an external 3D model into a document: 1. Open the model file itself. 2. New Layer from 3D File. 3. Drag a 3D layer from another document. The third way has a problem associated with it that doesn't seem to be

  • First RFC call failed, config not loaded. Check the System landscape configuration.

    Dear Experts, We are getting below error on portal while using the BEX query in BI system. Error: BEx Web Application Error: First RFC call failed, config not loaded. Check the System landscape configuration. Exception occurred while processing the c

  • HOW can u calculate the average it wont calculate

    import java.util.*; public class Percentage public static void main (String [] args) System.out.println("Enter marks (value < 0 to stop"); int totalMarks = 0; int numberOfMarks = 0; Scanner input= new Scanner (System.in); int nextMark = input.nextInt

  • Cannot print directly to the Adobe PDF printer

    Hi. I cannot print directly to the Adobe PDF printer since receiving my new computer. I use Acrobat 9 (updated to the latest patch today) on a 64-bit Win 7 computer. A colleague has the same set up and she can print to the Adobe PDF printer without a

  • Advise on Distributec Computing and Java

    Hello there all, I am MS Software Student and has taken project (2.5 month) on 'Distributed Computing and/in Java". It's a research project with some coding. I know CoreJava and some part in Advanced Java like JSP, RMI, Servlet etc. I know know much