Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Whoops! Lost connection to undefined - Connection Lost Just After The Connection Established  RSS feed

 
Arnab Patra
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For Last couple of days i have been trying spring 4 websocket .I am using apache-tomcat-8 and this is not a maven project. But There is a problem.
Here are my snippets

index.jsp

WebSocketConfig.xml

HelloMessage.java

Greeting.java

GreetingController.java

web.xml

spring-servlet.xml

WebSocketConfig.java

But in browser console its giving the following output

why its losing connection ?
Libraries.jpg
[Thumbnail for Libraries.jpg]
 
Arun Kumarr
Ranch Hand
Posts: 662
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm no web socket expert.
But I tried googling and found this. May be this will help solve your issue.
Also check the accepted answer here.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!