DO NOT REPLY [Bug 20561] - Limitation of availiable high ports for JK2

2003-08-29 Thread bugzilla
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=20561.
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

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2003-08-29 15:57 ---
Cleaning house...

I have been using the patch I provided for a couple of monthes now.  It works 
fine.  I will close this bug.  Thanks everyone!

-e

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



DO NOT REPLY [Bug 20561] - Limitation of availiable high ports for JK2

2003-07-02 Thread bugzilla
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=20561.
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 [EMAIL PROTECTED]  2003-07-02 15:10 ---
Created an attachment (id=7057)
[Patch] for high Unix TCP ports for JK2

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



DO NOT REPLY [Bug 20561] - Limitation of availiable high ports for JK2

2003-07-02 Thread bugzilla
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=20561.
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 [EMAIL PROTECTED]  2003-07-02 15:12 ---
I attached a proposed patch that seems to be working.  I am using port 48009.

I have never wrote anything for JK2 and I am not familiar with it's inner 
workings.  But I gave it a try.  Please don't beat me up.  :)

-e

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



DO NOT REPLY [Bug 20561] - Limitation of availiable high ports for JK2

2003-07-01 Thread bugzilla
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=20561.
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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 20561] - Limitation of availiable high ports for JK2

2003-07-01 Thread bugzilla
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=20561.
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 [EMAIL PROTECTED]  2003-07-01 20:06 ---
Why go from short to long (8 bytes on some boxes) to hold what can be stored in
16 bits?  Try unsigned short.

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



DO NOT REPLY [Bug 20561] - Limitation of availiable high ports for JK2

2003-07-01 Thread bugzilla
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=20561.
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 [EMAIL PROTECTED]  2003-07-01 20:22 ---
Used 'unsigned short' and it still seems to be working fine.  Thanks for the 
tip!

-e

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