-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Greg, 

One of the performance drawbacks of class reloading is
reduced performance since one small change in a single
class will cause the entire zone to be reloaded.  One
suggested work around is to move more stable classes
in the systems class path to recieve the benefits of
quicker development without the performance drawback.

..Bob

--- Greg Barish <[EMAIL PROTECTED]> wrote:
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
> 
> Zak -
> 
> It has been my experience that writing and deploying
> new servlets
> on NT requires that you restart the webserver and
> thus JServ.
> 
> HOWEVER, JServ will notice when a given servlet's
> .class files have 
> been updated.  At least on NT, that's the way it
> seems to work. YMMV.
> 
> Related to this question, I have my own question:
> 
> I have 2 servlets: "PainfullyLongInit" and
> "ErrorProne".
> 
> I have to fix and repair "ErrorProne" often - like 2
> times a day.
> No problem, I just recompile and - presto - the new
> servlet is
> automatically picked up (via auto-reload JServ
> property).  
> However, recompilation and then access to the new
> version of
> "ErrorProne" causes "PainfullyLongInit" to
> re-init(), thus tying 
> up my whole system.  I cannot even execute the new
> version
> of "ErrorProne" until the init() for
> "PainfullyLongInit" finishes.
> 
> I must be doing something utterly stupid - can
> someone please
> enlighten me?
> 
> Thanks!
> 
> 
> Zak May wrote:
> > 
> > -----------------------------
> > Please read the FAQ!
> > <http://java.apache.org/faq/>
> > -----------------------------
> > 
> > i run JServ with Apache 1.3.9 on Windows NT.
> > 
> > it can not find my servlet classes.
> > 
> > i added them to the root zone mounted on
> /servlets, because it was
> > working -- and http://localhost/jserv/ and
> > http://localhost/servlets/IsItWorking were working
> too.  but when i put
> > the .class files into the servlets/ directory,
> JServ does not see them.
> > 
> > i guess, my questions are:
> > 
> > 1. why do i get an Internal Server Error on all
> servlets when i add
> > another "repositories" line to zone.properties?
> > 2. what's up with the backslashes and spaces in
> windows' directory names
> > -- are they a problem in general?
> > 3. does it matter, which compiler i used to
> compile my servlet classes?
> > 4. is this an FAQ?
> > 
> > thank you very much in advance,
> > 
> > zak.
> > 
> > --
> >
>
--------------------------------------------------------------
> > Please read the FAQ! <http://java.apache.org/faq/>
> > To subscribe:       
> [EMAIL PROTECTED]
> > To unsubscribe:     
> [EMAIL PROTECTED]
> > Archives and Other: 
> <http://java.apache.org/main/mail.html>
> > Problems?:           [EMAIL PROTECTED]
> 
> 
> --
>
--------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:       
> [EMAIL PROTECTED]
> To unsubscribe:     
> [EMAIL PROTECTED]
> Archives and Other: 
> <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
> 
> 

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
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