Hi, I was trying the shashikap's suggestion. It seem to be still we can't guarantee the scheduler shuts down first, since these two may run in different threads. @Indika, If we disable the hazelcast shutdown hook, we will have to manually shutdown the hazelcast instance right?
On Fri, May 8, 2015 at 10:41 AM, Indika Sampath <indi...@wso2.com> wrote: > Hi Vinod, > > Add following property to hazelcast.properties file. This will stop > calling shutdown hook of hazelcast when you hit Ctrl+C. > > hazelcast.shutdownhook.enabled=false > > Cheers! > > > > On Thu, May 7, 2015 at 8:58 PM, Vinod Kavinda <vi...@wso2.com> wrote: > >> Hi all, >> >> I'm working on the issue [1] where we need to shutdown a time scheduler >> in BPS, before the hazelcast instance, at the server shutdown. >> >> I found this issue [2], but it is unresolved. Is there any workarounds? >> >> [1] - https://wso2.org/jira/browse/BPS-470 >> [2] - https://wso2.org/jira/browse/CARBON-14719 >> >> Thanks and Regards, >> Vinod Kavinda >> -- >> Vinod Kavinda >> Software Engineer, *WSO2, Inc <http://www.wso2.com>.* >> Mobile : +94 (0) 712 415544 >> vi...@wso2.com >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Indika Sampath > Senior Software Engineer > WSO2 Inc. > http://wso2.com > > Phone: +94 716 424 744 > Blog: http://indikasampath.blogspot.com/ > > -- Vinod Kavinda Software Engineer, *WSO2, Inc <http://www.wso2.com>.* Mobile : +94 (0) 712 415544 vi...@wso2.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev