Return-Path: X-Original-To: apmail-servicemix-dev-archive@www.apache.org Delivered-To: apmail-servicemix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E4C711181 for ; Sat, 5 Jul 2014 13:06:34 +0000 (UTC) Received: (qmail 36474 invoked by uid 500); 5 Jul 2014 13:06:34 -0000 Delivered-To: apmail-servicemix-dev-archive@servicemix.apache.org Received: (qmail 36443 invoked by uid 500); 5 Jul 2014 13:06:34 -0000 Mailing-List: contact dev-help@servicemix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicemix.apache.org Delivered-To: mailing list dev@servicemix.apache.org Received: (qmail 36334 invoked by uid 99); 5 Jul 2014 13:06:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2014 13:06:34 +0000 Date: Sat, 5 Jul 2014 13:06:34 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: dev@servicemix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SMX4-1790) Apache ServiceMix :: Bundles :: aws-java-sdk 1.7.5_1 throwing NoClassDefFoundError: org.apache.http.conn.routing.HttpRoute MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SMX4-1790?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 updated SMX4-1790: --------------------------------------- Fix Version/s: bundles-2014.07 > Apache ServiceMix :: Bundles :: aws-java-sdk 1.7.5_1 throwing NoClassDefF= oundError: org.apache.http.conn.routing.HttpRoute=20 > -------------------------------------------------------------------------= -------------------------------------------------- > > Key: SMX4-1790 > URL: https://issues.apache.org/jira/browse/SMX4-1790 > Project: ServiceMix 4 > Issue Type: Bug > Components: Bundles > Affects Versions: bundles-2014.05 > Environment: karaf 2.3.1 using: mvn:org.apache.servicemix.bundles= /org.apache.servicemix.bundles.aws-java-sdk/1.7.5_1 > Reporter: Rob Nemzek > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: bundles-2014.07 > > > Not sure this has anything to do with the problem, but for this use-case = I am required to connect to AWS using their "Assume Role" access which uses= the AWS Security Token Service > Everything works after installing mvn:org.apache.servicemix.bundles/org.a= pache.servicemix.bundles.aws-java-sdk/1.7.5_1 I perform a dev:dynamic-impor= t on this same bundle. > Let me know if you have any questions or would like me to try anything. > Thanks. > Stacktrace below: > Error: org.apache.http.conn.routing.HttpRoute not found by org.apache.ser= vicemix.bundles.aws-java-sdk [404] > java.lang.NoClassDefFoundError: org.apache.http.conn.routing.HttpRoute no= t found by org.apache.servicemix.bundles.aws-java-sdk [404] > at com.amazonaws.http.conn.$Proxy157.(Unknown Source) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native = Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCo= nstructorAccessorImpl.java:57) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Dele= gatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:526= ) > at java.lang.reflect.Proxy.newInstance(Proxy.java:748) > at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:739) > at com.amazonaws.http.conn.ClientConnectionManagerFactory.wrap(Cl= ientConnectionManagerFactory.java:52) > at com.amazonaws.http.impl.client.SdkHttpClient.(SdkHttpCli= ent.java:29) > at com.amazonaws.http.HttpClientFactory.createHttpClient(HttpClie= ntFactory.java:98) > at com.amazonaws.http.AmazonHttpClient.(AmazonHttpClient.ja= va:158) > at com.amazonaws.AmazonWebServiceClient.(AmazonWebServiceCl= ient.java:119) > at com.amazonaws.AmazonWebServiceClient.(AmazonWebServiceCl= ient.java:103) > at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceCl= ient.(AWSSecurityTokenServiceClient.java:184) > at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceCl= ient.(AWSSecurityTokenServiceClient.java:165) > at com.csc.cloud.cp.service.aws.s3.impl.S3ServiceImpl.getAssumeRo= leCredentials(S3ServiceImpl.java:350) > at com.csc.cloud.cp.service.aws.s3.impl.S3ServiceImpl.getAWSCrede= ntials(S3ServiceImpl.java:342) > at com.csc.cloud.cp.service.aws.s3.impl.S3ServiceImpl.getS3Client= (S3ServiceImpl.java:308) > at com.csc.cloud.cp.service.aws.s3.impl.S3ServiceImpl.listBuckets= (S3ServiceImpl.java:196) > at com.csc.cloud.cp.service.aws.s3.impl.S3ServiceImpl.listBuckets= (S3ServiceImpl.java:168) > at com.csc.cloud.cp.service.aws.s3.impl.commands.ListBucketsComma= nd.doExecuteImpl(ListBucketsCommand.java:19) > at com.csc.cloud.cp.service.aws.s3.impl.commands.AbstractCommand.= doExecute(AbstractCommand.java:29) > at org.apache.karaf.shell.console.OsgiCommandSupport.execute(Osgi= CommandSupport.java:38) > at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(A= bstractCommand.java:35) > at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProx= y.java:78) > at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:= 474) > at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure= .java:400) > at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183= ) > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120= ) > at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(Comma= ndSessionImpl.java:89) > at org.apache.karaf.shell.console.jline.Console.run(Console.java:= 174) > at java.lang.Thread.run(Thread.java:744) > at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.doRun(= ShellFactoryImpl.java:144) > at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4$1.run(= ShellFactoryImpl.java:135) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:356) > at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.run(Sh= ellFactoryImpl.java:133)=20 -- This message was sent by Atlassian JIRA (v6.2#6252)