Deploy local war to Tomcat with Maven plugin

2015-06-02 Thread toddfas
I'm trying to use the Tomcat Maven plugin to deploy a local war (file path relative to the Tomcat server) and can't seem to find the right combination of configuration. The plugin always wants to validate the WAR file path specified exists relative to the plugin - not the Tomcat server. Currently

Re: Tomcat 8 Websocket API - Cookies Headers

2013-08-23 Thread toddfas
must be missing something simple. Any suggestions? Thanks, Todd On Thu, Aug 22, 2013 at 10:12 PM, Niki Dokovski nick...@gmail.com wrote: On Fri, Aug 23, 2013 at 2:58 AM, toddfas todd...@gmail.com wrote: I'm trying to figure out how to get access to the cookies and headers passed up

Re: Tomcat 8 Websocket API - Cookies Headers

2013-08-23 Thread toddfas
...@gmail.com wrote: On Fri, Aug 23, 2013 at 7:03 PM, toddfas todd...@gmail.com wrote: Thanks very much for the quick response Niki! I went down the configurator path too, but then I could not find a way to pass the cookie values into the ServerEndPoint.onOpen where I need to use it. I

Re: Tomcat 8 Websocket API - Cookies Headers

2013-08-23 Thread toddfas
the Session object. Maybe I'll try to get on the EG for the next version. :-) N On Aug 23, 2013, at 1:01 PM, toddfas wrote: Our existing web app has custom session management (does not use JSESSIONID) and stores the session identifier in a cookie. The cookie is marked httpOnly

Tomcat 8 Websocket API - Cookies Headers

2013-08-22 Thread toddfas
I'm trying to figure out how to get access to the cookies and headers passed up in the Websocket handshake request on Tomcat 8. In Tomcat 7 the whole HttpServletRequest was passed into the WebSocketServlet. createWebSocketInbound method so it was easy to grab from the request headers. In Tomcat 8