Re: WebSockets: Automatic closure on HttpSession invalidation?

2013-03-18 Thread Mark Thomas
On 18/03/2013 22:53, Nick Williams wrote: > Mark, > > I was reading on the expert mailing list the other day a discussion > about containers automatically closing WebSocket sessions when the > corresponding HttpSession instance is invalidate. I have a strange > race condition going on that I think

buildbot success in ASF Buildbot on tomcat-trunk

2013-03-18 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/4120 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source

WebSockets: Automatic closure on HttpSession invalidation?

2013-03-18 Thread Nick Williams
Mark, I was reading on the expert mailing list the other day a discussion about containers automatically closing WebSocket sessions when the corresponding HttpSession instance is invalidate. I have a strange race condition going on that I think could be caused by that. Is Tomcat automatically c

Re: [Bug 54721] New: RemoteEndpoint blocks indefinitely if sendObject called with BinaryStream of TextStream encoders

2013-03-18 Thread Nick Williams
On Mar 18, 2013, at 5:01 PM, bugzi...@apache.org wrote: > https://issues.apache.org/bugzilla/show_bug.cgi?id=54721 > >Bug ID: 54721 > Summary: RemoteEndpoint blocks indefinitely if sendObject >called with BinaryStream of TextStream encoders > P

[Bug 54721] RemoteEndpoint blocks indefinitely if sendObject called with BinaryStream of TextStream encoders

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54721 Nick Williams changed: What|Removed |Added Attachment #30076|0 |1 is patch|

[Bug 54721] New: RemoteEndpoint blocks indefinitely if sendObject called with BinaryStream of TextStream encoders

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54721 Bug ID: 54721 Summary: RemoteEndpoint blocks indefinitely if sendObject called with BinaryStream of TextStream encoders Product: Tomcat 8 Version: trunk Hardware: All

[Bug 54710] Java WebSocket specification says @OnMessage methods can have InputStream/Reader parameters; @OnClose can have CloseReason parameters

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54710 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Tomcat Wiki] Update of "LocalBadContent" by ChuckCaldarale

2013-03-18 Thread Mark Thomas
On 18/03/2013 21:46, Apache Wiki wrote: > Dear Wiki user, > > You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for > change notification. > > The "LocalBadContent" page has been changed by ChuckCaldarale: I've raised it before and folks weren't interested but I think it is t

[Tomcat Wiki] Update of "LocalBadContent" by ChuckCaldarale

2013-03-18 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "LocalBadContent" page has been changed by ChuckCaldarale: http://wiki.apache.org/tomcat/LocalBadContent?action=diff&rev1=84&rev2=85 9cy\.com a-market\.pl accountsandadvice +

svn commit: r1458029 - in /tomcat/trunk/test/org/apache/tomcat/websocket: TestWsClientAutobahn.java TesterWsClientAutobahn.java

2013-03-18 Thread markt
Author: markt Date: Mon Mar 18 21:48:48 2013 New Revision: 1458029 URL: http://svn.apache.org/r1458029 Log: Change class name so it isn't included in unit tests Added: tomcat/trunk/test/org/apache/tomcat/websocket/TesterWsClientAutobahn.java - copied, changed from r1458028, tomcat/trun

svn commit: r1458028 - /tomcat/trunk/java/org/apache/tomcat/websocket/pojo/

2013-03-18 Thread markt
Author: markt Date: Mon Mar 18 21:47:02 2013 New Revision: 1458028 URL: http://svn.apache.org/r1458028 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54710 Add support for InputStream and Reader to OnMessage Add support for CloseReason to OnClose Based on a patch by Nick Williams Mod

[Tomcat Wiki] Update of "LocalBadContent" by ChuckCaldarale

2013-03-18 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "LocalBadContent" page has been changed by ChuckCaldarale: http://wiki.apache.org/tomcat/LocalBadContent?action=diff&rev1=83&rev2=84 ##++Apache/LocalBadContent 100freemb\.com

buildbot failure in ASF Buildbot on tomcat-trunk

2013-03-18 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/4118 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source St

svn commit: r1458023 - /tomcat/trunk/java/org/apache/tomcat/websocket/LocalStrings.properties

