Vaadin Worker

I am using Vaadin worker and Push sevrice in vaadin 6 for background thread.
I am running a background thread in my application, it is working when I am running it in localhost. but after hosting my application on tomcat 7 , now background thread is not working.
can you please tell me what will be the problem.