tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <res0o...@verizon.net>
Subject Re: Servlet Instances
Date Fri, 30 Aug 2002 06:41:59 GMT
I'm guessing that you have either 2 unused Hosts or Connectors (or some
combination thereof) in your server.xml.  This will cause the servlet to get
initialized multiple times.

"Rui Fernandes" <rui@entalpia.com> wrote in message
news:009b01c24f48$9ab9c260$4600a8c0@server...
> No,
> Is just like that.
> But I change things with static variables to control that servlets don't
> instantiate what others instantiated before, and share access to the
> necessary classes through static references.
> But I find that this doesn't solve the problem... My conclusion, somehow
> there are 3 Tomcats running!?!? But only one seems to be responsible for
> remote calls.
>
> Strange, very strange indeed.... just can't get it.
>
>
> ----- Original Message -----
> From: Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>
> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> Sent: Thursday, August 29, 2002 12:29 PM
> Subject: Re: Servlet Instances
>
>
> > > No, I am saying I have three instances of the same servlet. Only one
> appears
> > > to be receiving the requests, but if things are like you say then
what's
> > > going on with Tomcat? Are you saying I have three Tomcats running,
even
> > > thought I called startup only once?
> >
> > Are you sure? Could it be that your mixing instances of a class with
> threads running in the engine?
> >
> > Otherwise it is very strange.
> >
> > Nix.
> >





--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message