tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: Changing Tomcat port programmatically
Date Sun, 21 Jan 2007 11:05:44 GMT
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message