• 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
[SOLVED] Re: EOClientApplicationSupport weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] Re: EOClientApplicationSupport weirdness


  • Subject: [SOLVED] Re: EOClientApplicationSupport weirdness
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Wed, 26 Mar 2008 12:45:58 -0400

Lachlan, thanks for the reply, a slightly modified version of your code works. The "b" option, the only one applicable to my situation... Below is my modified loop:

// try to connect to all given urls
for(String url : urls){
url = "" class="Apple-tab-span" style="white-space:pre">
try{
// code added to my loop
// can't deal with existing EOApp instance args because
// one was not instantiated yet (this code is in static void main(String[] args) )
NSMutableDictionary arguments = new NSMutableDictionary();
arguments.setObjectForKey(url, ApplicationURLProperty);
EOApplication.setArguments(arguments);
// try to connect
com.webobjects.eoapplication.client.EOClientApplicationSupport.main(
new String[]{ApplicationURLProperty, url});

// wait for the specified timeout
synchronized(monitor){
monitor.wait(TIMEOUT);
}
// if connection has been established, return
if(connected) return;
}catch(Throwable th){}
}

Thanks,
Flor
 _______________________________________________
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: [SOLVED] Re: EOClientApplicationSupport weirdness
      • From: Lachlan Deck <email@hidden>
References: 
 >EOClientApplicationSupport weirdness (From: Florijan Stamenkovic <email@hidden>)
 >Re: EOClientApplicationSupport weirdness (From: John Pollard <email@hidden>)
 >Re: EOClientApplicationSupport weirdness (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: WO 5.4 Linux Deployment
  • Next by Date: WO 5.4 Generated SQL missing spaces fix?
  • Previous by thread: Re: EOClientApplicationSupport weirdness
  • Next by thread: Re: [SOLVED] Re: EOClientApplicationSupport weirdness
  • Index(es):
    • Date
    • Thread