2013-03-18 Thread markt
Author: markt Date: Mon Mar 18 21:38:35 2013 New Revision: 1458023 URL: http://svn.apache.org/r1458023 Log: Add new messages Modified: tomcat/trunk/java/org/apache/tomcat/websocket/LocalStrings.properties Modified: tomcat/trunk/java/org/apache/tomcat/websocket/LocalStrings.properties URL: h

[Tomcat Wiki] Trivial Update of "MattCotte" by MattCotte

2013-03-18 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "MattCotte" page has been changed by MattCotte: http://wiki.apache.org/tomcat/MattCotte New page: Following a although, persons will obtain his or her drain pipes commencing to va

[Bug 54711] Strange problem with WsOutputStream; cannot write to it, Session gets closed instead

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54711 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

svn commit: r1457993 - /tomcat/trunk/webapps/docs/changelog.xml

2013-03-18 Thread markt
Author: markt Date: Mon Mar 18 21:01:05 2013 New Revision: 1457993 URL: http://svn.apache.org/r1457993 Log: Update changelog to add WebSocket. As it is a new spec I added it to the beginning of the changelog. I'll so the same for Servlet 3.1, EL 3.0 and JSP 2.3 when they are implemented. Modifi

svn commit: r1457990 - /tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java

2013-03-18 Thread markt
Author: markt Date: Mon Mar 18 20:56:39 2013 New Revision: 1457990 URL: http://svn.apache.org/r1457990 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54711 Fix multiple issues with OutputStream and Writer Based on a patch by Nick Williams Modified: tomcat/trunk/java/org/apache/to

[Tomcat Wiki] Trivial Update of "RogerMere" by RogerMere

2013-03-18 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "RogerMere" page has been changed by RogerMere: http://wiki.apache.org/tomcat/RogerMere New page: The Apple Apple iphone four is in fact a machine you may possibly accomplish all

svn commit: r1457982 - /tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplClient.java

2013-03-18 Thread markt
Author: markt Date: Mon Mar 18 20:45:58 2013 New Revision: 1457982 URL: http://svn.apache.org/r1457982 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54711 Part of https://issues.apache.org/bugzilla/show_bug.cgi?id=54711 Use timeout value to ensure infinite write timeouts are supporte

Re: svn commit: r1457981 - /tomcat/trunk/test/org/apache/tomcat/websocket/TestWsClientAutobahn.java

2013-03-18 Thread Mark Thomas
On 18/03/2013 20:40, ma...@apache.org wrote: > Author: markt > Date: Mon Mar 18 20:40:13 2013 > New Revision: 1457981 > > URL: http://svn.apache.org/r1457981 > Log: > A test client for running the autobahn tests as a client. FTR, the Autobahn tests all pass as a client as well. At this point I a

svn commit: r1457981 - /tomcat/trunk/test/org/apache/tomcat/websocket/TestWsClientAutobahn.java

2013-03-18 Thread markt
Author: markt Date: Mon Mar 18 20:40:13 2013 New Revision: 1457981 URL: http://svn.apache.org/r1457981 Log: A test client for running the autobahn tests as a client. Added: tomcat/trunk/test/org/apache/tomcat/websocket/TestWsClientAutobahn.java (with props) Added: tomcat/trunk/test/org/ap

svn commit: r1457978 - /tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java

2013-03-18 Thread markt
Author: markt Date: Mon Mar 18 20:35:24 2013 New Revision: 1457978 URL: http://svn.apache.org/r1457978 Log: Don't try to write zero bytes if the buffer is emoty when flushed. Modified: tomcat/trunk/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java Modified: tomcat/trunk/java/or

svn commit: r1457972 - /tomcat/trunk/build.properties.default

2013-03-18 Thread kkolinko
Author: kkolinko Date: Mon Mar 18 20:25:36 2013 New Revision: 1457972 URL: http://svn.apache.org/r1457972 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54609 Update to Commons Daemon 1.0.14 (Already done in TC7 with r1457889 ) Modified: tomcat/trunk/build.properties.default Mod

svn commit: r1457971 - in /tomcat/tc6.0.x/trunk: ./ webapps/docs/realm-howto.xml

