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 <pathfinder2104.w...@gmail.com>:
>>> 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]
>>>
>>> Same kind of logs are also available when I run my Spring boot
>> application,
>>> in this app I am able to connect to wss://localhost:8443/call.

<snip/>

> No my application is not "ROOT",

The the URL you quote above won't work.

> i have my application as "myapp" but I
> have a similar (almost same, I am moving spring boot app to tomcat)
> spring-boot application which works fine with embedded tomcat in it with
> the same url, in fact in application startup time, I see "/call" getting
> registered in the tomcat log. as shown below.

You have two options.

1. Rename myapp.war to ROOT.war

2. Use wss://localhost:8443/myappp/call to access your service

I'd also recommend a careful read of the Servlet specification,
particularly section 3.5 along with this page from the Tomcat docs:
http://tomcat.apache.org/tomcat-8.5-doc/config/context.html#Naming

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to