RE: Tomcat 3.3 and 4.x tuning via command line

2002-02-08 Thread GOMEZ Henri
I don't know if the Eclipse configuration allows you to specify -Dprop=value in Tomcat's startup. If it does, I think a lot of this can be done in Tomcat 3.3.1 using parameter substitution. I have used in server.xml Http10Connector port=${http.port} ... / and included

RE: Tomcat 3.3 and 4.x tuning via command line

2002-02-08 Thread Craig R. McClanahan
On Fri, 8 Feb 2002, GOMEZ Henri wrote: Date: Fri, 8 Feb 2002 09:31:44 +0100 From: GOMEZ Henri [EMAIL PROTECTED] Reply-To: Tomcat Developers List [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Subject: RE: Tomcat 3.3 and 4.x tuning via command line I don't know

RE: Tomcat 3.3 and 4.x tuning via command line

2002-02-08 Thread GOMEZ Henri
I'm wondering whether we really need to build it in to Tomcat itself, though. Can't you accomplish the same thing by using a little Ant script and run a filter or replace task? All this would require is packaging ant.jar along with Tomcat, or requiring users that need the facility to download

RE: Tomcat 3.3 and 4.x tuning via command line

2002-02-08 Thread Craig R. McClanahan
On Fri, 8 Feb 2002, GOMEZ Henri wrote: Date: Fri, 8 Feb 2002 18:10:57 +0100 From: GOMEZ Henri [EMAIL PROTECTED] Reply-To: Tomcat Developers List [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Subject: RE: Tomcat 3.3 and 4.x tuning via command line I'm wondering whether

RE: Tomcat 3.3 and 4.x tuning via command line

2002-02-08 Thread costinm
On Fri, 8 Feb 2002, Craig R. McClanahan wrote: target name=generate description=Generate customized server.xml replace file=server.xml token=@port@ value=${port} /target /project In your template server.xml, you'd have a Connector element like this: Connector ...

RE: Tomcat 3.3 and 4.x tuning via command line

2002-02-08 Thread GOMEZ Henri
There's a lot of power in what the replace task can do. Here's a very simple one that replaces the string @port@ with the port number specified by the port property: project name=Create server.xml default=generate target name=generate description=Generate customized server.xml

RE: Tomcat 3.3 and 4.x tuning via command line

2002-02-07 Thread Larry Isaacs
I don't know if the Eclipse configuration allows you to specify -Dprop=value in Tomcat's startup. If it does, I think a lot of this can be done in Tomcat 3.3.1 using parameter substitution. I have used in server.xml Http10Connector port=${http.port} ... / and included

RE: Tomcat 3.3 and 4.x tuning via command line

2002-02-07 Thread GOMEZ Henri
I don't know if the Eclipse configuration allows you to specify -Dprop=value in Tomcat's startup. Yes you could set any VM and commandline args. If it does, I think a lot of this can be done in Tomcat 3.3.1 using parameter substitution. I have used in server.xml Http10Connector

RE: Tomcat 3.3 and 4.x tuning via command line

2002-02-07 Thread Larry Isaacs
To: Tomcat Developers List Subject: RE: Tomcat 3.3 and 4.x tuning via command line I don't know if the Eclipse configuration allows you to specify -Dprop=value in Tomcat's startup. Yes you could set any VM and commandline args. If it does, I think a lot of this can be done in Tomcat

Re: Tomcat 3.3 and 4.x tuning via command line

2002-02-07 Thread Craig R. McClanahan
On Thu, 7 Feb 2002, GOMEZ Henri wrote: Date: Thu, 7 Feb 2002 09:28:01 +0100 From: GOMEZ Henri [EMAIL PROTECTED] Reply-To: Tomcat Developers List [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Subject: Tomcat 3.3 and 4.x tuning via command line Hi to all, You should all

RE: Tomcat 3.3 and 4.x tuning via command line

2002-02-07 Thread Craig R. McClanahan
On Thu, 7 Feb 2002, Larry Isaacs wrote: Date: Thu, 7 Feb 2002 07:40:21 -0500 From: Larry Isaacs [EMAIL PROTECTED] Reply-To: Tomcat Developers List [EMAIL PROTECTED] To: 'Tomcat Developers List' [EMAIL PROTECTED] Subject: RE: Tomcat 3.3 and 4.x tuning via command line I don't know

RE: Tomcat 3.3 and 4.x tuning via command line

2002-02-07 Thread GOMEZ Henri
It appears, for example, that the only thing you can override about a connector is which port it's on. What happens if you want to override, say, the maximum number of connections that your connector will accept (the maxProcessors parameter on Tomcat 4's HttpConnector)? Right +1 for you here