Running with SecurityManager: CometProcessor servlets throw NoSuchMethodException

2015-07-27 Thread Johno Crawford
Hi all, As of Tomcat 7.0.52 a bug was introduced which caused a regression with CometProcessor servlets being served on Tomcat running with a SecurityManager. I have created a bug report [1] and attached a patch with a proposed fix. If there is anything else you need from me to push this

Re: svn commit: r1301284 - in /tomcat/tc7.0.x/trunk: ./ webapps/docs/ webapps/examples/WEB-INF/ webapps/examples/WEB-INF/classes/websocket/ webapps/examples/WEB-INF/classes/websocket/chat/ webapps/exa

2012-03-16 Thread Johno Crawford
APIs are provided and the implementation currently fully +passes the Autobahn test suite. Also included are several examples. +A significant contribution to this new functionality was provided by +Johno Crawford - particularly the examples. Contributions were also

Re: WebSocket status

2012-03-14 Thread Johno Crawford
On 8/03/2012 9:10 PM, Mark Thomas wrote: On 08/03/2012 09:12, Johno Crawford wrote: What's next / left on the TODO list Mark? Anything I can help out with? Porting the generic HTTP upgrade followed by the WebSocket code to 7.0.x. I don't think there is much for you to do there. WebSocket

Re: WebSocket status

2012-03-08 Thread Johno Crawford
On 2/03/2012 2:29 PM, Filip Hanik - Dev Lists wrote: On 3/2/2012 2:13 AM, Mark Thomas wrote: You can't register on a selector using another thread. Bingo. That explains it. Is that documented anywhere? I'm not sure if the java.nio documentation says it, I think it does. The Selector object is

Re: svn commit: r1296172 - in /tomcat/trunk/java/org/apache/coyote: AbstractProtocol.java ajp/AbstractAjpProtocol.java http11/Http11AprProtocol.java http11/Http11NioProtocol.java http11/Http11Protocol

2012-03-02 Thread Johno Crawford
Hi Mark, Quick question regarding web socket socket states, using the BIO connector I have observed the socket state never transitions to UPGRADED.. Is this the expected behaviour? Cheers, Johno On 2/03/2012 1:41 PM, ma...@apache.org wrote: Author: markt Date: Fri Mar 2 12:41:54 2012 New

Re: svn commit: r1296172 - in /tomcat/trunk/java/org/apache/coyote: AbstractProtocol.java ajp/AbstractAjpProtocol.java http11/Http11AprProtocol.java http11/Http11NioProtocol.java http11/Http11Protocol

2012-03-02 Thread Johno Crawford
On 2/03/2012 2:52 PM, Mark Thomas wrote: On 02/03/2012 13:17, Johno Crawford wrote: Hi Mark, Quick question regarding web socket socket states, using the BIO connector I have observed the socket state never transitions to UPGRADED.. Is this the expected behaviour? Short answer: yes. Longer

Re: svn commit: r1295978 - in /tomcat/trunk/java/org/apache/coyote/http11: Http11NioProtocol.java upgrade/UpgradeNioProcessor.java

2012-03-01 Thread Johno Crawford
On 2/03/2012 12:05 AM, fha...@apache.org wrote: Author: fhanik Date: Thu Mar 1 23:05:51 2012 New Revision: 1295978 URL: http://svn.apache.org/viewvc?rev=1295978view=rev Log: Fix WebSocket's non blocking call