just a newbee question to make sure that I understand what's
happening in terms of loading copies of a servlet.

I have a servlet that loads certain initialization data from
a file at initialization time (as loaded - right?) which is
then stored in class vars.

I have two zone aliases (same zone) for the same actual servlet code

i.e.   servlet.tnn1.code=servletClass
       servlet.tnn1.initArgs=rePostAddr=http://.../servlets/tnn1
       servlet.tnn1.initArgs=initFile=coefFile1
             ... and ...
       servlet.tnn2.code=servletClass
       servlet.tnn2.initArgs=rePostAddr=http://.../servlets/tnn2
       servlet.tnn2.initArgs=initFile=coefFile2

Now, when I access pages (1 for each of the two aliases), it looks to me 
like there are actually two copies of the servlet code loaded - one referenced
by tnn1 and another referenced by tnn2. (I used different initFile contents
and see the expected (different) results both on the first access to each
servlet alias and on successive rePosts of each servlet alias.

I just want to make sure that this is the expected result (one loaded
copy of the servlet for EACH alias of that class in a single zone)
for servlet engines in general - or only for Jserv.

OR is this perhaps some odd situation occurring on my server only?

--
ooba ooba,
Horace                             ...once known as "Kicker" :-)
================================================================
Horace Vallas    hav.Software                http://www.hav.com/     
                 P.O. Box 354                        [EMAIL PROTECTED]
                 Richmond, Tx.  77406-0354        (281) 341-5035 
================================================================
...drop by and chat if I'm online       http://www.hav.com/chat/      
===   ===   ===   ===   ===   ===   ===   ===   ===   ===   ====
The probability of life originating from accident is comparable 
to the probability of the Unabridged Dictionary resulting from 
an explosion in a printing factory.   - Prof. Edwin Conklin
===============================================================


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to