logo       

servlet/application reloading: msg#00044

java.enhydra.general

Subject: servlet/application reloading

Greetings list members!

In an attempt to avoid using Tomcat for our students (for reasons best
left alone, but sufficient to say is that it pretty much sucks for our
use), I have tackled Enhydra to see if we could use that instead.

What we have is about 100 (possibly more, continuously increasing) web
applications, one for each user that has enabled such a thing. These
applications are servlet 2.2 web applications, and can thus be defined
something like this in multiserver.conf;

Application.WarExample.Description = "User s01donald"
Application.WarExample.DocRoot = "/home/s01donald/.servlets"
Application.WarExample.Running = yes

This works reasonably well for the limited tests I've done. However,
it takes Enhydra a fair bit of time to start up (remember, there's a
lot of applications starting here), so we don't like to do that more
than once a day or so.

But of course, the applications are under heavy development
(especially now, when finals are due any day), so they change
constantly.

I have searched hi and low (and the question has been asked before),
but I can't find any way in which I can have Enhydra notice that their
class files have changed and upon detecting such a thing, reload the
application.

Surely this must be possible?

--
Jonas Öberg
Systems administrator/webmaster, Department of Informatics,
School of Economics and Commercial Law, Gothenburg University.
Phone. +46-31-7732717, Fax. +47-31-7734754


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise