> From: rajeshwar bharathi [mailto:rajeshwarbhara...@gmail.com] 
> Subject: Tomcat Cluster Membership establishment query

> To: d...@tomcat.apache.org; Tomcat Users List

Don't cross-post.

> We have a simpleTCP cluster built between 2 Tomcat 6.0.18 nodes

It would be beneficial for you to move up to a newer level - that one is over 
2.5 years old, and lots and lots of fixes have gone in since then.

> when we use another IP like 172.x.x.x then we see negative numbers
> being displayed on the log.

> Not sure what is causing this. Can anybody tell me 
> why this is happening?

Because the IP address is kept in a byte array, and bytes, by definition, are 
signed.  Unless explicit action is taken to remove the sign extension, any 
values larger than 127 will be displayed as negative.

It appears to be fixed in Tomcat 7.0.8, and possibly sometime before that, but 
not in any 6.0 level.  You're welcome to dig through the code changes to find 
out exactly when the fix was created.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to