Re: getting frustrated with web sockets

2012-06-05 Thread Christian Finckler
and you are using WebSocket. Mark 2. I tried to override doGet and save request/session, however after saving request/session when I call super.doGet, I get unauthorized request. How can I get access to request and/or session when a message arrives? thanks On 6/2/2012 3:32 AM, Christian

Re: non blocking Websockets?

2012-06-04 Thread Christian Finckler
thank you mark. that was a great answer. Am 03.06.2012 22:49, schrieb Mark Thomas: On 03/06/2012 21:26, Christian Finckler wrote: Am 03.06.2012 19:50, schrieb Mark Thomas: On 31/05/2012 18:45, Christian Finckler wrote: Am 31.05.2012 11:09, schrieb Mark Thomas: On 31/05/2012 10:02, Christian

Re: non blocking Websockets?

2012-06-03 Thread Christian Finckler
Am 03.06.2012 19:50, schrieb Mark Thomas: On 31/05/2012 18:45, Christian Finckler wrote: Am 31.05.2012 11:09, schrieb Mark Thomas: On 31/05/2012 10:02, Christian Finckler wrote: Hello, as far I understood, the websocket implementation of tomcat is using one thread per client. Is there also

Re: getting frustrated with web sockets

2012-06-02 Thread Christian Finckler
Hello, I had the same problem some time ago. I could get jwesocket to work either. But I then used autobahn: http://autobahn.ws/developers/autobahnandroid/installation That worked great for me. I couldn't find out if the different client libraries do something wrong or tomcat but I was a bit

non blocking Websockets?

2012-05-31 Thread Christian Finckler
Hello, as far I understood, the websocket implementation of tomcat is using one thread per client. Is there also a possibility to configure it to use non blocking IO? Then it should be easier to serve lots of connections without creating unlimited threads. Thank you, Chris

Re: non blocking Websockets?

2012-05-31 Thread Christian Finckler
Am 31.05.2012 11:09, schrieb Mark Thomas: On 31/05/2012 10:02, Christian Finckler wrote: Hello, as far I understood, the websocket implementation of tomcat is using one thread per client. Is there also a possibility to configure it to use non blocking IO? No. That has not yet been