Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 53577 invoked from network); 1 Jul 2003 19:55:13 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Jul 2003 19:55:13 -0000 Received: (qmail 25362 invoked by uid 97); 1 Jul 2003 19:57:42 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 25355 invoked from network); 1 Jul 2003 19:57:41 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 1 Jul 2003 19:57:41 -0000 Received: (qmail 51699 invoked by uid 500); 1 Jul 2003 19:54:53 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 51649 invoked from network); 1 Jul 2003 19:54:52 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Jul 2003 19:54:52 -0000 Received: (qmail 25329 invoked by uid 50); 1 Jul 2003 19:57:20 -0000 Date: 1 Jul 2003 19:57:20 -0000 Message-ID: <20030701195720.25328.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 20561] - Limitation of availiable high ports for JK2 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=20561 Limitation of availiable high ports for JK2 ------- Additional Comments From eric@icky.org 2003-07-01 19:57 ------- The TCP port is defined as a 'short' and is limited to 32767 A quick hack was to tweak jakarta-tomcat-connectors-jk2-2.0.2- src/jk/native2/common/jk_channel_socket.c $ diff jk_channel_socket.c.old jk_channel_socket.c.new 94c94 < short port; --- > long port; 110c110 < short port, --- > long port, 204c204 < static int JK_METHOD jk2_channel_socket_resolve(jk_env_t *env, char *host, short port, --- > static int JK_METHOD jk2_channel_socket_resolve(jk_env_t *env, char *host, long port, This is being tested now. At first glance it appears to work. -e --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org