Re: Websocket & Logging

2017-04-03 Thread Addy D
Thank you all for helping out, it really solved my issue :) On Thu, Mar 30, 2017 at 9:40 PM, Mark Thomas wrote: > On 30/03/17 16:56, Addy D wrote: > > On Thu, Mar 30, 2017 at 8:49 PM, Konstantin Kolinko < > knst.koli...@gmail.com> > > wrote: > > > >> 2017-03-30 12:15 GMT+03:00 Addy D : > >>> I c

Re: Websocket & Logging

2017-03-30 Thread Mark Thomas
On 30/03/17 16:56, Addy D wrote: > On Thu, Mar 30, 2017 at 8:49 PM, Konstantin Kolinko > wrote: > >> 2017-03-30 12:15 GMT+03:00 Addy D : >>> I can see following in log, while starting tomcat: >>> >>> Mar 30, 2017 2:33:22 PM >>> org.springframework.web.socket.server.support.WebSocketHandlerMapping

Re: Websocket & Logging

2017-03-30 Thread Konstantin Kolinko
2017-03-30 18:56 GMT+03:00 Addy D : > On Thu, Mar 30, 2017 at 8:49 PM, Konstantin Kolinko > wrote: > >> 2017-03-30 12:15 GMT+03:00 Addy D : >> > I can see following in log, while starting tomcat: >> > >> > Mar 30, 2017 2:33:22 PM >> > org.springframework.web.socket.server.support.WebSocketHandlerM

Re: Websocket & Logging

2017-03-30 Thread Addy D
On Thu, Mar 30, 2017 at 8:49 PM, Konstantin Kolinko wrote: > 2017-03-30 12:15 GMT+03:00 Addy D : > > I can see following in log, while starting tomcat: > > > > Mar 30, 2017 2:33:22 PM > > org.springframework.web.socket.server.support.WebSocketHandlerMapping > > registerHandler > > INFO: Mapped UR

Re: Websocket & Logging

2017-03-30 Thread Konstantin Kolinko
2017-03-30 12:15 GMT+03:00 Addy D : > I can see following in log, while starting tomcat: > > Mar 30, 2017 2:33:22 PM > org.springframework.web.socket.server.support.WebSocketHandlerMapping > registerHandler > INFO: Mapped URL path [/call] onto handler of type [class > org.springframework.web.socket

Re: Websocket & Logging

2017-03-30 Thread Addy D
I can see following in log, while starting tomcat: Mar 30, 2017 2:33:22 PM org.springframework.web.socket.server.support.WebSocketHandlerMapping registerHandler INFO: Mapped URL path [/call] onto handler of type [class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler] Sam

Re: Websocket & Logging

2017-03-29 Thread Addy D
Well, I haven't change the code, the thing was working with Spring boot (embedded tomcat) I just moved the code/app to an actual tomcat server. By trying the link from websocket.org I just wanted to confirm that nothing is wrong with my Java Script code or browser. I now come to a conclusion that

Re: Websocket & Logging

2017-03-29 Thread Igal @ Lucee.org
That means that the Endpoint at websocket.org is configured correctly. How doe that help troubleshooting your Endpoint? Igal Sapir Lucee Core Developer Lucee.org On 3/29/2017 12:10 PM, Addy D wrote: No, I tried something different, I tried this url wss://echo.websocket.org,

Re: Websocket & Logging

2017-03-29 Thread Addy D
No, I tried something different, I tried this url wss://echo.websocket.org, this one is working. On Wed, Mar 29, 2017 at 11:49 PM, Igal @ Lucee.org wrote: > Can you access it in a non-secure protocol? i.e. ws:// instaed of wss://? > > Testing that can help eliminate possible issues. > > Igal Sa

Re: Websocket & Logging

2017-03-29 Thread Igal @ Lucee.org
Can you access it in a non-secure protocol? i.e. ws:// instaed of wss://? Testing that can help eliminate possible issues. Igal Sapir Lucee Core Developer Lucee.org On 3/29/2017 11:17 AM, Addy D wrote: The exact url I am trying to hit is : wss://localhost:8443/call On We

Re: Websocket & Logging

2017-03-29 Thread Addy D
The exact url I am trying to hit is : wss://localhost:8443/call On Wed, Mar 29, 2017 at 10:58 PM, Igal @ Lucee.org wrote: > On 3/29/2017 2:17 AM, Addy D wrote: > >> Hello all, >> >> I am facing an issue in my application, I want to know following things. >> >> 1. The tomcat is returning 404 for

Re: Websocket & Logging

2017-03-29 Thread Igal @ Lucee.org
On 3/29/2017 2:17 AM, Addy D wrote: Hello all, I am facing an issue in my application, I want to know following things. 1. The tomcat is returning 404 for upgrade header (request to upgrade to websocket protocol). Do I need to configure anything here? What's the Endpoint that you've set up (an

Re: Websocket & Logging

2017-03-29 Thread Addy D
Details from firefox "Network" tab: Request URL: https://localhost:8443/call Request Method: GET Status Code: 404 Request Headers: Host: localhost:8443 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 Accept: text/html,application/xhtml+xml,appl

Re: Websocket & Logging

2017-03-29 Thread Addy D
Hey Mark, Thanks for replying, details are: 1. I am finding following things in the "Network" tab in chrome. a. General: Request URL:wss://localhost:8443/call Request Method:GET Status Code:404 b. Response Header: HTTP/1.1 404 Content-Type: text/html;charset=utf-8

Re: Websocket & Logging

2017-03-29 Thread Mark Thomas
On 29/03/17 10:17, Addy D wrote: > Hello all, > > I am facing an issue in my application, I want to know following things. > > 1. The tomcat is returning 404 for upgrade header (request to upgrade to > websocket protocol). Do I need to configure anything here? It certainly looks like it. What UR

Websocket & Logging

2017-03-29 Thread Addy D
Hello all, I am facing an issue in my application, I want to know following things. 1. The tomcat is returning 404 for upgrade header (request to upgrade to websocket protocol). Do I need to configure anything here? 2. How to enable logging for particular package of tomcat ? (I tried changing lo