Good evening All. Can verify the patch works, at least on my NetWare platform. Successfully got a link to Tomcat on port 59000 where previously 32k was the limit.This now brings ModJk2 up to the same capability as Mod_Jk. The port number is also correctly displayed in the jkstatus page. Hope someone can check and commit this one. Norm
> Hi, > a user just found that the port number is limited to less than 32768 with mod_jk2; > the patch below solves this: > http://www.gknw.com/test/jk_channel_apr_socket.c.diff > > ============================================================================ == > --- ./native2/common/jk_channel_apr_socket.c.orig Thu Jan 29 18:23:28 2004 > +++ ./native2/common/jk_channel_apr_socket.c Sat Jan 31 01:45:56 2004 > @@ -74,9 +74,9 @@ > */ > struct jk_channel_apr_private { > int ndelay; > + apr_port_t port; > apr_sockaddr_t *addr; > char *host; > - short port; > int keepalive; > int timeout; > }; > @@ -168,7 +168,7 @@ > jk_channel_apr_private_t *socketInfo= > (jk_channel_apr_private_t *)(ch->_privatePtr); > int rc; > - short port=socketInfo->port; > + apr_port_t port=socketInfo->port; > > if( socketInfo->host==NULL ) { > char *localName=ch->mbean->localName; > > Guenter. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]