Hey guys,
I have solved it. Problem was very specific to my installation.
I had the websocket api .jar being installed in my app's WEB-INF/lib
directory as well.
Not sure why it was breaking it. can you put some light on the root cause
of this behaviour and why it doesn't work when you gave webso
Another Update:
I downloaded 8.0.3 as well and started it without eclipse and deployed the
app but still the same result. How to check if tomcat is creating the
server endpoints for my websocket?
I don't understand what I am doing wrong?
Guys,
need your help ASAP.
Thanks,
Shailesh.
On Tue, Fe
yes Nikki. its jkweb
Thanks,
Shailesh
On Tue, Feb 18, 2014 at 6:53 PM, Niki Dokovski wrote:
> On Tue, Feb 18, 2014 at 3:10 PM, J Java wrote:
>
> > just an update :
> >
> > this is what i get in tomcat access logs :
> >
> > 127.0.0.1 - - [18/Feb/2014:16:42:45 +0530] "GET
> > /jkweb/websocket/
On Tue, Feb 18, 2014 at 3:10 PM, J Java wrote:
> just an update :
>
> this is what i get in tomcat access logs :
>
> 127.0.0.1 - - [18/Feb/2014:16:42:45 +0530] "GET
> /jkweb/websocket/fileuploadtracker HTTP/1.1" 404 1017
>
> is this correct ??
>
Can you check the context root of the deployed app
just an update :
this is what i get in tomcat access logs :
127.0.0.1 - - [18/Feb/2014:16:42:45 +0530] "GET
/jkweb/websocket/fileuploadtracker HTTP/1.1" 404 1017
is this correct ??
On Tue, Feb 18, 2014 at 5:56 PM, J Java wrote:
> Also I using Struts 2. but my Struts2 servlet only handles url
Also I using Struts 2. but my Struts2 servlet only handles urls with
pattern : *.action
struts2
*.action
Also I have configured Spring security but logs show that it is filtering
the request properly.
On Tue, Feb 18, 2014 at 5:42 PM, J Java wrote:
> I have currently deployed it through Ecli
I have currently deployed it through Eclipse Juno. However I am *not * using
Eclipse's instance. My webapp gets deployed in my tomcat and not Eclipse's
one.
Please let me know any additional information you need. Or please let me
know how to go debugging it like checking if Websocket Server endpoin
On 18/02/2014 11:42, J Java wrote:
> I am trying to implement a websocket on tomcat 7.0.50 using annotated
> endpoints as specified in Java Websocket API (1.0)- JSR 356. Following are
> the brief steps how I have coded it 1) Write a websocket endpoint using
> @ServerEndpoint annotation 2) implement
I am trying to implement a websocket on tomcat 7.0.50 using annotated
endpoints as specified in Java Websocket API (1.0)- JSR 356. Following are
the brief steps how I have coded it 1) Write a websocket endpoint using
@ServerEndpoint annotation 2) implement @onOpen and @onMessage methods 3)
open a w