2013-03-18 Thread kkolinko
Author: kkolinko Date: Mon Mar 18 20:20:24 2013 New Revision: 1457971 URL: http://svn.apache.org/r1457971 Log: CTR: docs Merged revision 1457968 from tomcat/trunk: Correct typo reported via comments.a.o Modified: tomcat/tc6.0.x/trunk/ (props changed) tomcat/tc6.0.x/trunk/webapps/docs/r

svn commit: r1457970 - in /tomcat/tc7.0.x/trunk: ./ webapps/docs/realm-howto.xml

2013-03-18 Thread kkolinko
Author: kkolinko Date: Mon Mar 18 20:18:45 2013 New Revision: 1457970 URL: http://svn.apache.org/r1457970 Log: Merged revision 1457968 from tomcat/trunk: Correct typo reported via comments.a.o Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/webapps/docs/realm-howto.

svn commit: r1457968 - /tomcat/trunk/webapps/docs/realm-howto.xml

2013-03-18 Thread kkolinko
Author: kkolinko Date: Mon Mar 18 20:16:37 2013 New Revision: 1457968 URL: http://svn.apache.org/r1457968 Log: Correct typo reported via comments.a.o Modified: tomcat/trunk/webapps/docs/realm-howto.xml Modified: tomcat/trunk/webapps/docs/realm-howto.xml URL: http://svn.apache.org/viewvc/tom

svn commit: r1457963 - /tomcat/trunk/java/org/apache/tomcat/websocket/WsFrameBase.java

2013-03-18 Thread markt
Author: markt Date: Mon Mar 18 20:09:59 2013 New Revision: 1457963 URL: http://svn.apache.org/r1457963 Log: Don't look for mask if it isn't there. (Processing of short frames was broken on the client.) Modified: tomcat/trunk/java/org/apache/tomcat/websocket/WsFrameBase.java Modified: tomcat

[Bug 54714] Examples webapp not starting anymore; NoClassDefFoundError in listener start

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54714 Nick Williams changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Tomcat Wiki] Update of "LocalBadContent" by ChuckCaldarale

2013-03-18 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "LocalBadContent" page has been changed by ChuckCaldarale: http://wiki.apache.org/tomcat/LocalBadContent?action=diff&rev1=82&rev2=83 fcpages\.com feeltime\.cn feeltime\.com +

[Tomcat Wiki] Trivial Update of "QFWMollie" by QFWMollie

2013-03-18 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "QFWMollie" page has been changed by QFWMollie: http://wiki.apache.org/tomcat/QFWMollie New page: My name is Mollie Cheek. I life in Summaprada (Switzerland).<> <> <> Also visit my

[Bug 54714] Examples webapp not starting anymore; NoClassDefFoundError in listener start

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54714 --- Comment #3 from Violeta Georgieva --- websocket.echo.WsConfigListener has not been changed since 6th of March. Also it does not use org.apache.tomcat.websocket.server.ServerContainerImpl anymore. [1] Please check your svn repository.

[Bug 54714] Examples webapp not starting anymore; NoClassDefFoundError in listener start

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54714 --- Comment #2 from Nick Williams --- I am on r1457365. Not the latest (r1457800), admittedly (I can't go to latest just yet), but it's newer than r1453401. -- You are receiving this mail because: You are the assignee for the bug. --

[Bug 54714] Examples webapp not starting anymore; NoClassDefFoundError in listener start

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54714 --- Comment #1 from Violeta Georgieva --- This should be fixed with r1453401 -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe,

svn commit: r1457889 - /tomcat/tc7.0.x/trunk/build.properties.default

2013-03-18 Thread mturk
Author: mturk Date: Mon Mar 18 17:38:23 2013 New Revision: 1457889 URL: http://svn.apache.org/r1457889 Log: Rebase daemon to 1.0.14 Modified: tomcat/tc7.0.x/trunk/build.properties.default Modified: tomcat/tc7.0.x/trunk/build.properties.default URL: http://svn.apache.org/viewvc/tomcat/tc7.0.

[Bug 54713] , @WebServlet(loadOnStartup) do not trigger initialization of Servlet on startup.

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54713 Nick Williams changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

svn commit: r1457800 - in /tomcat/trunk/java/org/apache/catalina/connector: InputBuffer.java OutputBuffer.java

