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
ject"); > } > > It ain't pretty. IMO, it was a serious design flaw in the spec not to > provide ways to get the HttpSession and Cookies from 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, toddfa

Re: Tomcat 8 Websocket API - Cookies & Headers

2013-08-23 Thread toddfas
wrote: > On Fri, Aug 23, 2013 at 7:03 PM, toddfas 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 &g

Re: Tomcat 8 Websocket API - Cookies & Headers

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

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