[Bug 54872] New: Receiver's value of autoBind is "less than", not "not greater than"

2013-04-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54872

Bug ID: 54872
   Summary: Receiver's value of autoBind is "less than", not "not
greater than"
   Product: Tomcat 7
   Version: 7.0.39
  Hardware: PC
Status: NEW
  Severity: trivial
  Priority: P2
 Component: Documentation
  Assignee: dev@tomcat.apache.org
  Reporter: ozuma5...@nifty.com
Classification: Unclassified

/tomcat-7.0-doc/config/cluster-receiver.html :

In the section "Attributes -- Common Attributes", the description of Attribute
"port" is slightly diffrent to the facts.

It says "port <= bindPort <= port+autoBind", but this should be written 
"port <= bindPort < port+autoBind".
And "port in the range 4000-4100." also shoud be written "port in the range
4000-4099."

For example, I try (port=4000, and autoBind=10), then the receiver tried to
open port in the range of 4000-4009. It didn't try port 4010.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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



[Bug 54800] Possible thread/memory leak with use of WebSocketContainer

2013-04-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54800

--- Comment #2 from rstoyanc...@yahoo.com ---
Created attachment 30218
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30218&action=edit
Patch that modifies EchoEndpoint to add a client connection

It should be as easy as opening a client WebSocket connection. See the attached
patch that modifies the echo sample. Once the patch is applied, open the echo
HTML page and send a message. That will trigger added code. Then shut down the
server and you should see this message:

SEVERE: The web application [/examples] appears to have started a thread named
[WebSocket background processing] but has failed to stop it. This is very
likely to create a memory leak.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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