Re: Multiple instances of servlets

2006-06-16 Thread Magnus Larsgården
okingManager As I mentioned earlier it is mydomain2 that get four instances of the "BookingManager" servlet. Comments? Thanks /Magnus - Original Message - From: "Len Popp" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, June

Re: Multiple instances of servlets

2006-06-16 Thread Len Popp
t;Tomcat Users List" Sent: Wednesday, June 14, 2006 4:44 PM Subject: Re: Multiple instances of servlets How many web.xml files do you have, and how many declarations are there in those files? Each one of those is a different servlet (even if some of them happen to be implemented by similar

Re: Multiple instances of servlets

2006-06-14 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Re: Multiple instances of servlets

2006-06-14 Thread Magnus Larsgården
As I mentioned earlier it is mydomain2 that get four instances of the "BookingManager" servlet. Comments? Thanks /Magnus - Original Message - From: "Len Popp" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, June 14, 2006 4:4

Re: Multiple instances of servlets

2006-06-14 Thread Len Popp
How many web.xml files do you have, and how many declarations are there in those files? Each one of those is a different servlet (even if some of them happen to be implemented by similar Java classes). Normally, Tomcat will create one instance of each of those servlets (or one per JVM in a distri

Multiple instances of servlets

2006-06-14 Thread Magnus Larsgården
Hi all, Is Tomcat supposed to create multiple instances of my servlet at startup? Or is it a bug? Background: I have two different domains connected to my Tomcat server (version 5.5.17): http://mydomain1.host.com and http://mydomain2.host.com "mydomain1" is directed to /home/web/tom