Finally I am able to get it working. On logout I have to invoke channelSet.disconnectAll() to disconnect all the services using the channel. asyncConsumer.disconnect() only disconnects the specific consumer service.
Question put forth by Gregor ( Does log out actually close the connection? ) got me thinking to find a suitable method on channelSet. Thanks, Pradeep On Thu, Feb 4, 2010 at 7:23 PM, Pradeep Chaudhary < [email protected]> wrote: > Thanks for the reply. > > I have not made any custom configuration for connection pool, so it should > be the default value. Also, I am not aware of what property do I need to > look for in client or server side for the same. > > Following is the configuration I have for RTMP channel : > <channel-definition id="my-rtmp" > class="mx.messaging.channels.SecureRTMPChannel"> > <endpoint url="rtmps://{server.name}:8443" > class="flex.messaging.endpoints.SecureRTMPEndpoint"/> > <properties> > <idle-timeout-minutes>10</idle-timeout-minutes> > <keystore-file>/home/pradeep/testcert.jks</keystore-file> > <keystore-password>testssl</keystore-password> > </properties> > </channel-definition> > > > I think it closes the connection as the login-logout work for first two > attempt. I get the error only when I try to login the third time. > > What is the way to verify if the connection has been closed ? > > I do not see any difference in logs for first two attempts. I do see that > the DSId is same for all the requests. I have attached the log file for > reference. > > Pradeep > > > On Thu, Feb 4, 2010 at 4:08 PM, Gregor Kiddie < > [email protected]> wrote: > >> >> >> What’s the size of the connection pool you’ve given the server to work >> with? If it’s 2, then that suggests the connection isn’t being released by >> the server. >> >> >> >> Does log out actually close the connection? I’m not sure that it does. >> >> >> >> Gk. >> >> > >

