LaunchDaemon canceling restart + other issues

I have an app I want to always run so I created a LaunchDaemon to keep it going:
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.sns.sentinel.air</string>
<key>KeepAlive</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>/Applications/oc4j/restartSentinel.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
And restartSentinel.sh is very simple:
echo Process Sentinel.app is being restarted...
open -W /Applications/oc4j/j2ee/home/applications/Sentinel/Sentinel.app;
That's an adobe AIR application which does not launch a window but does show up in the dock. I tried to avoid that by setting it's Info.plist file with LSBackgroundOnly = true and LSUIElement = false but that didn't seem to work.
I also have another app running with almost the same format in its plist file only it calls a script which launches a jar file (which is an instance of an oc4j java server).
Everything seems to be fine but the AIR app seems to terminate on a reboot. The jar file runs fine, however. So I have another daemon which loads the AIR app a few minutes after a reboot and then the daemon runs fine. So that's the first problem.
Also, I have to access this machine via screen sharing. When I log in, the AIR app gets shut down and and then restarted by launchd. And that's the other issue. Even worse however is when another user logs in with screen sharing. The Sentinel.app daemon gets shut down and does not restart at all until I log in again.
The final issue occurs when you try to end your screen sharing session (via log out or restarting the machine). Launchd seems to cancel the restart/logout. Usually the message says that it's the java jar process that is cancelling logout. This one is the most severe of all the problems.
So how can I get launchd to let people use screen sharing without killing the app and how can I get it to stop canceling logot/restart?

It is possible that there is a problem with the file(s) that store the extensions registry.
Delete the files extensions.* (e.g. extensions.sqlite, extensions.ini, extensions.cache) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
*https://support.mozilla.org/kb/Profiles
New files will be created when required.
See "Corrupt extension files":
*http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
*https://support.mozilla.org/kb/Unable+to+install+add-ons
If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to check if there is a compatibility update available.
If this hasn't helped then also try to delete the addons.sqlite file.
You can use this button to go to the Firefox profile folder:
*Help > Troubleshooting Information > Profile Directory: Show Folder

Similar Messages

  • Iphone 5s restarting & other issues-HELP

    Hello there,
    I bought my iPhone 5S, after owning an iPhone 5. I have to say I like my iPhone 5 better. Does anyone else with the iPhone 5S have problems with lots of apps, even apps that come with the phone, just automatically closing or having problems with there phone just automatically restarting it's self when you are using it and the apple logo appearing? Hopefully, not. Maybe I just got a dud. Also, anyone seem like the battery is bad?

    Hey so my iphone has been doing the same thing I've had it replaced already 3 times in less then 3 days and so now I'm with señor advisor and she told me to uninstall all my apps and tbh since I've done that my phone has not been freezing or giving me any issue at all at times the screen would like flash or glitch but since removing my apps it hasn't done that so I'm guessing it has to be an app I have that's causing the iphone to do that?
    But when I go on safari it would freeze but the rep told me no matter what the app could still be causing the phone to freeze since it updates in the background so I'm starting to think its snapchat do you happen to have snapchat on your phone?
    If yes uninstall the app and see what goes on cause I noticed most of my crashes in diagnostic and usage say snapchat on their so I'm suspecting its snapchat but it's just a guess I could be wrong
    But their could be other apps causing it to crash to

  • MacBook Pro Will Not Restart & Other Issues

    Ever since "upgrading" (I use that term loosely) to Lion, I have seen a slew of issues on my MacBook Pro. Now I recognize that my hardware may be outdated (I have a late 2007 MacBook Pro), but that should not mean that I should be encountering all of these issues.
    First of all, I work in the Web Development and IT field, so please, throw all the technical jargon you can at me. I'm well versed. Also, I have already run a hardware diagnostic, I have NO issues whatsoever.
    1. My MBP will not restart MOST of the time. I get the spinning grayscale wheel on a gray background most of the time when I go to shut down. It has sat there for up to 3 hours before I have to force it to shut down via the power key. What gives?
    2. I have never seen such terrible performance of my MBP since Lion. Before finally getting a usable desktop, it takes about 10 minutes from startup.
    3. This is by far my strangest issue. I'm a Chrome user, but for nearly any program, it will not let me scroll until the content is fully loaded. It just sits there loading and I can't scroll at all. This happens probably 15% of the time a page loads, but this is a big deal.
    My MBP is a Core 2 Duo 2.2GHz, 4GB RAM and a 500GB 7200RPM HDD running Lion 10.7.2. I know it's not a speed demon, but seriously, this behavior is unacceptable. Going to roll back to Snow Leopard unless any of you have some insight.

    i replaced my hard drive and put osz back on now im trying to update but will not update supost to restart then update but instead of restarting it goeses to update and i have to shut it down pleas ignore typos im trippen

  • My creative cloud started doing an update on Photoshop, then it just said cancelling, now it is hanging there and just saying cancelling and other products are waiting to update and just saying waiting. I have tried to restart several times, shut down etc

    My creative cloud started doing an update on Photoshop, then it just said cancelling, now it is hanging there and just saying cancelling and other products are waiting to update and just saying waiting. I have tried to restart several times, shut down etc, just the same.

    Run the cleaner tool and start from scratch...
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Mylenium

  • Application address book cancelled restart

    I'm having an issue where quiting mail causes it to quit, then relaunch within twenty seconds and when choosing the restart command to restart the computer, address book launches and appears to interact with mail and I get the following error message:
    application address book cancelled restart
    Anyone else run into this issue. It comes and goes, usually comes when I need to restart and then goes away when I need to replicate it.

    Hello there, rjwdick.
    The following Knowledge Base article should help you with how to Force Quit your System Preferences:
    Mac OS X: How to quit an unresponsive application using Force Quit
    http://support.apple.com/kb/HT3411
    Thank you for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Problem in cancelling a goods issue with WS_REVERSE_GOODS_ISSUE

    Hi all,
    I use the function module WS_REVERSE_GOODS_ISSUE in order to cancel a goods issue but most of the times it does not function as expected.
    I call the function module as follows:
      CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE'
        EXPORTING
          i_vbeln                   = w_delivery_doc
          i_budat                   = w_date
          i_tcode                   = 'VL09'
          i_vbtyp                   = 'J'
        TABLES
          t_mesg                    = it_mesg
        EXCEPTIONS
          error_reverse_goods_issue = 1
          error_message             = 2
          OTHERS                    = 3.
    I traced the execution of the function module and found out that, although the field LIKP-VBELN contains the delivery document sent to the function module, when the statement PERFORM BELEG_LESEN(SAPMV50A) is executed the field LIKP-VBELN loses its contents (gets cleared).
    Does anyone know why the function module does not work properly?
    Am I missing something?
    Thanks in advance,
    GB

    hi george,
    why don't u use the function module 'BAPI_GOODSMVT_CREATE'
    ds_code-gm_code = '06'.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
          EXPORTING
               goodsmvt_header  = ds_header
               goodsmvt_code    = ds_code
          IMPORTING
               materialdocument = dg_matdoc
               matdocumentyear  = dl_year
          TABLES
               goodsmvt_item    = dt_item
               return           = dt_return.
    pls reward the points it it serves ur purpose
    thanks
    mahesh

  • I downloaded a movie twice.  How can I cancel the other one and get a refund?

    I downloaded a movie twice.  How can I cancel the other one and get a refund?

    If you are speaking of an iTunes purchase, you will need to contact iTunes Customer Service and explain the situation. Their written policy is kinda cold, in that they say they don't issue refunds for erroneous purchases, but I have found them to be a bit more understanding and helpful than that.
    Start by calling Apple at 1-800-275-2273 (if in the US) and ask to be connected to iTunes Customer Service.

  • Error during Cancel of Goods Issue 202

    Dear All
                                                  i hv face an error during cancel of goods issue --> Areason has to be entered for mvmt type 202 " here in MIGO --> at detail data in where tab the field is missing simply say that user is not able to fine the block where to enter the reason then , pl help what to do  ?
    sap2008
    Edited by: sap2008 on Jan 8, 2009 6:37 AM

    Hi,
    If you have material document number created for movement type 210, you can simple use the transaction code MBST to cancel.
    If you don't have material document number and you are trying to post the material document for movement type 202.I will suggest you to use transaction code MIGO
    In MIGO select Goods Issue and in next field select Others and in Movement type select 202.
    Now you can cancel of goods issue.
    Regards,
    Manish

  • Cancel post goods issue..............

    How do I cancel post goods issue?Process of how it happens?pls tell me.

    by useing the tcode VL09
    You caGoods issue reversal means that you cancel the goods issue posting for a delivery. This function enables you to remove the posting without having to create a returns delivery and then having to post a goods receipt for it (see also Processing Returns After Goods Issue Posting). This function can be especially useful if you have accidentally posted goods issue, for example, and you would like to reverse it. Goods issue reversal usually occurs shortly after goods issue posting.
    Integration
    The cancellation document is integrated in the document flow of the delivery.
    Prerequisites
    Goods issue reversal is only possible for movement types for which a reversal movement type is defined in Customizing. Therefore, if you have defined your own movement types for goods issue, you must also define the respective reversal movement types and assign them to the movement types for goods issue.
    Range of Functions
    When you reverse goods issue for a delivery, the system creates a cancellation document that adopts the quantities and the valuation from the original goods issue document, and also executes the respective value and quantity posting to stock.Procedure
    From shipping, choose Post Goods Issue ® Cancellation/reversal.
    The Reverse goods movement screen appears.
    Enter your selection criteria, for example, route, goods issue date, shipping point, and so on, and choose Execute.
    A list of all deliveries that correspond to your selection criteria appears.
    From the list of deliveries to be reversed, you can branch directly to a list entry in the delivery by double clicking on the entry.
    Select the deliveries for which you wish to reverse goods issue and choose Cancel/reverse.
    A dialog box appears.
    In the dialog box, confirm that you want to reverse goods issue.
    Result
    The system reverses goods issue for all selected deliveries. It also generates a log of all the reversals executed and any errors that may have occurred.

  • I cannot cancel the goods issue because the delivery has been archived

    Dear Gurus,
    I have cancelled the MB1C goods receipt but I cannot cancel the goods issue because the delivery has been archived. Is it possible for you to fix this batch record any other way ?
    Early resposne would be appreciated !
    Thanks,
    Rafiq

    Dear Friends,
    Can u please help me out of this issue
    Thanks,
    Rafiq

  • Cancel post goods issued....

    dear sap guruz....!!!
    i have a problem in production environment. during cancelling post goods issue.. When i reverse the post goods issue PGI the system gives an error
    "asking for account determination key PRD 0001 PRA 7920 is not maintained in MM customizing (valuation)....". This issue can be resolved if i give account determination for PRA 7920 BUT  what i am unable to understand is that why it is asking for account determination when there is no price difference in the post goods issue reversal which is issued on standard price for finished goods..  why we need PRA 7920 account determination..????
    please help me in this regard.... ..
    thanks
    sohail .

    Hi
    Check -
    What is the date of PGI document? and when you are doing PGI reversal. 
    whether costing has been done between these both dates in SAP.
    If the standard price durign PGI document and PGI reversal is different it will look for PRD
    And also check whether you are using two different currencies
    ~Thanks!
    Rajesh

  • Application . . . cancelled restart

    I'm getting this error message when I try to restart the computer:  "The application Install in Progress cancelled restart."  An update to an App called "Mint Quickview" has not completed successfully, and this seems to be the install that is "in progress".  I have tried (a) force quitting Install in Progress;  it restarts spontaneously before I can do anything else.  (b) stoping Install in Progress using Activity Monitor;  it restarts the same way.  (c) Deleting Mint Quickview by moving it to the trash;  the file deletion hangs without completing, just like the "Install in Progress".  I am no longer able to use a deletion program since Mint Quickview is no longer listed on my hard disk.  I am also unable to restart the computer.  Help would be appreciated.
    MacBook Pro 5,1, 8GB RAM,

    Re-install the app then use the uninstaller provider by the software developer or a utiltiy like
    AppCleaner

  • Microsoft Office 2008 issues.  Help. Excel not opening and other issues!

    I converted to Lion on day one.  I was able to use Microsoft Office 2008 without problem for days, then, just today, every time I go to open an excel file it opens, closes, then gives me the option of sending error reports to Microsoft.  Word opens fine. The program is totally up to date (just did the 12.3 update).  I repaired disk permissions, restarted the computer twice.  Still, the same things happen.  Here is the message I get for the Microsoft Excell Error Report:
    Error Signature:
    Exception: EXC_BAD_ACCESS
    Date/Time: 2011-07-25 00:43:45 +0000
    Application Name: Microsoft Excel
    Application Bundle ID: com.microsoft.Excel
    Application Signature: XCEL
    Application Version: 12.3.0.110427
    Crashed Module Name: unknown
    Crashed Module Version: unknown
    Crashed Module Offset: unknown
    Blame Module Name: unknown
    Blame Module Version: unknown
    Blame Module Offset: unknown
    Application LCID: 1033
    Extra app info: Reg=en Loc=0x0409
    Crashed thread: 0
    OTHER ISSUES
    The other thing that happens is that whether on Word or Excel when I click on a file to open it, it keeps trying to open all the recent files from that program intead of *just the ONE* that I want it to open.  I also notice on Safari that when I reopen the program it opens ALL the websites I recently visited even though I don't have that checked as a preference...  What gives??????????
    Any suggestions.  I am freakingout here, really need to get into these documents.

    Hi there.
    This sound awfull like an issue with the resume function in OSX Lion.
    This can be adjusted in system settings under general.
    See:
    http://osxdaily.com/2011/07/18/disable-mac-os-x-lion-resume-window-restore/
    Hope this solves your problems.

  • I can not restart my macbook, because it says the "safari" cancels restart but I can not quit safari

    I can not restart my macbook, because it says the safari cancels restart but i can not quit safari

    Choose Force Quit from the Apple menu and close Safari from there.
    (121743)

  • Z1 RAM and other issue

    I bought this Xperia z1 2 weeks back, in 4.2 version I was happy with this but after 4.3 upgrade I'm very disappointed, now my z1 getting only 400MB RAM FREE now sometimes it also getting 330mb, but before update my z1 getting upto 1GB RAM FREE and average 750 mb with 25 additional apps. now I'm really disappointed with other issues also camera performance is also average low light photography is also not good, again after upgrade I got many problems like other z1 users, and it gives me same details in both 8 mp and 20MP. pleas help, and pleas clarify my doubts friends
    Solved!
    Go to Solution.

    For the kitkat issue,try contacting sony,but I do not think Z1 wil get 4.4 before the T,V and SP get 4.3.And for the camera,try settings-apps-all-camera and clear data.Restart the phone.
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

