Re: Tomcat 5.5 problem - container not serving up web content

2005-11-18 Thread Michael Niemaz
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

Re: tomcat and wbs

2005-11-16 Thread Michael Niemaz
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

Re: tomcat and wbs

2005-11-15 Thread Michael Niemaz
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,

tomcat and wbs

2005-11-15 Thread Michael Niemaz
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