tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Javier Barroso <javibarr...@gmail.com>
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:44:18 GMT
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 <markt@apache.org> wrote:
>
> 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
>

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


Mime
View raw message