Forte 30N2 : Message duration SO restart after a crash issue

In our application, the batch processes are based on a 'Controller-Processor' pattern. A controller starts many processor tasks as parallel processes.
The problem is that our Controller process crashed. However, by that time, many processor processes had already been started by it. These processor tasks were not terminated when the controller crashed.
Since the controller process is of Message Duration, it 'restarted' automatically after the crash. With this new start, all the processor tasks were started again and therefore were executed twice.
Now we are looking for a way to terminate the processors automatically if the controller crashes. Is there a way to do this in Forte or do we have to code this explicitly ?
If not, we can stop start of a processor if it is already executing. But then, how do we get a notification of completion of a previous execution ?
Any ideas will be appreciated.
Please let me know if the problem description is not clear.
Thanks and regards.
Deepak

"Since the controller process is of Message Duration, it 'restarted' automatically after the crash" --NO,  the controller was re-started automatically because Forte allways tries to re-execute the method of a SO marked to have Dialog Duration=Message. Apart of that, the SO will be re-started ONLY if the Forte Autostart feature has been enbled in your Forte Environment, otherwise it won't re-start.
Your problem is more an architectural issue than a Forte one. The children tasks can not notify their parent about a problem (ussually by reporting an exception event) because they were started in a different partition and Forte have partition boundaries when handling the multi-threading for tasks executed in cascade. (Task1-->Task2-->Task3).
Even if your children tasks can report an exception event to the parent SO, there is still a timming issue: While re-starting the controller a children task can report an exception event, but it wont be listened since the controller is still re-starting.
Hope this helps..

