• 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
Re: Wonder App doesn't receive "ApplicationDidFinishLaunchingNotification" notification when deployed as a servlet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wonder App doesn't receive "ApplicationDidFinishLaunchingNotification" notification when deployed as a servlet


  • Subject: Re: Wonder App doesn't receive "ApplicationDidFinishLaunchingNotification" notification when deployed as a servlet
  • From: Andrew Lindesay <email@hidden>
  • Date: Fri, 24 Oct 2008 10:28:17 +1300

Hello Saad;

That is correct, I don't think those "sorts of things" get invoked in the servlet environment. I must file a radar from Apple to ask to get clarification about what does and what does not get implemented in the servlet environment because it is tedious to find out through trial and error.

cheers.

I was banging my head on this, so I thought I would share it with the group:

Our Wonder App doesn't receive "ApplicationDidFinishLaunchingNotification" notification when deployed as a servlet, this results in ERXRemoteSynchronizer not being started when initialized using ERXObjectStoreCoordinatorSynchronizer.initialize(); since initialization depends on that notification being received (Line 87 in ERXObjectStoreCoordinatorSynchronizer.java):

NSNotificationCenter.defaultCenter().addObserver(this, new NSSelector("startRemoteSynchronizer", ERXConstant.NotificationClassArray), WOApplication.ApplicationDidFinishLaunchingNotification, null);

You can bypass that by doing this instead
ERXObjectStoreCoordinatorSynchronizer .synchronizer().initializeRemoteSynchronizer();


As a confirmation I also overrode didFinishLaunching() from ERXApplication and that doesn't get called either when deployed as a servlet...

___ Andrew Lindesay www.lindesay.co.nz

_______________________________________________
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


References: 
 >Wonder App doesn't receive "ApplicationDidFinishLaunchingNotification" notification when deployed as a servlet (From: Saad Laassel <email@hidden>)

  • Prev by Date: Re: SOLVED: Zombie sessions
  • Next by Date: Re: Best Strategy for Cacheing
  • Previous by thread: Wonder App doesn't receive "ApplicationDidFinishLaunchingNotification" notification when deployed as a servlet
  • Next by thread: Re: Wonder App doesn't receive "ApplicationDidFinishLaunchingNotification" notification when deployed as a servlet
  • Index(es):
    • Date
    • Thread