I suggest that you should look into embedding Tomcat.
Tomcat can be configured and started programmatically.

http://www.google.co.uk/search?q=embedding+tomcat


Youko wrote:
Hi...iam a new tomcat user and have few questions

I want to add connection management utility in tomcat.
Basically the functionalities are start, shutdown and restart tomcat
programmatically
from java code.  Is there anyway to do this? Ant can do this from their
task, but
i dont know the mechanism.

we also want to be able to overwrite default port mention in
server.xml throug java code also.  Either on the fly, or by writing it on
server.xml
and then restart the tomcat. Is it possible to do this?
Thanks for the response

Regards

--Priyoko T


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to