File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Timer service is still running even undeploy the application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Timer service is still running even undeploy the application" Watch "Timer service is still running even undeploy the application" New topic
Author

Timer service is still running even undeploy the application

sattanathan pakkirisamy
Greenhorn

Joined: Jun 22, 2012
Posts: 2
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

Joined: Jun 22, 2012
Posts: 2
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

Joined: Oct 27, 2005
Posts: 19787
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Timer service is still running even undeploy the application