Aurelien,

I had this too.

The config for the org.apache.coyote.tomcat4.CoyoteConnector seems to be
determined by what is in
conf/jk2.properties, in particular the lines

# Override the default port for the socketChannel
# channelSocket.port=8009

I don't know where it gets the default of 8009,
obviously not server.xml, and not this commented line,
but changing the above line does work, so you could change it to

# Override the default port for the socketChannel
channelSocket.port=8019

The jk2.properties also says ...

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.
which I guess means
http://localhost:8080/tomcat-docs/jk2/jk2/configtc.html
assuming you've got a default installation of tomcat complete with its
tomcat-docs webapp

Hope this helps you forward.
I'm copying it to your personal email address to as requested.

Christopher

> -----Original Message-----
> From: Aurelien Pernoud [mailto:apernoud@;sopragroup.com]
> Sent: 04 November 2002 14:14
> To: [EMAIL PROTECTED]
> Subject: Coyote/JK2 AJP 1.3 Connector stays on 8009 ? Possible bug ?
>
>
>
> Hi there,
>
> I'm using tomcat 4.1.12 and I found something strange : I'm
> trying to change
> the default port for Coyote/JK2 AJP 1.3 Connector, to be able to run
> multiple instances of Tomcat.
>
> So I edit the server.xml and modified port="8009" to port="8109" for
> instance :
>
>     <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
>
>     <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>                port="8109" minProcessors="5" maxProcessors="75"
>                enableLookups="true" redirectPort="8443"
>                acceptCount="10" debug="0" connectionTimeout="20000"
>                useURIValidationHack="false"
>
> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
>
> It works well for all the other ports (Shutdown, HTTP1.1), but this one
> never get changed, so I get errors with other tomcats (VBM address in use
> ...).
>
> In server.xml, the other line for <!-- Define an AJP 1.3 Connector on port
> 8009 --> is commented, so it's not this...
>
> I looked into the bug report and mail-archive but didn't find
> anything about
> it. Am I doing something wrong ?
>
> As I'm not on this mailing-list (too much traffic sorry), could you please
> copy me if you find something.
>
> I first posted on tomcat-dev but seems it wasn't the good place...
>
> Thanks,
> Aurélien Pernoud
> Sopra Group
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to