• 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
no instance available due to timeout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

no instance available due to timeout


  • Subject: no instance available due to timeout
  • From: Baiss Eric Magnusson <email@hidden>
  • Date: Fri, 14 Apr 2006 11:24:44 -0700

I am having more problems with the Axis stockquote code. The previous timeout settings worked for a while.

I get <no instance available> back at the browser page due to a timeout caused by the line of code
Float ret = (Float) call.invoke( new Object[] { symbol } );
not responding.


If you refresh the page I will trap the exception
<java.net.SocketTimeoutException>
and calmly inform the user that the stock quote service is currently unavailable.


How can I trap the first problem <no instance available> in the java code without the user having to force a refresh?

----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>


_______________________________________________ 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: no instance available due to timeout
      • From: Chuck Hill <email@hidden>
  • Prev by Date: When and why recycling an app instance?
  • Next by Date: Re: Beginners question... objectsMatchingKeyAndValue not working as expected
  • Previous by thread: When and why recycling an app instance?
  • Next by thread: Re: no instance available due to timeout
  • Index(es):
    • Date
    • Thread