Hi,
I have been trying to improve a bit on the "admin"
application, especially on the "contextAdmin" bit,
tweaking its web pages/JSPs in order to add functionality
and ease of use.
I am especially interested on making it easier to restart
individual applications, deploy or redeploy new
applications and restart the whole container trough this
web interface.
The first two things that are really confusing are:
- the existence of 2 lines of very similar classes
(e.g.: TomcatAdmin and ContextAdmin) in the "tadm"
package at "webapps\admin\WEB-INF\classes\tadm";
- and the fact that "restart.jsp" does not work as
expected producing duplicate entries in the list
presented by "contextList.jsp".
Looking at "org.apache.tomcat.core.ContextManager" did
not help a lot since its comments are not very clear
either, as is the case of its "shutdown()" method where
comments make me doubt about how cleanup should be done.
Can someone help me here?
I am willing to help improving the admin application and
I have a lot of selfish motives to do it, but I need
some pointers in order to understand how it should work.
This restart thing probably has some relation with the
work Costin is doing on "EmbededTomcat" - maybe the
information missing is the same.
Thanks and have fun,
Paulo Gaspar