I'm running into some odd Flex behavior, and I was wondering if anyone
had run into something similar before. Basically, it looks like my
RemoteObject result handlers are sometimes not being called. More
specifically, I have a remote object that corresponds to a Java class
which makes a jdbc call and returns some data. This remote object call
is invoked from a button and adds a new tab to a dashboard. The new tab
renders the results.

Most of the time, this works fine, but occasionally, the AMF call never
fires the handler (neither success nor failure), and the busy cursor
never goes away. I've double-checked to make sure that I register result
handlers before I invoke the method. The flashlog.txt file does not show
anything odd. A Java thread dump on the server does not show any
outstanding AMF calls being serviced, and if I re-try the same action,
it works fine (although the original tab still never gets any data). The
busy cursor remains until I close the client Flash object, but other
than that, the client behaves normally. I've verified that the event
listeners are being added before the remote call is made, but it almost
seems like a bigger issue: the busy cursor should go away as soon as the
result event is fired, whether I registered for it or not, right?

For what it's worth, I seem to hit this more frequently if I open a
burst of new tabs quickly one after another.

I'm using:
Java HotSpot(TM) Server VM (1.5.0_14-b03 mixed mode)
Adobe Flash Player 9,0,115,0 (debug)
Apache Tomcat 5.5.23
LCDS 2.5.1

Any thoughts?

Thanks,
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com


Reply via email to