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 <[email protected]> wrote: > From: Roger Powers <[email protected]> > Subject: Setting maxThreads from outside tomcat > To: [email protected] > 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: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
