← Back to team overview

openjdk team mailing list archive

[Bug 542395] Re: ec2-api-tools with java-6-openjdk fail with java.net.SocketException

 

** Changed in: openjdk-6 (Debian)
       Status: Unknown => Fix Released

-- 
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 OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” package in Ubuntu: Fix Released
Status in “openjdk-6” package in Debian: Fix Released

Bug description:
Binary package hint: ec2-api-tools

+ ec2-describe-images --private-key pk.pem --cert cert.pem ami-8924cbe0
Unexpected error:
java.net.SocketException: Invalid argument or cannot assign requested address
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)  
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
        at java.net.Socket.connect(Socket.java:542)
        at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:570)
...
       at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
        at $Proxy12.describeImages(Unknown Source)
        at com.amazon.aes.webservices.client.Jec2.describeImages(Jec2.java:485)
        at com.amazon.aes.webservices.client.cmd.DescribeImages.invokeOnline(DescribeImages.java:160)
        at com.amazon.aes.webservices.client.cmd.BaseCmd.invoke(BaseCmd.java:742)
        at com.amazon.aes.webservices.client.cmd.DescribeImages.main(DescribeImages.java:171)


Other info about java:
$ ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 40 2010-03-15 13:16 /etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java
$ dpkg -S /usr/lib/jvm/java-6-openjdk/jre/bin/java
openjdk-6-jre-headless: /usr/lib/jvm/java-6-openjdk/jre/bin/java
$ dpkg-query --show openjdk-6-jre-headless
openjdk-6-jre-headless  6b18~pre2-1ubuntu1

ProblemType: Bug
Architecture: amd64
Date: Fri Mar 19 22:46:27 2010
Dependencies:
 
DistroRelease: Ubuntu 10.04
Package: ec2-api-tools 1.3.46266-0ubuntu1
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-server
SourcePackage: ec2-api-tools
Uname: Linux 2.6.32-16-server x86_64