AW: WebSockets and HTTPS problems

2012-10-10 Thread Steffen Heil (Mailinglisten)
Hi Check to see if the WebSocket examples that ship with Tomcat work with your configuration. If they don't compare the differences between the default configuration and you configuration to and find the change that breaks stuff. First, thanks for the reply. I downloaded tomcat 7.0.32

Re: AW: WebSockets and HTTPS problems

2012-10-10 Thread Mark Thomas
On 10/10/2012 17:41, Steffen Heil (Mailinglisten) wrote: Hi Check to see if the WebSocket examples that ship with Tomcat work with your configuration. If they don't compare the differences between the default configuration and you configuration to and find the change that breaks stuff.

AW: AW: WebSockets and HTTPS problems

2012-10-10 Thread Steffen Heil (Mailinglisten)
Hi I just took a look at this. The examples work out of the box for HTTPS with BIO but not with NIO. This looks like a Tomcat bug at this point. I'll take a look. What would I need to do to switch to BIO for now? And does Comet work with BIO? Regards, Steffen smime.p7s Description:

Re: AW: AW: WebSockets and HTTPS problems

2012-10-10 Thread Mark Thomas
On 10/10/2012 19:51, Steffen Heil (Mailinglisten) wrote: Hi I just took a look at this. The examples work out of the box for HTTPS with BIO but not with NIO. This looks like a Tomcat bug at this point. I'll take a look. What would I need to do to switch to BIO for now? Change the

Sending through WebSockets

2012-10-10 Thread Steffen Heil (Mailinglisten)
Hi I have a server with several websocket connections. (Or at least I will have at some time, see thread about ssl problems...) Now just as in the chat example, I need to send some data from time to time so some (but not neccessarily all) of those connections. Now, what happens if one of the

websockets: how to support most browsers that are using old version of websocket protocol

2012-07-17 Thread Ravi
While latest websocket protocol is supported in Tomcat, a lot of browsers out there are using older versions of the protocol. It may take them years to phase out. Considering this, I also need to support older protocol versions. I am not sure how to do this. One route is I install

websockets wss:// protocol gives error...

2012-06-16 Thread Ravi
I am able to connect from browser to tomcat using non secure WS connection: ws://127.0.0.1:8080/Myserver If I switch the connection string to secure protocol ws://127.0.0.1:8080/Myserver I get following error. Can somebody confirm if this has been implemented/known to work? I am using tomcat

Re: websockets wss:// protocol gives error...

2012-06-16 Thread Mark Thomas
On 16/06/2012 20:28, Ravi wrote: I am able to connect from browser to tomcat using non secure WS connection: ws://127.0.0.1:8080/Myserver If I switch the connection string to secure protocol ws://127.0.0.1:8080/Myserver That is neither the correct protocol nor the correct port. I get

Re: websockets wss:// protocol gives error...

2012-06-16 Thread Ravi
Thank you Mark for pointing out the mistake. Following url works wss://127.0.0.1:8443/Myserver On 6/16/2012 2:32 PM, Mark Thomas wrote: On 16/06/2012 20:28, Ravi wrote: I am able to connect from browser to tomcat using non secure WS connection: ws://127.0.0.1:8080/Myserver If I switch

Re: non blocking Websockets?

2012-06-04 Thread Christian Finckler
on the connector just like HTTP. And how to do it? Use the NIO or APR/native connector and it just works. Perhaps you can describe more deeply how you handle websockets in regard of blocking/non blocking and thread handling? See above. If you want more detail, look at the source code. I am not going

Re: non blocking Websockets?

2012-06-03 Thread Mark Thomas
to use websockets. But now it would be sad, if I need multiple tomcat instances only for connection handling although the process handling itself is not very complicated (cpu and memory intensive). Thank you, Chris

Re: non blocking Websockets?

2012-06-03 Thread Christian Finckler
are the configuration possibilities for that? And how to do it? Perhaps you can describe more deeply how you handle websockets in regard of blocking/non blocking and thread handling? Thank you, Chris - To unsubscribe, e-mail: users

Re: non blocking Websockets?

2012-06-03 Thread Mark Thomas
/native connector and it just works. Perhaps you can describe more deeply how you handle websockets in regard of blocking/non blocking and thread handling? See above. If you want more detail, look at the source code. I am not going to translate that into pseudo code for you. Mark

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 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 implemented. It shouldn't be too hard provided that

Re: non blocking Websockets?

2012-05-31 Thread Christian Finckler
fast. Thats why I want to use websockets. But now it would be sad, if I need multiple tomcat instances only for connection handling although the process handling itself is not very complicated (cpu and memory intensive). Thank you, Chris

RE: non blocking Websockets?

2012-05-31 Thread Filip Hanik (mailing lists)
To: Tomcat Users List Subject: Re: non blocking Websockets? 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

<    1   2   3