Client has no active subscriptions exception
hi!
i'm ocasionally getting error below on blazeds when performing session close on flex client wich involves following steps:
- close amf channel used remote object communication.
- perform httprequest custom logout servlet on server.
- unsubscribe messaging consumer destination (it uses polling amf channel).
- reload application following code:
var ref:urlrequest = new urlrequest("javascript:location.reload(true)"); navigatetourl(ref, "_self");
10:31:22.686 error c.h.m.e.f.blazedssl4jloggingtarget logevent_aroundbody0 - error handling message: flex.messaging.messageexception: client has no active subscriptions on endpoint 'secure-polling-amf-channel'. flex.messaging.client.flexclientnotsubscribedexception: client has no active subscriptions on endpoint 'secure-polling-amf-channel'. incomingmessage: flex message (flex.messaging.messages.commandmessageext) operation = poll clientid = null correlationid = destination = messageid = e88243ab-a169-3831-1ab6-e1b200bbc664 timestamp = 955272682682 timetolive = 0 body = {} hdr(dsendpoint) = secure-polling-amf-channel hdr(dsid) = 278763ff-41d3-7858-c488-37e638992f32 errorreply: flex message (flex.messaging.messages.errormessage) clientid = null correlationid = e88243ab-a169-3831-1ab6-e1b200bbc664 destination = messageid = 27892696-d0a8-e495-13ca-2682831937ec timestamp = 955272682685 timetolive = 0 body = null code = server.processing message = client has no active subscriptions on endpoint 'secure-polling-amf-channel'. details = flex.messaging.client.flexclientnotsubscribedexception: client has no active subscriptions on endpoint 'secure-polling-amf-channel'. rootcause = flex message (flex.messaging.messages.errormessage) clientid = null correlationid = null destination = null messageid = 27892696-d1ea-7bc4-1025-088b4c7444aa timestamp = 955272682685 timetolive = 0 body = null code = server.processing.notsubscribed message = client has no active subscriptions on endpoint 'secure-polling-amf-channel'. details = null rootcause = null body = null extendeddata = null body = null extendeddata = null
could give me idea on error cause?
thank in advance.
i forgot mention testing environment consists of cluster 2 tomcat-blazeds instances. i've configured blazeds cluster follows:
<clusters> <!-- disable url-load-balancing hardware load balancer used instead --> <cluster id="blazeds-cluster" properties="jgroups-udp.xml" url-load-balancing="false" default="true"/> </clusters>
after testing seems exception occurs @ user login in flex client (that when client subscribed polling destination) , if both nodes up. think problem might caused because of consumer subscribed destination on node when other node receives polling request exception. following polling request not throw error on node perhaps there delay time between subscriptions replicated on blazeds cluster.
may right? then, solution problem?
thank in advance.
More discussions in General Discussion
adobe
Comments
Post a Comment