SocketException with Java 7 over VPN

Java 7 communicates by default over IPv6, previously it was IPv4. Cisco VPN currently does not support IPv6 sockets, at least nor our version/implementation of it, so you may get something like this

IO Error: JNDI Package failure [Root exception is Permission denied: connect]

One potential solution is to switch java back to IPv4 with the system property.
Another solution includes turning off IPv6 in the VPN config as documented here, but we have not tested this solution.
Feel free to expand this document to include specific situations.

This page was last modified on 8 February 2013, at 14:34.

Note: Content found in this wiki may not always reflect official Church information.