Re: Setting Nio connector in embedded tomcat7

2013-04-24 Thread Praveen Peddi
Hi, Not sure if anyone has used NIO connector in embedded tomcat 7 but I am out of luck so far. It seems so simple but I could not get it work. I am wondering if this is a bug in embedded version of tomcat because it works fine on standalone version. If this turns out to be a bug in tomcat 7 embedd

Re: Setting Nio connector in embedded tomcat7

2013-04-23 Thread Praveen Peddi
Sorry I meant "nio" connector not bio connector. Outlook auto-correct is not smart enough :) On 4/23/13 Apr 23, 12:08 PM, "Praveen Peddi" wrote: >I am not sure if this is the same issue I am having but apparently I am >also using atmosphere for web sockets and make it work in embedded tomcat. >

Re: Setting Nio connector in embedded tomcat7

2013-04-23 Thread Praveen Peddi
I am not sure if this is the same issue I am having but apparently I am also using atmosphere for web sockets and make it work in embedded tomcat. I looked at the tomcat unit tests for bio connector and the tests are not doing anything special. They set the address to localhost. I tried the below

Re: Setting Nio connector in embedded tomcat7

2013-04-23 Thread Tribon Cheng
Just like this issue: http://atmosphere-framework.2306103.n4.nabble.com/WebSocket-not-working-on-Tomcat-7-With-NIO-connector-was-WebSocket-not-working-on-Tomcat-7-td4652351.html On Tue, Apr 23, 2013 at 10:16 PM, Mark Thomas wrote: > On 23/04/2013 15:11, Praveen Peddi wrote: > > Hi all, I am tr

Re: Setting Nio connector in embedded tomcat7

2013-04-23 Thread Mark Thomas
On 23/04/2013 15:11, Praveen Peddi wrote: > Hi all, I am trying to set Nio connector in tomcat7 so I can use > WebSocket support. I did the following (as simple as it can get) but > it doesn't seem to work. When I do this I can't connect to the > server. For example I have a GET REST request that s

Setting Nio connector in embedded tomcat7

2013-04-23 Thread Praveen Peddi
Hi all, I am trying to set Nio connector in tomcat7 so I can use WebSocket support. I did the following (as simple as it can get) but it doesn't seem to work. When I do this I can't connect to the server. For example I have a GET REST request that should work but I get connection refused. Same w