I have the same message when I try to deploy a war file that already exists.
I have to shutdown, remove the old war file and its deployed dir, copy
the new war file and then re-start Linux Tomcat.
This probably has nothing to do with your problem but ... we never know ;-)
--mike
Jorge Rodrigue
this.context = event.getServletContext();
yourService.start();
}
public void contextDestroyed(ServletContextEvent event) {
this.context = null;
yourService.stop();
}
}
hope it helps
- -reynir
Michael Niemaz wrote:
Thanx Reynir, it helps ... although I would
se it dependes on what you are going to do, but starting some
service at application-startup can be done via web.xml (of your
application) either by a custom listener or servlet loading up your
service, sometimes done by using a singleton.
hope it helps
- -reynir
Michael Niemaz wrote:
Hi all,
Hi all,
Could someone explain me or point me to an explanation of how tomcat
initialize web services? I'd like to initialize them automatically at
tomcat start-up instead of just before their invocation.
Thanx,
--mike
-
T