You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Oxley <da...@staffplanner.co.uk> on 2000/11/07 14:41:31 UTC

init being called twice

Does anyone know why the init method is being called twice. I'm using
tomcat3.2b6 with IIS5 on W2K linked with isapi_redirect.dll. I have also
seen this with 3.1 with apache 1.3.12 on Solaris 7 linked with mod_jserv.so.

I can code around this so that the second time through it doesn't call my
init stuff again, but surely this is a bug?!

Any comments?
Dave
Dave@Staffplanner.co.uk

Re: init being called twice

Posted by William Brogden <wb...@bga.com>.

David Oxley wrote:
> 
> Does anyone know why the init method is being called twice. I'm using
> tomcat3.2b6 with IIS5 on W2K linked with isapi_redirect.dll. I have also
> seen this with 3.1 with apache 1.3.12 on Solaris 7 linked with mod_jserv.so.
> 
> I can code around this so that the second time through it doesn't call my
> init stuff again, but surely this is a bug?!
> 
> Any comments?
> Dave
> Dave@Staffplanner.co.uk

Seems to me I recall that being traced to having a servlet entry in
both the base web.xml and application context web.xml.

-- 
WBB