tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Admin Console Problem
Date Mon, 08 May 2006 06:13:11 GMT
hi,
the CommitChangesAction of the admin console has a problem.
This action calls for a method called "storeConfig" in
o.a.c.c.StandardServer class. This results calls for a method called
"storeContext" in the same class.

the "storeContext" method writes the context data to context config file.
This causes change in  this  file, and then some
back ground thread redeploys the application. Hence calling to "storeConfig"
method causes redeploys all the web applications.
(since it calls for "storeContext" for all the deployed applications).

So in Admin console when a user Click on the commit button, the user will
logged off from the session and redeployes
all the deployed applications.

commenting out the above "storeContext" method call, is not a solution
since, this admin console can also be used to edit the context
specific data.

can someone propose a solution for this? (i.e stop redeploying the
applications unnecesarily)

thankx,
amila.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message