Barthelemy Dagenais
Barthelemy Dagenais
Just a small heads up that I tried to replicate the issue with a Windows VM (windows 7) but I did not notice any problem. I'm really not sure why...
@ericleib did you run the netstat command too? It's very helpful that you tried it with the latest version because I made a few change to the networking code. Thanks...
Maybe one more test: can one of you try to run two JVMs in parallel (by running the same command twice). One of the server should throw an exception. The...
@ericleib when you shutdown the JVM with server.shutdown(), does netstat -a output anything (I would expect not)? SYN_SENT means the python client is trying to connect but ultimately fails :-(...
Can you bind to another port (this is an option when creating a Java/GatewayServer Python/GatewayParameters)?
As a workaround, you can also use the [launch_gateway function](https://www.py4j.org/py4j_java_gateway.html#py4j.java_gateway.launch_gateway) or bind to port 0 and then call getListeningPort to get the next available port. The server socket is properly...
Thanks. That's very interesting and it's extremely puzzling that it works when you specify a port! Glad it worked in the end though.
Incidentally, I just fixed an issue to be able to rely on JAVA_HOME with launch_gateway :-) https://github.com/bartdag/py4j/issues/245 Regarding the difference between Java 6 and 7, I initially stumbled on this...
Hi @pankracy40i4, could you open a new ticket, I don't think this is related. Target Object ID does not exist is a different class of error. Can you also cleanup...
@peterlck can you open a new issue (and more importantly, can you provide more code that shows what you are doing? thanks)