You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue
I was successfully building a native image using camel-quarkus (consuming from kafka and publishing to aws2 ses and sns) using apache client. This was working ok till I deployed to our EKS cluster using IRSA. I then included the STS module and got past the webidentitytokens issue. However this was failing intermittently with invalid security token when running as a native image (working fine in jvm mode).
I then tried to switch to url http client, with software.amazon.awssdk.http.service.impl=software.amazon.awssdk.http.urlconnection.UrlConnectionSdkHttpService
Actual Behaviour
JVM version builds and runs ok.
Native build is now failing with below error
Expected Behaviour
Native build completes. (Not sure what seeing i need to be using otherwise)
Quarkus Version:
2.8.1.Final
GraalVM version:
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment GraalVM CE 22.0.0.2 (build 17.0.2+8-jvmci-22.0-b05)
OpenJDK 64-Bit Server VM GraalVM CE 22.0.0.2 (build 17.0.2+8-jvmci-22.0-b05, mixed mode, sharing)
Error Message
[ERROR] Failed to execute goal io.quarkus.platform:quarkus-maven-plugin:2.8.1.Final:build (default) on project correspondence-service: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[ERROR] [error]: Build step org.apache.camel.quarkus.component.aws.commons.deployment.AwsCommonsProcessor#client threw an exception: javax.enterprise.inject.spi.DeploymentException: Missing 'software.amazon.awssdk:apache-client' dependency on the classpath
[ERROR] at org.apache.camel.quarkus.component.aws.commons.deployment.AwsCommonsProcessor.checkClasspath(AwsCommonsProcessor.java:61)
[ERROR] at org.apache.camel.quarkus.component.aws.commons.deployment.AwsCommonsProcessor.client(AwsCommonsProcessor.java:51)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[ERROR] at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:925)
[ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
[ERROR] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
[ERROR] at java.base/java.lang.Thread.run(Thread.java:833)
[ERROR] at org.jboss.threads.JBossThread.run(JBossThread.java:501)
The text was updated successfully, but these errors were encountered:
Issue
I was successfully building a native image using camel-quarkus (consuming from kafka and publishing to aws2 ses and sns) using apache client. This was working ok till I deployed to our EKS cluster using IRSA. I then included the STS module and got past the webidentitytokens issue. However this was failing intermittently with invalid security token when running as a native image (working fine in jvm mode).
I then tried to switch to url http client, with software.amazon.awssdk.http.service.impl=software.amazon.awssdk.http.urlconnection.UrlConnectionSdkHttpService
Actual Behaviour
JVM version builds and runs ok.
Native build is now failing with below error
Expected Behaviour
Native build completes. (Not sure what seeing i need to be using otherwise)
Quarkus Version:
2.8.1.Final
GraalVM version:
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment GraalVM CE 22.0.0.2 (build 17.0.2+8-jvmci-22.0-b05)
OpenJDK 64-Bit Server VM GraalVM CE 22.0.0.2 (build 17.0.2+8-jvmci-22.0-b05, mixed mode, sharing)
Error Message
[ERROR] Failed to execute goal io.quarkus.platform:quarkus-maven-plugin:2.8.1.Final:build (default) on project correspondence-service: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[ERROR] [error]: Build step org.apache.camel.quarkus.component.aws.commons.deployment.AwsCommonsProcessor#client threw an exception: javax.enterprise.inject.spi.DeploymentException: Missing 'software.amazon.awssdk:apache-client' dependency on the classpath
[ERROR] at org.apache.camel.quarkus.component.aws.commons.deployment.AwsCommonsProcessor.checkClasspath(AwsCommonsProcessor.java:61)
[ERROR] at org.apache.camel.quarkus.component.aws.commons.deployment.AwsCommonsProcessor.client(AwsCommonsProcessor.java:51)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[ERROR] at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:925)
[ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
[ERROR] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
[ERROR] at java.base/java.lang.Thread.run(Thread.java:833)
[ERROR] at org.jboss.threads.JBossThread.run(JBossThread.java:501)
The text was updated successfully, but these errors were encountered: