Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10457

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

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • jboss-fuse-6.3
    • None
    • Camel, Fuse Distribution
    • None
    • Hide
      • It appears to be a regression due to ENTESB-9094
      • Attached reproducer_files_02348036.zip..
      • unzip it, there are 4 files. Files are cem-event-xsd-osgi-2.12.21.jar, camel-message-splitter-2.4.9-SNAPSHOT.jar, amq-kinesis-context.xml, amq-kinesis-routes.xml.
        features:install camel-aws
        
      • Deploy all these files to deploy of last Red Hat Fuse 6.3.0, R10 or R11.
      • These are the blueprint files which we have to check.
      JBossFuse:karaf@root> list -t 0|grep amq-kinesis
      [ 291] [Active     ] [            ] [Failed ] [   80] amq-kinesis-context.xml (0.0.0)
      [ 292] [Active     ] [            ] [Started] [   80] amq-kinesis-routes.xml (0.0.0)
      JBossFuse:karaf@root> 
      
      • Stop bundle 291 and start again. 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
        
      • However if we check in lower patch(R7 I tested), it works well. Bundle are in success state.
      • Problem appears with version aws-java-sdk (1.10.52.2), in earlier patch version of aws-java-sdk is 1.10.52.1 and this reproducer works well with 1.10.52.1 version.
      Show
      It appears to be a regression due to ENTESB-9094 Attached reproducer_files_02348036.zip.. unzip it, there are 4 files. Files are cem-event-xsd-osgi-2.12.21.jar, camel-message-splitter-2.4.9-SNAPSHOT.jar, amq-kinesis-context.xml, amq-kinesis-routes.xml. features:install camel-aws Deploy all these files to deploy of last Red Hat Fuse 6.3.0, R10 or R11. These are the blueprint files which we have to check. JBossFuse:karaf@root> list -t 0|grep amq-kinesis [ 291] [Active ] [ ] [Failed ] [ 80] amq-kinesis-context.xml (0.0.0) [ 292] [Active ] [ ] [Started] [ 80] amq-kinesis-routes.xml (0.0.0) JBossFuse:karaf@root> Stop bundle 291 and start again. 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 However if we check in lower patch(R7 I tested), it works well. Bundle are in success state. Problem appears with version aws-java-sdk (1.10.52.2), in earlier patch version of aws-java-sdk is 1.10.52.1 and this reproducer works well with 1.10.52.1 version.
    • This issue is security relevant

    Attachments

      Issue Links

        Activity

          People

            acosenti Andrea Cosentino
            rhn-support-cpandey Chandra Shekhar Pandey (Inactive)
            Tomas Veskrna Tomas Veskrna
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: