• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Service request fails if provider has not yet launched
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Service request fails if provider has not yet launched


  • Subject: Service request fails if provider has not yet launched
  • From: email@hidden
  • Date: Wed, 14 Jan 2009 13:56:10 +0000

My app provides a System Service, which works well if it is running when the request arrives;
however, if the request rises and my app has not yet launched, the Service is failed to be served,
even though my app can be launched normally by the Service request.


Here is the corresponding Console log message:
PM Safari[368] Application XXX never opened its Services port before the timeout.


But I'm sure that my app has been ready before the timeout which is the default 30s, since I register
the Service provider in my applicationDidFinishLaunching:(NSNotification *) after
all the preparation work is done, and the time needed to get to that point is no more than 15s.


I can't figure out what is missed after perusing the System Service section of Dev Doc.

Any hint will be appreciated, and any further info will be supplemented if needed.

Thanks in advance.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Service request fails if provider has not yet launched
      • From: email@hidden
    • Re: Service request fails if provider has not yet launched
      • From: Kevin Gessner <email@hidden>
  • Prev by Date: KVC error from bound SortDescriptor
  • Next by Date: Re: Service request fails if provider has not yet launched
  • Previous by thread: Re: KVC error from bound SortDescriptor
  • Next by thread: Re: Service request fails if provider has not yet launched
  • Index(es):
    • Date
    • Thread