Please post relevant code and any log messages you see.
Also, when you say:
Blagovest Todorov wrote:
I have wildfly server(latest version)
You mean WildFly 10.1.0.Final, right?
Yes i am using WildFly 10.1.0
In my OnOpen method i have method which send a message to the client that the handshake is completed and the client can send messages which will be proceeded, and in my onMessage i have a simple System.out with the message