• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Timer service is still running even undeploy the application

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Sheriff
Posts: 22784
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic