Hi,
I have created a Atlassian Jira Plugin, which schedules a task at fixed rate using Java Timer/TimerTask.
Plugin is able to start or stop the task in a controlled manner.
There is a scenario :
In this scenario, the task is still running in the background.
I have to shut down SDK to stop this task.
It looks like, SDK is caching java files and have not killed the Java Process.
Please suggest, if there is any recommended method to clear this type of Java Process or stop this task, while uninstalling the Plugin.
Please note that SDK is installed locally, so I am running this on localhost.
Regards
Hi,
Usually the destroy method is implemented from DisposableBean to unschedule the job.
Thanks a lot Aleksandr, it worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.