tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Shorter" <shor...@caradas.com>
Subject RE: Getting multiple instances of my servlet, although it doesn't implement SingleThreadModel
Date Fri, 01 Mar 2002 14:39:00 GMT
> > 	3.  Having the same context loaded multiple times.
> > This generally happens because the AutoContextLoader (or 
> > whatever its called) is still enabled and an explicit Context 
> > is also defined, making two contexts (and two instances of 
> > the servlets).
> 
> Maybe.  I do have a context explicitly defined (I need to, so 
> I can create an authentication realm for the user interface 
> portion of the application).  I will look into how to not 
> automatically load contexts and see if that helps.

Well after reading
tomcat-docs/config/host.html#Automatic%20Application%20Deployment I am
discouraged.  It says that WARs are automatically unpacked (which you
*can* turn off using unpackWARs=false in the Host tag) and that contexts
are automatically generated for all contents of webapps.  It doesn't say
how to turn that feature off.

I guess I can deploy to somewhere besides webapps - that should do it,
huh?

I'll try that and let all know.
-
Scott


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message