Hello ,
I am using java programming language at server side. I have handled exception handling properly. But some time sfs stop scheduled task automatically. I have no idea how is it.
Scheduled Task getting stopped automatically
Re: Scheduled Task getting stopped automatically
Hi,
sounds strange. Only an exception can shut down your tasks.
Can you show me the code of the Task? Also how do you know exactly that it has stopped running?
Are there any server side errors that may have to do with the stopped task?
Thanks
sounds strange. Only an exception can shut down your tasks.
Can you show me the code of the Task? Also how do you know exactly that it has stopped running?
Are there any server side errors that may have to do with the stopped task?
Thanks
Re: Scheduled Task getting stopped automatically
No exception show on server.
scheduler = sfs.getTaskScheduler().scheduleAtFixedRate(new GameExtension.GameLogicThread(), 0, 1, TimeUnit.SECONDS);
It run first time fine but after 3 or 4 time it stops automatically and server stop shows traces .
scheduler = sfs.getTaskScheduler().scheduleAtFixedRate(new GameExtension.GameLogicThread(), 0, 1, TimeUnit.SECONDS);
It run first time fine but after 3 or 4 time it stops automatically and server stop shows traces .
Re: Scheduled Task getting stopped automatically
What I wanted to see is the actual Runnable
Who is online
Users browsing this forum: Stevenor and 95 guests