tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Powers <prog...@yahoo.com>
Subject Re: Setting maxThreads from outside tomcat
Date Thu, 30 Jul 2009 20:44:47 GMT
Sorry, I just discovered that catalina.properties can
be used to set variables that can be used in server.xml - 
problem solved! 

--- On Thu, 7/30/09, Roger Powers <progpwr@yahoo.com> wrote:

> From: Roger Powers <progpwr@yahoo.com>
> Subject: Setting maxThreads from outside tomcat
> To: users@tomcat.apache.org
> Date: Thursday, July 30, 2009, 4:35 PM
> Hi,
> 
> I am making tomcat 6 work on different platforms that need
> different values for maxThreads in the Connector in
> server.xml.
> 
> Ideally, I would set an environment variable and/or
> property that could be used when server.xml is read - is
> something like this supported?
> 
> Or, worse case, it looks like I could put a value onto the
> command line and look for it in Bootstrap.main() and then
> consult that value as the connectors are made, but that's
> pretty ugly.
> 
> Any ideas?
> RP
> 
> 
> 
>       
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@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