Also verified that this works around the problem while still using openjdk:
$ EC2_JVM_ARGS=-Djava.net.preferIPv4Stack=true ec2-describe-images


Note, ec2-describe-images calls ec2-cmd, and ec2-cmd has:
 exec java $EC2_JVM_ARGS $cygprop -classpath "$CP" 
com.amazon.aes.webservices.client.cmd.$CMD "$@"

so the EC2_JVM_ARGS is passed through.


** Summary changed:

- ec2-api-tools with java-6-openjdk fail with java.net.SocketException using
+ ec2-api-tools with java-6-openjdk fail with java.net.SocketException

** Package changed: ec2-api-tools (Ubuntu) => openjdk-6 (Ubuntu)

** Bug watch added: Debian Bug tracker #573742
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573742

** Also affects: openjdk-6 (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573742
   Importance: Unknown
       Status: Unknown

-- 
ec2-api-tools with java-6-openjdk fail with java.net.SocketException
https://bugs.launchpad.net/bugs/542395
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to