Re: Having WebSocket Issues (Tomcat 8)

2013-03-11 Thread Nick Williams
On Mar 11, 2013, at 5:50 PM, Mark Thomas wrote: > On 11/03/2013 22:38, Nick Williams wrote: >> However, I do still have the original question: Will I always need to >> use a listener to add my endpoints programmatically like I did below? >> Or will Tomcat eventually scan for endpoints? The exampl

Re: Having WebSocket Issues (Tomcat 8)

2013-03-11 Thread Mark Thomas
On 11/03/2013 22:38, Nick Williams wrote: > However, I do still have the original question: Will I always need to > use a listener to add my endpoints programmatically like I did below? > Or will Tomcat eventually scan for endpoints? The examples > downloadable from the GlassFish project "just work

Re: Having WebSocket Issues (Tomcat 8)

2013-03-11 Thread Nick Williams
I got this working by changing ServerContainerProvider#getServerContainer() to be public, per the spec. I submitted bug 54671 with patch. However, I do still have the original question: Will I always need to use a listener to add my endpoints programmatically like I did below? Or will Tomcat ev

Having WebSocket Issues (Tomcat 8)

2013-03-11 Thread Nick Williams
I'm trying to create what I thought was a very simple WebSocket example, but boy have I had difficulties… I started by basically coping the EchoAnnotation example from the Tomcat examples. However, it was like my endpoint was never getting instantiated. (Is this temporary? Will Tomcat 8 ultimat