Similar Messages

  • When FF restarts after a crash, why does it not restore my previous session?

    Firefox crashed twice today (on the same URL), and each time it restarted, it did not honor my option to "restore the previous session". Each time it restarted with one window, I checked my options, and the "restore previous session" option was still set. The happened last week also. FF 32.0, Windows 7 Professional 32-bit. Thanks.
    --Barry Finkel

    Hi Barry, can you use History > Restore Previous Session?
    I think you need to fix this setting:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''sess''' and pause while the list is filtered
    (3) Double-click '''browser.sessionstore.resume_from_crash''' to switch it from false to true
    You might also want to reset or at least increase these values, but based on our earlier thread, perhaps these would make your session history less stable:
    '''browser.sessionstore.max_windows_undo''' is currently zero
    '''browser.sessionstore.max_tabs_undo''' is currently zero

  • How to stop tabs re-opening after firefox crashes.........when it crashes and I have multiple tabs open, when re-starting firefox all of the tabs re-open too. How can I stop this?

    Firefox crashes quite often, especially when I have multi tabs open. I usually have to use CTRL ALT DEL and end the process as Firefox stops responding.
    My problem is not the crashing........it is the re-opening of the multiple tabs I had open, when normally it is one of them (not the home page) that caused the crash in the first place, so I cannot re-open firefox until I restart the pc, because every time I do it is the same story. Firefox tries to re-open all of the tabs and stops responding. I have looked in options but nowhere does it allow me to stop multiple tabs opening after a crash. If this continues, I will have to uninstall Firefox and stick to Chrome.

    Set the pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
    *http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes
    That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.
    See:
    * http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
    * http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • I want Firefox to open to my homepage every time after it crashes. I do not want it to return to the tabs and applications that caused the crash. I am willing to lose information. How do I do this?

    Firefox crashes or seizes up when there are too many tabs and applications open, and causes my computer to crash or seize up. I use task manager to close Firefox or I restart my computer. Then, when Firefox restarts again, it automatically re-opens all the tabs and applications that caused the computer to seize or crash in first place. This is a waste of my time. I want Firefox to reopen to my homepage even if it crashes. I am willing to lose information to have Firefox reopen to a low-memory homepage. How do I do this?

    Set the Integer pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
    * http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes
    That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.
    See:
    * http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
    * http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes
    See also:
    * https://wiki.mozilla.org/Session_Restore#Preferences
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default via the right-click context menu if they are user set
    *Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)

  • Previous webpages automaticlly load after a crash. Where can I turn this feature off ?

    When Firefox crashes, I don't want the previous webpages I had open to load. They are the reason it crashed in the first place. I only want it to start up at my home page. Is there an option to turn this feature off ? If not, is there a setting in the registry I could change ? Any advice is appreciated. -Thank you

    Set the pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
    *http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes
    That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.
    See:
    * http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
    * http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • After a crash, when Firefox is restored, I get many blank pages opening, in addition to the correct page. It takes a while to close them all.

    The new version of Firefox also seems to be crashing more than the old.

    Set the pref [http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes browser.sessionstore.max_resumed_crashes] to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
    That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen the other tabs.
    See:
    * http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • I tried to update the software of my iphone 3gs while charging with my Macbook Pro. While the phone was restarting after installation, in the setting up my phone menu, it stops midway with a message in itunes on the laptop that there is no simcard.

    I tried to update the software of my iphone 3gs while charging with my Macbook Pro. While the phone was restarting after installation, in the setting up my phone menu, it stops midway with a message in itunes on the laptop that there is no simcard.

    Then put a SIM in. You cannot activate an iPhone without a compatible Sim.
    If your iPhone was hacked/jailbroken the update restore the lock.

  • IMac27 reboots every few days with message "Restarted after error"

    My iMac27 reboots every few days with message "Restarted after error". How do I find out what it is upset about so I can repair?

    Visit The XLab FAQs and read the FAQ on diagnosing kernel panics. Also, OS X- How to log a kernel panic and post a recent panic log (not a crash log.)

  • FILEIO message sequence counter reset after domain restart

    Hi,
    I have configured FileIO to pick message from RIB-RMS topic and create xml message. It is working fine.
    These xml message are pick by external system based on their sequence number in file name itself. like File name 'Items_ItemCre_100069945.775' having message number 775.
    After Domain bounce, counter is reset to 0, causing the duplicate message error as message is identified by its sequence number.
    Please let me know how can we avoid resetting the message counter?
    Thanks & Reagrds,
    Vinay

    Hi,
    Are the results from a same computer? (Run manually and ran that as required)
    Please make sure the instance of 'Win32_EncryptableVolume' exists on that drive. 
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • When restarting server after a crash, Messaging bridges are not starting

    Hi,
    We have Messaging bridge configured with Exactly-Once QOS to read messages from IBM Websphere MQ to Weblogic distributed Queue. We are using Weblogic 10gR3.
    1. We killed the weblogic server which was reading message from source destination(IBM MQ). We did this to check whether any message is lost when a server crashes.
    2. Then we restarted the weblogic application server and checked the weblogic messaging bridge status.
    3. The messaging bridge was not started properly and the following Exception was thrown.
    ####<Apr 22, 2010 4:09:11 PM BST> <Error> <MessagingBridge> <machineA> <desb03-ms11> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <BEA1-056A9014D88E2BE368B7> <> <12312323333> <BEA-200015> <An error occurred in bridge "BRIDGE" during the transfer of messages (javax.resource.ResourceException: Failed to setup the Resource Adapter Connection for enlistment in the transaction, Pool = 'eis/jms/WLSConnectionFactoryJNDIXA', javax.transaction.SystemException: start() failed on resource 'eis/jms/WLSConnectionFactoryJNDIXA': XAER_RMFAIL : Resource manager is unavailable
    javax.transaction.xa.XAException: Internal error: XAResource 'eis/jms/WLSConnectionFactoryJNDIXA' is unavailable
    at weblogic.transaction.internal.XAResourceDescriptor.checkResource(XAResourceDescriptor.java:941)
    at weblogic.transaction.internal.XAResourceDescriptor.startResourceUse(XAResourceDescriptor.java:630)
    at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1182)
    at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1116)
    at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:275)
    at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:511)
    at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:438)
    at weblogic.connector.transaction.outbound.XATxConnectionHandler.enListResource(XATxConnectionHandler.java:118)
    at weblogic.connector.outbound.ConnectionWrapper.invoke(ConnectionWrapper.java:218)
    at $Proxy87.receive(Unknown Source)
    at weblogic.jms.bridge.internal.MessagingBridge.processMessages(MessagingBridge.java:1427)
    at weblogic.jms.bridge.internal.MessagingBridge.beginForwarding(MessagingBridge.java:1002)
    at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1079)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    .).>
    ####<Apr 22, 2010 4:09:11 PM BST> <Warning> <MessagingBridge> <machineA> <desb03-ms11> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1271948951881> <BEA-200026> <Bridge "BRIDGE" encountered some problems in one of its adapters or underlying systems. It stopped transferring messages and will try to reconnect to the adapters shortly. (The exception caught was weblogic.jms.bridge.internal.MessagingBridgeException.)>
    ####<Apr 22, 2010 4:09:12 PM BST> <Info> <MessagingBridge> <machineA> <desb03-ms11> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1271948952726> <BEA-200020> <Bridge "BRIDGE" is stopped.>
    Please give your suggestions to fix this issue.
    Thanks!
    Edited by: user11340353 on 28-Apr-2010 06:34

    Hi,
    *The server was started in warning mode and the JTA was declared unhealthy. I saw 2 transaction alive for more than 2000 seconds which is uncommon.
    *The resource adaptor was started properly.
    *We are using file store. But will it make a difference?
    Thanks!

  • Fail to keepalive failover on message duration

    Hello every one. thank you for your response before. Today's problem is
    KEEPALIVE.
    For wire disconnect failover test.
    Two HP servers on single Forte environment( version R30F2 ).
    Hp's keep alive karnel parameter is default as two hours.
    Forte's environment configuration for keep alive is within two minutes.
    On central server has one router partition and two load balance partitions.
    Secondary server is the same configuration.
    I start the application up by application outline on Econsole.
    After that, I access to server from win95 client. then the message
    is sent to the central server.
    I force to be off line the application on the central server for BACKUP
    ,then
    following messages are sent to the secondary server.
    I cut line between central server and secondary server.
    The client is freezing until keepalive time.
    However, after keepalive timeout, the client request does not success to
    send to the central server. I expect the request will wake the
    application up
    and normally process it on the central server(for back up).
    That is the fail over I think.
    Forte writes some messages to the client after keepalive timeout like this.
    Form bottom the nessage sequence
    1. CLOSE CONNECTION BY KEEP ALIVE TIMEOUT.
    2. FORTE attempts to retry to connect because the request is message
    duration.
    3. Distributed access exception 'the router does not have available
    members'
    4. same as 2.
    5. same as 3.
    Also,on message 3 includes description 'the router does not have
    available members'.
    Does 'the router' mean central server or not?
    If the central server's one is why cannot wake the off line router
    partition up ?
    If secondary server's one is why Forte attempts to request to disconnect
    partition
    because Forte disconnect partition himself by keepalive timeout?
    OR once I force to be off line partition,Forte failover ability is
    cancelled?
    (I think it isn't because case of software failover succeeds. this case
    belong to
    hardware failover problem and relation to TCP/IP low level protocol or
    Forte
    keepalive protocol )
    Have you ever experienced?
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hello every one. thank you for your response before. Today's problem is
    KEEPALIVE.
    For wire disconnect failover test.
    Two HP servers on single Forte environment( version R30F2 ).
    Hp's keep alive karnel parameter is default as two hours.
    Forte's environment configuration for keep alive is within two minutes.
    On central server has one router partition and two load balance partitions.
    Secondary server is the same configuration.
    I start the application up by application outline on Econsole.
    After that, I access to server from win95 client. then the message
    is sent to the central server.
    I force to be off line the application on the central server for BACKUP
    ,then
    following messages are sent to the secondary server.
    I cut line between central server and secondary server.
    The client is freezing until keepalive time.
    However, after keepalive timeout, the client request does not success to
    send to the central server. I expect the request will wake the
    application up
    and normally process it on the central server(for back up).
    That is the fail over I think.
    Forte writes some messages to the client after keepalive timeout like this.
    Form bottom the nessage sequence
    1. CLOSE CONNECTION BY KEEP ALIVE TIMEOUT.
    2. FORTE attempts to retry to connect because the request is message
    duration.
    3. Distributed access exception 'the router does not have available
    members'
    4. same as 2.
    5. same as 3.
    Also,on message 3 includes description 'the router does not have
    available members'.
    Does 'the router' mean central server or not?
    If the central server's one is why cannot wake the off line router
    partition up ?
    If secondary server's one is why Forte attempts to request to disconnect
    partition
    because Forte disconnect partition himself by keepalive timeout?
    OR once I force to be off line partition,Forte failover ability is
    cancelled?
    (I think it isn't because case of software failover succeeds. this case
    belong to
    hardware failover problem and relation to TCP/IP low level protocol or
    Forte
    keepalive protocol )
    Have you ever experienced?
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Not able to recover and restore Lenovo V100 ; restarts after hanging at line mup.sys in safe mode.

    Not able to recover and restore Lenovo V100 (WinXP professional) ; restarts after hanging at line mup.sys in safe mode.
    Problem started occurring suddenly after restart of the laptop.
    Windows XP start page (With dots moving) came up and I tried to restart the laptop in Safe mode.
    It stopped at a line mup.sys and after a while restarted automatically.
    Tried with inbuilt lenovo recovery and restore option.. but in vain...
    each screen is very very slow.. I tried patiently (With restore back to factory settings options) but finally I got message that restore failed.
    Can any body please help to me to resolve the Issue. I'm new to Tokyo and dont know any servicing center here :-(...
    Any body from Tokyo ? can you tell me where the service center is here in Shinagawa?
    Thanks in Advance....
    Swami

    Call Lenovo support in Japan and ask for a set of Recovery disks for your machine.
     Japan --Desktops 0120-000-817
    Notebooks 0570-064-400
    9AM - 6PM
    Everyday
    Except Second Sunday of the month, Year end

  • How do I turn off messages on my iMac after upgrading to Yosemite?

    How do I turn off messages on my iMac after upgrading to Yosemite?

    Hi,
    Open the Messages app.
    Go to the Preferences item in the app's Menu.
    Select the account pane in the Preferences.
    Each active account should have a tick in the Enable this Account box.
    This can be unticked.
    This will stop accounts logging in but will not stop the app Launching in certain circumstances.
    First of all check the app is Quit before shutting down the computer.
    The fact the app is open even if all windows are hidden can cause the app to restart when you Start up the computer.
    Messages is a  Multiple window app and using the red button on the top left of a window only closes that window and does not Quit the app.
    Also check the System Preferences > Users and Groups > your account > Login Items tab.
    This will list items that are set to Start up when the computer does.
    I have a couple of External Drive on other computers, some Anti Virus software and the common iTunes Helper plus an old version of TextExpander that will work if I launch the Preference Pane this way.
    9:44 pm      Saturday; October 18, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Blue screen on restart after 10.4 install

    i have an ibook and tried to upgrade to 10.4 from 10.2.8. after having to try twice to install 10.4 (i kept getting the "try again" error message), it worked. but on restart, after the grey "OS X" screen, it goes to a blue screen and just sits there like it's finished starting up. the screen saver even goes on after awhile.
    any help will be greatly appreciated!
    ibook   Mac OS X (10.4)  

    You could try to boot with Command-V and see if anything relevant shows up there (verbose boot mode).
    Where does the CD you use to install comes from ? Is that a retail version or one delivered with another machine ?
    If you have another mac, you can try to apply the combo update 10.4.8 to your system (attach your sick mac's hard drive by booting it in Target mode ("T" key at early boot state).

  • Unable to restart after software update 10.3.1.1779

    I am unable to get  my Z10 to restart after this update.
    I have searched endless avenues and have now resorted to deleteing the notifcations for this update when they come in, I have downloaded and installed it, but when asked to restart, my phone stalls on the loading screen forever, the longest I have waited for it to restart is 3 days, with 24 hours of that on 99%.
    I am now the but of all phone related jokes as everyone I know has an IPHONE that works perfectly, but I insist on keeping this awful Z10 becuse I dont want to join their rank....too tink I spent £500 on this when it came out (more fool me)
    It would seem that the general consensus is, I will have to go to the inconveience of taking my Z10 in to a phone shop, were they will send it off to BB for the update to be installed.
    PS; Blacberry's forum is as hard to navigate as the phone is to actually get working proberly.

    This has been the worst software update I have ever encountered. My Q10 is completely unreliable and I am going to switch to another device in the morning. I have restored factory settings and have successfully wiped the app to sync my shared Google Calendars, the z and y keys have swapped on my keypad and the Q10 still turns itself off arbitrarily, wipes all text and phone messages and can't recall what network I'm on or what my home wifi settings are.

Maybe you are looking for

  • How to convert for 1 bit image

    dir sir; i want to make a programe by it i want to upload image real image and then it converted it for 1 bit image ; can i use java to do that? and if soo what method and package and function helps me to do that . if you can provide me with simple c

  • I have to scan a lot of docs. to my adobe but they have to be in separate folders for each datefor billing-would acrobat help me do that?

    I work in EMS-each call may have 2 or 3 or 10 pages (it varies according to the patient or facility). When I scan each days paperwork to send to billing,I have to make a folder for each date-then I have to make a folder for each call-then I have to d

  • Creating BADIs in ECC6.0

    Hello Everyone, As we  all know that Badis definition and Badis implementation outlook in 4.7 are different in 6.0 I want to ask that in 6.0 can we create classic badis or not. Suppose we go to tcode se18 in ecc6.0 and we have to create one badi . Th

  • Anyone had trouble with Apples offsite repair facility?

    So my girlfriend spilled water on my laptop and i brought it into the apple store to get it looked at. They told me it was worth sending to their offsite repair facility to get fixed for a flat rate of $755 (which is really $782 and change). The flat

  • Disk space in Get Info

    The Get Info page tells me I have 1.74 Gb of space left on my 75 Gb drive. In trying to decide what to trash, I looked at the sizes of my individual files/folders. These add up to only 40 Gb. Now, I thought that Mac OS X is supposed to defrag files o