Shaji wrote:

> When Tomcat 6 finds that the specified AJP port is already in use, 
> it increments the port number and try to bind to the next available
port.

Why does the AJP connector do this?  Does mod_jk try the "next port"
too?

-- 
Mitchell Fisher | Unisys Corp. 

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
Sent: Wednesday, October 17, 2007 9:32 PM
To: users@tomcat.apache.org
Subject: Re: AJP port - How to stop Tomcat from incrementing the AJP
port number

Well, it should be possible to do channelSocket.maxPort="0" on the 
<Connector />.  However, if the port attribute gets processed after the 
maxPort, it will reset it back (yes, it's a bug :).  If you are using
the 
default 8009 port, then it should be possible to omit the port option on
the 
<Connector /> and it should work.

"Shaji Thomas" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
When Tomcat 6 finds that the specified AJP port is already in use, it 
increments the port number and try to bind to the next available port.
When 
this happens, on the web server side apache is not able to connect to
the 
AJP port on Tomcat side, because Tomcat is listening on a different AJP 
port.

So is there a way to make Tomcat listen only on the specified AJP port?
In 
the source I see there is a maxPort variable it is checking while 
incrementing the port number. Is there a way to control this from 
configuration files?

I am using Tomcat 6 with mod_jk.

Thank you very much
Shaji


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to