Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which version of the org.apache.commons.math and net.tootallnate.websocket.WebSocketClient are you using? #2

Open
davidfooks opened this issue Jan 25, 2012 · 3 comments

Comments

@davidfooks
Copy link

Hi,

I'm just trying to build your benchmark but I'm having some problems with the Java libraries. Could you tell me which version of

org.apache.commons.math
net.tootallnate.websocket.WebSocketClient

you originally worked with? Doesn't seem to be working with the latest versions.

Thanks

Edit: Sorry, it does work I was checking out the HEAD of the net.tootallnate.websocket.WebSocketClient git repo rather than the latest stable release (0.7 at the time of writing)

@drewww
Copy link
Owner

drewww commented Jan 25, 2012

Looks like apache.commons.math is 2.2.

Looks like WebSocketClient is under active development. I don't recall if I pulled from master or used the 0.7 packaged download. Which did you try?

If I pulled from master, it would have been on December 1, so it was this tree: https://github.com/TooTallNate/Java-WebSocket/tree/816e3841f97f0d10f63e3d603f8a3edb6a300ea4

I know this is super unhelpful and there should be clearer docs on this stuff. If you did manage to get it working with modern versions of both libraries I would be super grateful to pull those kinds of changes in!

@davidfooks
Copy link
Author

Ok I have it sort of running now. For anybody else trying to run this you need the following node_modules

async
colors
commander
connect
express
express-config
mime
pkginfo
qs
socket.io
socket.io-client
stack-trace
uglify-js
winston

to run the server.js

I used the 0.7 version of Java-WebSocket here: https://github.com/TooTallNate/Java-WebSocket/tags
And got the org.apache.commons.math library here: http://commons.apache.org/math/download_math.cgi

Finally, to test you need to change the following line in client/SocketIOLoadTester.java:

-SocketIOClient client = new SocketIOClient(SocketIOClient.getNewSocketURI("roar.media.mit.edu:8080"), this);
+SocketIOClient client = new SocketIOClient(SocketIOClient.getNewSocketURI("localhost:8080"), this);

@drewww
Copy link
Owner

drewww commented Jan 25, 2012

Quite so. If I can find a free second I'll try to put all this in a README file and fix the default server issue (since clearly you don't want to test against my server).

A lot of those modules are dependencies of some other module. I think the actual set that I first-class depend on is pretty small. I can work that out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants