tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Javier Barroso <javibarr...@gmail.com>
Subject Is it possible turn off autoincrement the port of AJP when tomcat start and port configured is in use ?
Date Fri, 02 Sep 2011 09:17:25 GMT
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!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message