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 <prog...@yahoo.com> wrote: > From: Roger Powers <prog...@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-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org