← Back to team overview

openjdk team mailing list archive

[Bug 939361] Re: ec2-get-console-output fails with xfire native error message

 

Forgot I was running java 7 as default.

Switching back to java 6 resolves this issue but it still looks like a
problem.

Adding task for openjdk-7

** Also affects: openjdk-7 (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- ec2-get-console-output fails with xfire native error message
+ ec2-get-console-output fails with xfire native error message with openjdk-7

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/939361

Title:
  ec2-get-console-output fails with xfire native error message with
  openjdk-7

Status in “ec2-api-tools” package in Ubuntu:
  New
Status in “openjdk-7” package in Ubuntu:
  New

Bug description:
  jamespage@hendrix:~/src/precise/hdp/charms$ ec2-get-console-output i-bea8faf7
  Unexpected error:
  org.codehaus.xfire.fault.XFireFault: Library /usr/lib/x86_64-linux-gnu/libsoftokn3.so does not exist
  	at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
  	at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:83)
  	at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
  	at org.codehaus.xfire.client.Client.invoke(Client.java:336)
  	at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
  	at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
  	at $Proxy12.getConsoleOutput(Unknown Source)
  	at com.amazon.aes.webservices.client.Jec2Impl.getConsoleOutput(Jec2Impl.java:1575)
  	at com.amazon.aes.webservices.client.cmd.GetConsoleOutput.invokeOnline(GetConsoleOutput.java:64)
  	at com.amazon.aes.webservices.client.cmd.BaseCmd.invoke(BaseCmd.java:854)
  	at com.amazon.aes.webservices.client.cmd.GetConsoleOutput.main(GetConsoleOutput.java:72)
  Caused by: java.security.ProviderException: Library /usr/lib/x86_64-linux-gnu/libsoftokn3.so does not exist
  	at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:292)
  	at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:103)
  	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
  	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
  	at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:224)
  	at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
  	at java.security.AccessController.doPrivileged(Native Method)
  	at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
  	at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
  	at sun.security.jca.ProviderList.getProvider(ProviderList.java:232)
  	at sun.security.jca.ProviderList$ServiceList.tryGet(ProviderList.java:433)
  	at sun.security.jca.ProviderList$ServiceList.access$200(ProviderList.java:375)
  	at sun.security.jca.ProviderList$ServiceList$1.hasNext(ProviderList.java:485)
  	at sun.security.jca.GetInstance.getInstance(GetInstance.java:170)
  	at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
  	at javax.net.ssl.SSLContext.getDefault(SSLContext.java:97)
  	at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:121)
  	at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)
  	at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:127)
  	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
  	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
  	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
  	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
  	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
  	at org.codehaus.xfire.transport.http.CommonsHttpMessageSender.send(CommonsHttpMessageSender.java:369)
  	at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:123)
  	at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
  	at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
  	at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
  	at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)
  	... 9 more

  This might actually be the latest openjdk updates - I will take a look

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ec2-api-tools 1.5.0.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
  Uname: Linux 3.2.0-17-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.92-0ubuntu1
  Architecture: amd64
  Date: Thu Feb 23 09:37:13 2012
  PackageArchitecture: all
  SourcePackage: ec2-api-tools
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-api-tools/+bug/939361/+subscriptions