Questions tagged [quarkus-native]

73 questions
1
vote
0 answers

Overriding config properties with env variables in native

I'm trying to override configuration properties via environment variables on Quarkus application, compiled and dockerized with native profile. When I exec into my container, and check the environment variables, I can confirm that the value I expect…
Anthony Richir
  • 649
  • 2
  • 8
  • 31
1
vote
1 answer

Quarkus native executable & google-oauth-client

I've added a sample project here that replicates the issue. My goal is to simply build a GoogleAuthorizationCodeRequestUrl. What is interesting about it is that a set of map entries that is fully "hydrated" running on JVM is empty when executing the…
1
vote
1 answer

Quarkus rest client ClassNotFoundException: org.apache.commons.logging.impl.LogFactoryImpl in native mode

I've got a Quarkus project with multiple modules. └── Parent module └── Common module └── child module └── some module In the common module I've added the following dependencies (following this guide…
bob
  • 198
  • 1
  • 10
1
vote
0 answers

Quarkus framework provides some annotation for inject a bean depend of the property value?

Hi guys I have a doubt I am trying to inject or only initialize filter request only when a property value is enabled. When the value es false this filter not will be inject o intercept requests. For example in Spring Framework you ca use…
1
vote
0 answers

UnresolvedElementException in simple lambda function

I've created my next native lambda function and for some reason I get error Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved field during parsing:…
ElBlokko
  • 31
  • 3
1
vote
0 answers

Detected an instance of Random/SplittableRandom class in the image heap

I'm using a Quarkus-Kotlin-Gradle combo and I would like to build in native I build the app with (native marked in the app.props: quarkus.package.type=native): quarkus build I got the following error: Detected an instance of…
Krizsán Balazs
  • 386
  • 1
  • 4
  • 18
1
vote
1 answer

Quarkus-Mandrel native build running forever

Just starting with quarkus-mandrel to multistage docker build for a quarkus-resteasy example. Mac M1 pro - macOS Monterey - 8Cpu and 32GB memory Docker Deskop - VM - 6cpu Memory 16GB FROM quay.io/quarkus/ubi-quarkus-mandrel:21.3-java11 AS build USER…
funtoos
  • 295
  • 1
  • 4
  • 17
1
vote
1 answer

Quarkus Native Image Build fails using AWS SDK

After using the implementation of amazon sdk to interact with amazon rekognition and amazon comprehend tools, works very well on dev (mvn compile quarkus:dev), but crashes trying to make the native compilation of REST Web Service, developed using…
J2RE
  • 31
  • 7
1
vote
0 answers

Quarkus Lambda Memory Leakage

I have created an amazon lambda using Quarkus framework and packaged it using GraalVM native-image. The functionalities is quite simple with basic validations, however I am creating Dynamo DB client and SQS clients. I have instantiated those clients…
1
vote
1 answer

Quarkus, Gradle, and External dependencies; Objects from external dependency not serializable only in native mode

I have a quarkus app, https://github.com/Epic-Breakfast-Productions/OpenQuarterMaster/tree/main/software/open-qm-base-station that relies on a dependency I make and build locally (it is available in the local maven repo). I have taken the steps…
Snappawapa
  • 1,697
  • 3
  • 20
  • 42
0
votes
0 answers

Quarkus native compilation fails after aws sdk dependency (netty-logging related?)

I'm building a native Quarkus app with "-Dnative -Dquarkus.native.container-build=true" but after including the software.amazon.awssdk:secretsmanager:2.20.136 and the buddies it pulls in I get a Caused by:…
Nicklas Karlsson
  • 317
  • 1
  • 4
  • 12
0
votes
0 answers

Quarkus and Smallrye JWT is not generating the token when running in native mode

I created a small project using Quarkus, Smallrye JWT, and Kotlin where a JWT token is generated. The token generation works fine when I'm running the app in JVM. However, when I build the application into native and I run the application, the token…
humungs
  • 1,144
  • 4
  • 25
  • 44
0
votes
0 answers

Using a layer for lambda with Quarkus JVM (Non-native)

Maybe someone help me with a question. I'm trying to use Quarkus JVM to deploy lambda functions in AWS. But I cannot set a layer using the function.zip genereated by Quarkus when I use "mvn clean package". When I set directly on each function,…
devkallel
  • 3
  • 2
0
votes
1 answer

Building with GraalVM native image - Unresolved type during parsing: io.grpc.netty.shaded.io.netty.util.internal.logging.Log4J2Logger

I am using Quarkus and trying to build the native image and got this error My dependecies dependencies { implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")) …
Gireesh
  • 91
  • 1
  • 7
0
votes
0 answers

Thread dump Quarkus native

How can we use thread dump and heap dump when we deploy a native Quarkus service in the k8s cluster? I need to check exactly which block of code is facing performance issues. Thanks, Tam Cannot find jmap or jstack inside K8S pod, ps command not…