Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Changing Tomcat port programmatically

Youko

2007-01-21

Replies:


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
--
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.