• 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
ApplicationDidFinishLaunchingNotification Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ApplicationDidFinishLaunchingNotification Problem


  • Subject: ApplicationDidFinishLaunchingNotification Problem
  • From: Aleksey Novicov <email@hidden>
  • Date: Tue, 8 Apr 2008 09:06:46 -0700

There is a handy notification in WOApplication called ApplicationDidFinishLaunchingNotification for which you can register an observer. In fact, this is what Wonder uses for ERXApplication's didFinishLaunching().

However, I've noticed that when when building for deployment as a servlet (using Leopard Server & Tomcat), no observers for ApplicationDidFinishLaunchingNotification get called! If I deploy as a .woa it works fine, but as a servlet it does not. I've reduced it to a very simple test case and will file a bug with Apple, but I just wanted to find out if anyone else has seen this problem?

Is there a recommended alternative for performing one time application startup batch operations other than in the constructor or using ApplicationDidFinishLaunchingNotification? I guess there is always the request-response loop...

Thanks,
Aleksey
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ApplicationDidFinishLaunchingNotification Problem
      • From: Andrew Lindesay <email@hidden>
  • Prev by Date: Re: Best Way® to test for existence of a relationship
  • Next by Date: Re: Google App Engine
  • Previous by thread: Re: Integer i in EOModel creates Long or Integer in EOGeneration
  • Next by thread: Re: ApplicationDidFinishLaunchingNotification Problem
  • Index(es):
    • Date
    • Thread