JDK-6427062 : Vista: Getting Connection exception on Vista, if tonga executed with mapped java
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows
  • CPU: x86
  • Submitted: 2006-05-17
  • Updated: 2010-08-19
  • Resolved: 2006-05-27
Description
Getting Connection exception on Vista, if tonga executed with mapped java.
OS version: Vista (build 5381)
Steps to reproduce:
- map one of the drives to the common java binaries location (X ---> \\koori\onestop)
- check if you can execute java succesfully, something like:
X:/jdk/6.0/latest/binaries/windows-i586/bin/java -version
- now try to execute DTonga:
X:/jdk/6.0/latest/binaries/windows-i586/bin/java -classpath tonga.jar
DTonga -workdir C:/results -inifile C:/whatever
Exception coming:
EXCEPTION: Thread[main,5,main] :
tonga.net.conn.MakingConnectionExeption: Got IO
Exception while making connection: java.net.SocketException: Invalid
argument: c
reate
EXCEPTION: Thread[main,5,main] :
tonga.net.conn.MakingConnectionExeption: Got IO
Exception while making connection: java.net.SocketException: Invalid
argument: c
reate
tonga.net.conn.MakingConnectionExeption: Got IOException while making
connection
: java.net.SocketException: Invalid argument: create
        at
tonga.net.conn.ConnectionControlUnit.makePassiveConnection(Connection
ControlUnit.java:39)
        at
tonga.ctl.srv.SrvProvControlUnit.<init>(SrvProvControlUnit.java:43)
        at
tonga.ctl.srv.SrvProvControlUnit.getSrvProvControlUnit(SrvProvControl
Unit.java:64)
        at
tonga.ctl.flow.ServerFlowControl.startRun(ServerFlowControl.java:290)

        at DTonga.main(DTonga.java:27)
tonga.net.conn.MakingConnectionExeption: Got IOException while making
connection
: java.net.SocketException: Invalid argument: create
        at
tonga.net.conn.ConnectionControlUnit.makePassiveConnection(Connection
ControlUnit.java:39)
        at
tonga.ctl.srv.SrvProvControlUnit.<init>(SrvProvControlUnit.java:43)
        at
tonga.ctl.srv.SrvProvControlUnit.getSrvProvControlUnit(SrvProvControl
Unit.java:64)
        at
tonga.ctl.flow.ServerFlowControl.startRun(ServerFlowControl.java:290)

        at DTonga.main(DTonga.java:27)
#

Comments
EVALUATION It is nothing to do with dtonga. This bug was fixed in latest Vista Beta2 build from Microsoft. Not reproducible any more. We can close it now.
27-05-2006

EVALUATION There's a new build of Tonga just comes out. It works fine. It is a sign that this issue may not be a jdk networking code problem. Lower the priority. Leave it open for now, though, for further investigation.
25-05-2006