You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Amila Suriarachchi <am...@gmail.com> on 2006/05/08 08:13:11 UTC

Admin Console Problem

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.