While using RTMPS to push large amounts of data to the flash player we've begun seeing deadlock occurring in the FlexClient on the server.
This is the usage:
JConsole shows the FlexClient blocks in push(). We attached a debugger and found the RTMP endpoint has a tcMessageQueue that has all of the messages in it. During normal execution this queue has 1 or 0 messages in it, but when the threads are blocking the queue grows.
The app can run for several minutes before getting into a blocked state. Other users are not blocked (they are using their own destinations). The flash player itself remains responsive, but simply isn't getting any data. I've looked at the BlazeDS source which shows synchronized blocks on "lock" and on "queue" but I can't see why either of those are blocking "forever".
This is all running LCDS 2.6.1 on both linux and windows servers. Does anybody have any similar issues? Any suggestions on what's causing the FlexClient to block?