Can java server code run on Tomcat?

191 views
Skip to first unread message

Boban

unread,
Mar 2, 2011, 7:27:52 AM3/2/11
to Socket.IO
Not sure if this is the right place, so bear with me. I got the
example servlets to work with jetty http server, but when I put those
same servlets (and all required libraries) in tomcat 7 I get
exceptions thrown within jetty code for SocketIOServlet call, and I
can't find exact line because I couldn't find the source for jetty
7.1.6, the only one that examples work with.

So did anyone get socket.io java server-side implementation to work on
tomcat?

Tad Glines

unread,
Mar 2, 2011, 7:56:24 PM3/2/11
to sock...@googlegroups.com
Unfortunately socketio-java doesn't yet work in anything but jetty and then only when run as an embedded server.
There is work being done to allow it to work in a .war file deployed to any jetty server 7.1.6 or newer.

Most of the work is happening at https://github.com/Ovea/Socket.IO-Java and is headed by Mathieu Carbou.
I am, when time permits, merging those changes to https://github.com/tadglines/Socket.IO-Java which is the new home for socjetio-java.
I haven't yet updated the code.google.com site to indicate this.

-Tad
Reply all
Reply to author
Forward
0 new messages