On 26 October 2010 09:29, Waruna Ranasinghe <waruna...@gmail.com> wrote:
> Hi devs, > > When a process is undeployed, in BpelProcess#deactivate() method, it checks > whether the process is ACTIVE and call deactivateMyRoleEndpoint(endpoint). > But, what if the process is retired and this process is the only process of > its type, then the deactivateMyRoleEndpoint(endpoint) will not be called and > the respective axis service will not be removed. > > IMO, we don't need to check whether the process is active, but make sure > that the size of _myEprs map is zero for the processes that is not the > latest version of its type. > Ok, I think we cannot empty _myEprs map for the older versions since there may be instances that are not completed yet. But still we need to fix undeployment issue which is mentioned in the previous post. Thanks, Waruna > WDYT? > > > Thanks, > Waruna > > -- > ----------------------------------------------------- > Regards, > Waruna Ranasinghe > > blog: http://warunapw.blogspot.com > twitter: http://twitter.com/warunapww > http://lk.linkedin.com/in/waruna > www.facebook.com/waruna.ranasinghe > > www.wso2.org > -- ----------------------------------------------------- Regards, Waruna Ranasinghe mob: 0724318285 blog: http://warunapw.blogspot.com twitter: http://twitter.com/warunapww http://lk.linkedin.com/in/waruna www.facebook.com/waruna.ranasinghe