Re: Unable to establish WebSocket connection on Tomcat Embed (9.0.24)

2019-11-04 Thread Alexander Stöcker
On Mon, Nov 4, 2019 at 2:55 PM Mark Thomas wrote: > > On 04/11/2019 12:59, Alexander Stöcker wrote: > > My code is basically just: > > > > Tomcat tomcat = new Tomcat(); > > tomcat.getConnector(); > > tomcat.setPort(8080); > > >

Unable to establish WebSocket connection on Tomcat Embed (9.0.24)

2019-11-04 Thread Alexander Stöcker
My code is basically just: Tomcat tomcat = new Tomcat(); tomcat.getConnector(); tomcat.setPort(8080); Context context = tomcat.addContext("/context", new File(".").getAbsolutePath()); // servlet Tomcat.addServlet(context, "myServlet", new