2013-03-18 Thread remm
Author: remm Date: Mon Mar 18 15:15:37 2013 New Revision: 1457800 URL: http://svn.apache.org/r1457800 Log: - The listener field didn't seem to be recycled anywhere. - Throw an ISE if already set (the spec says that). Modified: tomcat/trunk/java/org/apache/catalina/connector/InputBuffer.java

[Tomcat Wiki] Update of "PoweredBy" by GalipKuyuk

2013-03-18 Thread Apache Wiki
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification. The "PoweredBy" page has been changed by GalipKuyuk: http://wiki.apache.org/tomcat/PoweredBy?action=diff&rev1=465&rev2=466 [[http://www.acugis.com/|AcuGIS]] Tomcat hosting soluti

svn commit: r1457749 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/tomcat/util/modeler/ManagedBean.java webapps/docs/changelog.xml

2013-03-18 Thread markt
Author: markt Date: Mon Mar 18 13:10:33 2013 New Revision: 1457749 URL: http://svn.apache.org/r1457749 Log: Enable support for overloaded methods Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/modeler/ManagedBean.java tomcat/tc7.0.x/

svn commit: r1457748 - /tomcat/trunk/java/org/apache/tomcat/util/modeler/ManagedBean.java

2013-03-18 Thread markt
Author: markt Date: Mon Mar 18 13:08:25 2013 New Revision: 1457748 URL: http://svn.apache.org/r1457748 Log: Enable support for overloaded methods Modified: tomcat/trunk/java/org/apache/tomcat/util/modeler/ManagedBean.java Modified: tomcat/trunk/java/org/apache/tomcat/util/modeler/ManagedBean

Re: svn commit: r1456970 - /tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml

2013-03-18 Thread Mark Thomas
On 18/03/2013 07:05, Keiichi Fujino wrote: > 2013/3/15 : >> Author: markt >> Date: Fri Mar 15 14:42:47 2013 >> New Revision: 1456970 >> >> URL: http://svn.apache.org/r1456970 >> Log: >> Expose new rotate method via JMX > It seems to define duplicated rotate operations in AccessLogValve's > MBe

[Bug 54713] , @WebServlet(loadOnStartup) do not trigger initialization of Servlet on startup.

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54713 --- Comment #3 from Violeta Georgieva --- Created attachment 30064 --> https://issues.apache.org/bugzilla/attachment.cgi?id=30064&action=edit test application Tomcat 8 build is the latest from the trunk. -- You are receiving this mail

[Bug 54713] , @WebServlet(loadOnStartup) do not trigger initialization of Servlet on startup.

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54713 --- Comment #2 from Violeta Georgieva --- Hi, Can you provide some small example? I prepared one by myself but I cannot see that behaviour. The init() method is invoked in both cases with web app deployment descriptor and with annotation.

svn commit: r1457664 - /tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml

2013-03-18 Thread kfujino
Author: kfujino Date: Mon Mar 18 07:44:07 2013 New Revision: 1457664 URL: http://svn.apache.org/r1457664 Log: Remove resolveHosts attribute from MBean descriptor. resolveHosts attribute is no longer supported. Modified: tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml Modi

[Bug 54178] MESSAGE POST to tomcat, but it called doGet

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54178 --- Comment #8 from wan...@126.com --- here is the Connector configure. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-m

[Bug 54178] MESSAGE POST to tomcat, but it called doGet

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54178 --- Comment #7 from wan...@126.com --- Created attachment 30063 --> https://issues.apache.org/bugzilla/attachment.cgi?id=30063&action=edit tomcat give 500 error when access a static file. tomcat give 500 internal errors when browser try t

[Bug 54178] MESSAGE POST to tomcat, but it called doGet

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54178 wan...@126.com changed: What|Removed |Added OS|Linux |All --- Comment #6 from wan...@126

Re: svn commit: r1456970 - /tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml

2013-03-18 Thread Keiichi Fujino
2013/3/15 : > Author: markt > Date: Fri Mar 15 14:42:47 2013 > New Revision: 1456970 > > URL: http://svn.apache.org/r1456970 > Log: > Expose new rotate method via JMX > > Modified: > tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml > > Modified: tomcat/trunk/java/org/apache/

[Bug 54178] MESSAGE POST to tomcat, but it called doGet

2013-03-18 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54178 wan...@126.com changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALI