Is it possible turn off autoincrement the port of AJP when tomcat start and port configured is in use ?

2011-09-02 Thread Javier Barroso
Hi, I have a tomcat 6.0.20 where I have next config in server.xml: Connector port=8010 protocol=AJP/1.3 redirectPort=8443 maxThreads=1024 connectionTimeout=6 / Today I found this is in catalina.out: 12-ago-2011 9:22:32 org.apache.jk.common. ChannelSocket init INFO: Port busy 8010

Re: Is it possible turn off autoincrement the port of AJP when tomcat start and port configured is in use ?

2011-09-02 Thread Javier Barroso
Ok, I downloaded tomcat source code and found maxPort which I think is the parameter I need. I think this should be documented in http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html or in mod_jk from apache. Thanks! On Fri, Sep 2, 2011 at 11:17 AM, Javier Barroso javibarr...@gmail.comwrote:

Re: Is it possible turn off autoincrement the port of AJP when tomcat start and port configured is in use ?

2011-09-02 Thread Javier Barroso
Searching by maxport in google, I found http://marc.info/?l=tomcat-userm=119266319507127w=2 thread, but seems like there is not answer to this question :( Any tip ? On Fri, Sep 2, 2011 at 11:22 AM, Javier Barroso javibarr...@gmail.comwrote: Ok, I downloaded tomcat source code and found maxPort

Re: Is it possible turn off autoincrement the port of AJP when tomcat start and port configured is in use ?

2011-09-02 Thread Mark Thomas
On 02/09/2011 10:38, Javier Barroso wrote: Searching by maxport in google, I found http://marc.info/?l=tomcat-userm=119266319507127w=2 thread, but seems like there is not answer to this question :( Any tip ? Try reading the 6.0x. changelog. Mark On Fri, Sep 2, 2011 at 11:22 AM, Javier

Re: Is it possible turn off autoincrement the port of AJP when tomcat start and port configured is in use ?

2011-09-02 Thread Javier Barroso
That mean that I can use channelSocket.maxPort in tomcat 6.0.20 ? I read about an new alias maxport, but I suppose I can use still channelSocket.maxPort. Upgrading all tomcats here could be a problem with applications :( Thank you very much Regards On Fri, Sep 2, 2011 at 12:07 PM, Mark Thomas

Re: Is it possible turn off autoincrement the port of AJP when tomcat start and port configured is in use ?

2011-09-02 Thread Konstantin Kolinko
2011/9/2 Javier Barroso javibarr...@gmail.com: That mean that I can use channelSocket.maxPort in tomcat 6.0.20 ? I read about an new alias maxport, but I suppose I can use still channelSocket.maxPort. Only if you are lucky, because it depends whether port or maxPort is set first (in that old

Re: Is it possible turn off autoincrement the port of AJP when tomcat start and port configured is in use ?

2011-09-02 Thread Javier Barroso
On Fri, Sep 2, 2011 at 9:26 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2011/9/2 Javier Barroso javibarr...@gmail.com: That mean that I can use channelSocket.maxPort in tomcat 6.0.20 ? I read about an new alias maxport, but I suppose I can use still channelSocket.maxPort. Only if