problems starting camel-aws kinesis route after upgrade to rollup10 patch

Solution Verified - Updated -

Issue

  • After undeploying bundle/blueprint.xml withcamel-aws kinesis route, In few second we will get error
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.http.conn.$Proxy57
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.8.0_121]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[:1.8.0_121]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.8.0_121]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)[:1.8.0_121]
    at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:739)[:1.8.0_121]
    at com.amazonaws.http.conn.ClientConnectionManagerFactory.wrap(ClientConnectionManagerFactory.java:52)
    at com.amazonaws.http.impl.client.SdkHttpClient.<init>(SdkHttpClient.java:29)
    at com.amazonaws.http.HttpClientFactory.createHttpClient(HttpClientFactory.java:116)
    at com.amazonaws.http.AmazonHttpClient.<init>(AmazonHttpClient.java:217)
    at com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceClient.java:136)
    at com.amazonaws.services.kinesis.AmazonKinesisClient.<init>(AmazonKinesisClient.java:214)
    at com.amazonaws.services.kinesis.AmazonKinesisClient.<init>(AmazonKinesisClient.java:190)
    at com.amazonaws.services.kinesis.AmazonKinesisClient.<init>(AmazonKinesisClient.java:168)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.8.0_121]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[:1.8.0_121]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.8.0_121]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)[:1.8.0_121]
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)[203:org.apache.servicemix.bundles.spring-beans:3.2.18.RELEASE_1]
    ... 18 more

  • It works well in R7 patch for Red Hat Fuse 6.3.0

Environment

  • Red Hat Fuse
    • 6.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In