DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15299>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15299

Coyote AJP Connector ignores port attribute in server.xml

           Summary: Coyote AJP Connector ignores port attribute in
                    server.xml
           Product: Tomcat 4
           Version: 4.1.12
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote JK 2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


>From server.xml:

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="9122" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="20000"
               useURIValidationHack="false"
               protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>


>From catalina.out:

Dec 10, 2002 6:10:39 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009

Notice that the ajp connector comes up on 8009 even though
the port attribute specifies 9122.

If I switch back to the old connector:

    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="9122" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>

, then Apache finds my tomcat server on port 9122 no problem.
Let me know if you have any questions - thanks for the great work!

Cheers,
Reuben

jdk1.4, linux, apache1.3

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to