Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Timer service is still running even undeploy the application

 
sattanathan pakkirisamy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I'm facing some problem in my EJB setup. I have deployed the ejb setup and it was working fine.

The working conditions are:

1. The timer service is working when i hitted the servlet after starting the server. It must not work when i close the servlet window,but in my case it is still working(timer is performing its opeartion) even i closed the servlet page.
2. When i stopped the server, the timer not gets invoked.

I uninstalled the EJB application, but still the timer service is running.

Can anyone please help me out of this problem.? I'm using WAS 7 server.

Thanks & Regards,
Sattanathan.P
Infosys Limited.

 
sattanathan pakkirisamy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sattanathan pakkirisamy wrote:Hi Friends,

I'm facing some problem in my EJB setup. I have deployed the ejb setup and it was working fine.

The working conditions are:

1. The timer service is working when i hitted the servlet after starting the server. It must not work when i close the servlet window,but in my case it is still working(timer is performing its opeartion) even i closed the servlet page.
2. When i stopped the server, the timer not gets invoked.

I uninstalled the EJB application, but still the timer service is running.

Can anyone please help me out of this problem.? I'm using WAS 7 server.

Thanks & Regards,
Sattanathan.P

 
Rob Spoor
Sheriff
Pie
Posts: 20532
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow, I know we ask people to EaseUp, but you've waited over 2 years. You still haven't solved the issue?

I don't know why your timer doesn't stop when you undeploy the application, but it's logical that it keeps running when the servlet window is closed. The server doesn't get notified that the window is closed, so it doesn't do anything. You could perhaps use JavaScript to send a signal when the browser is closed or the page is navigated out of, but most browsers don't support that properly.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic