Posts

Showing posts from November, 2011

BlazeDS Flex Error: Channel disconnected before an acknowledgement was received.

I developed an application with Flex as UI and Java as backend. BlazeDS as the integration between the two and the application was deployed on Tomcat 7 server.  The initial release was on simple http so there were no issues until recently when we were asked to move all the applications over to SSL for security reasons. The SSL configuration on Tomcat is fairly easy and i was able to access my Flex application on HTTPS with no issues. However there was a strange issue that was occurring everytime the application was left idle for some time. Upon catching the error message it was: faultString:'Channel disconnected'  faultDetail:'Channel disconnected before an acknowledgement was received'. I tried adding few additional configuration parameters to services-config.xml such as:  <login-after-disconnect>true</login-after-disconnect>  But it didnt work. Finally this is the resolution which took care of this channel disconnect issue permanently: 1.