tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Is it possible turn off autoincrement the port of AJP when tomcat start and port configured is in use ?
Date Fri, 02 Sep 2011 10:07:24 GMT
On 02/09/2011 10:38, Javier Barroso wrote:
> Searching by maxport in google, I found
> http://marc.info/?l=tomcat-user&m=119266319507127&w=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 Barroso <javibarroso@gmail.com>wrote:
> 
>> 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 <javibarroso@gmail.com>wrote:
>>
>>> 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="60000" />
>>>
>>> Today I found this is in catalina.out:
>>>
>>> 12-ago-2011 9:22:32 org.apache.jk.common.
>>> ChannelSocket init
>>> INFO: Port busy 8010 java.net.BindException: Address already in use
>>> 12-ago-2011 9:22:32 org.apache.jk.common.ChannelSocket init
>>> INFO: Port busy 8011 java.net.BindException: Address already in use
>>> 12-ago-2011 9:22:32 org.apache.jk.common.ChannelSocket init
>>> INFO: JK: ajp13 listening on /0.0.0.0:8012
>>>
>>>
>>> I need Tomcat running in 8010 port, if it cannot use that port, it should
>>> not be running in another. I have configured that port in apache mod_ajp, so
>>> I don't like that port can be dinamyc.
>>>
>>> Is there any tip to disable this mechanism ? I searched in google and this
>>> list and in tomcat docs but I didn't find anything
>>>
>>> Thank you very much!
>>>
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message