Maybe you are looking for

  • ICal sync with Yahoo Calendar Beta ( 2 way) REDUX

    I'm bringing back an issue that was archived recently even though it was not resolved. Here it is: I (as well as many other people) am trying to sync iCal and Yahoo calendar. I followed the Yahoo instructions given here: http://help.yahoo.com/l/us/ya

  • How to use iMac as remotely accessible home media server

    First time poster, and thanks in advance for any help that any of you might be able to provide. -- Josh I have a mid-2007 iMac, several AppleTVs and Apple mobile devices, and a 2014 Macbook Pro coming at the end of the week (more detailed info below)

  • HDMI black screen [SOLVED]

    I have a samsung ativ book 7 which I connected to a Panasonic TV via HDMI cable. The TV is recognised in gnome display properties and xrandr but the only thing I can see is black screen with no audio. xrandr output: Screen 0: minimum 8 x 8, current 1

  • Top - N rows

    Hi to all Sorry for my english can anyone suggest me how to make a select query which has to display Top - N rows and next -N rows without using rownum. Ex: Emp table consists of 100 rows and i have to retrieve records each page consisting of 20 and

  • Why don't my library images show up in the develop mode?  There is a big blue space with an X through it.

    Why don't my library images show up in the develop module?  There is a big blue space with an X through it.