Hi,

I tried hard but could not find any information regarding the following:

        The problem is this:
*       We want to add a new tomcat service (I am referring to a service
in server.xml) dynamically to be run on a different port within the same
tomcat instance.
*       We want to do this without restarting the tomcat.
*       We should be able to start/stop this service (any webapps within
this service) dynamically without starting/stopping services.

There will be already some tomcat webapps running on a standard port
configured in server.xml. What I want to do is that based on some input
from the user, I should start new webapps on a different port and this
port number is dynamic.
 
Is there a way I can achieve this functionality. I looked at the manager
application but it only allows to add/remove webapps within a static
pre-configured port number.

I am able to achieve by hacking some of the tomcat code and installing
my class in the Catalina loader that can access classes like
StandardEngine, etc. I am not sure if there are any caveats to it.
Please let me know.

Thanks.
Naren

Reply via email to