I’m running Debian Squeeze with the latest version of VASSAL (3.1.13).
Whenever I run the shell script to start VASSAL I get the following error:
VASSAL: IO error
java.net.SocketException: Invalid argument
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:336)
at java.net.ServerSocket.bind(ServerSocket.java:336)
at java.net.ServerSocket.<init>(ServerSocket.java:202)
at VASSAL.launch.ModuleManager.main(ModuleManager.java:157)
I’m using the OpenJDK JRE, version 6b17-1.7-1. I have tried it with Sun’s Java and gotten the same error.
3.1.14 is the latest version of VASSAL. We recommend upgrading.
The error is happening on a line where we’re trying to open a socket on
the loopback interface. One reason this could fail is if your local
firewall is preventing connections to loopback. I suppose there could
also be some issue with IPv6, if you’re using that. Check both things
and let us know.
And then I gave 3.1.14 another go… and that also works perfectly. I’m not sure what changed but I no longer have any errors. I guess an update somewhere fixed whatever problem I was having.
I’m getting a very similar error message on launching VASSAL (v. 3.1.14).
VASSAL: IO error
java.net.SocketException: Invalid argument
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at VASSAL.launch.ModuleManager.main(ModuleManager.java:157)
I’ve looked at iptables and I’ve got the exact same output. I’ve also pinged 127.0.0.1 and it worked so the loopback device is fine. Any other suggestions. At the point of failure VASSAL has created the directory VASSAL in the home dir and also created the key and lock files in this dir (both are empty). I’m using the sun java (v 6.20-dlj-1).
I found a solution for this problem - not a very satisfactory solution, but a solution none-the-less. The open java JRE works fine with no issues nor error messages. It looks like something funny with just the Sun JRE.