I'm stuck … Trying to run the wmi dcom call it gives this message "java.net.SocketException: Address family not supported by protocol family: connect". I traced it to the rpc call starting off with and IP4 connection request then when comServer.createInstance is called it uses the IP6 naming convention and fails. if I stop the IPhelper service then it gets past the call comServer.createInstance (when the service is stopped the ip4 address is not converted to an ip6 reference). Similarily if I shut down the firewall the same thing happens. I'm using the latest sun java, vista home media operating system :-(, latest install of jcifs1 1.3.15 and J-interop 2.08. I think I am missing something basic about this problem would appreciate any advice I could get on this.
Yes this is a known issues and will be fixed in the next release.
ok! Thanks. I'll wait for the release and move on to the next part of my programming :-)
Hmm! did I miss listing of this as a known bug. Where could I have found this info?
No you did not miss anything :) .. someone else reported it offline (not via SF.net) .
I have the same problem.
Can you say, when the fixed version will be released?
Can you take the trunk and check ? It should be checked-in.
I've tried trunk revision 135 and still getting this error…
org.jinterop.dcom.common.JIException: An internal error occurred. [0x8001FFFF]
... 49 more
Caused by: java.net.SocketException: Address family not supported by protocol family: connect
at sun.nio.ch.Net.connect(Native Method)
... 54 more
Can you send a packet capture of this call to "v i k r a m . r o o p c h a n d AT j-interop.org" ?
There is no traffic, that i could capture.
The exception is thrown when i try to connect to a ipv6 address from an Win7 host, that has both ipv4 and ipv6 stack activated.
Maybe this link is helpful: http://stackoverflow.com/questions/1357091/binding-an-ipv6-server-socket-on-windows?!
I think I misunderstood your initial question. I apologize but at the moment j-Interop does not support operations over IPv6. Its there in the road map but bit lower in priority.
I believe the latest release of J-Interop (2_08) does not have IPv6 support. I found a recent patch - Adding IPv6 Support to JIComServer#decodeDualStringArray() - ID: 3532950 . Do you plan to have a release version with this?
We have made some more changes but I am not getting enough time to make a release. Will have a look at this patch by this weekend. If it holds the local tests I will push it in the trunk. If you want you can then build the trunk directly.
Did you happen to get a chance to look at this patch?