Questions tagged [quarkus-native]

73 questions
0
votes
1 answer

Quarkus: Programatically set a config property

I have a requirement to set a property in my Quarkus app, whereby the value of this property (a quarkus-vault property) needs to read from a file. For example, in the microprofile-config.properties file, this would be an example of such…
rm12345
  • 1,089
  • 3
  • 18
  • 32
0
votes
1 answer

Quarkus native executable built on Windows not running inside a Docker container

First, I build a Quarkus native image, everything seems to be fine. When I try to run it, I get the following error: standard_init_linux.go:228: exec user process caused: no such file or directory This is the Dockerfile: FROM alpine:3.15 WORKDIR…
happy songs
  • 835
  • 8
  • 21
0
votes
2 answers

Unable to pass ActiveMQ configuration in Quarkus native build with Camel setup

I am getting the following errors while passing ActiveMQ properties in the broker URL in Quarkus native build and Camel setup. javax.jms.JMSException: Could not create Transport. Reason: javax.jms.JMSException: Could not create Transport. Reason:…
Abhishek Kumar
  • 229
  • 1
  • 5
0
votes
2 answers

Quarkus GraalVM native build fails in AWS Lambda with ClassNotFoundException

I want to create a java project with quarkus and want to use GraalVm for ahead of time compilation to lower cold startup times in AWS lambda. When I deploy it in AWS Lambda and run Test I get the following error: Class not found:…
timguy
  • 2,063
  • 2
  • 21
  • 40
0
votes
3 answers

How to debug quarkus lambda locally

I am beginner to Quarkus lambda and when I am looking for how to debug the Quarkus lambda then everyone is showing with REST API endpoints, is there any way to debug the Quarkus app using lambda handler ? I know how to start the app in dev mode but…
Taufik Pirjade
  • 380
  • 6
  • 26
0
votes
1 answer

Including files (NOT classpath resource) in Quarkus Native

In Quarkus, to include random files as classpath resource, we use quarkus.native.resources.includes (https://quarkus.io/guides/writing-native-applications-tips#including-resources). How to include files in the file system? I.e. something read using…
wiradikusuma
  • 1,930
  • 4
  • 28
  • 44
0
votes
1 answer

Maven error building Quarkus native image (java.nio.file.AccessDeniedException: /./target)

I am trying to use Github self hosted runners to build the native image for my quarkus applications. This is working great for me on the Github hosted runners, but I want to do this on self hosted runners so we don't blow our github actions minutes…
0
votes
1 answer

Quarkus Native additional build args with Gradle

Trying to solve an issue with Proxy classes + native mode with Quarkus, and hitting a roadblock. The docs outlining the tips for solving the issue don't specify how to add the additional build args with Gradle.... Reference docs:…
Snappawapa
  • 1,697
  • 3
  • 20
  • 42
0
votes
1 answer

Quarkus testing in Gradle - How to deal with test and native-test

I have a Quarkus project that has both a test sources folder and a native-test folder. The guidance seems to be that I would have a lot of the same tests (specifically @QuarkusIntegrationTests) in the native-test folder. Is there a way to specify to…
Snappawapa
  • 1,697
  • 3
  • 20
  • 42
0
votes
1 answer

quarkus fails to compile to native

I am trying to compile to native a small lambda function written with graalvm java and quarkus, but I get this exception. I already tried with adding the flags--allow-incomplete-classpath and --initialize-at-run-time for 2 classes, but this didn't…
user1819111
  • 381
  • 3
  • 6
0
votes
1 answer

Quarkus native, not able to use a shared library from maven dependency

I'm trying to put a Quarkus server up using Graalvm with a maven dependency that loads a shared library(*.so file). However, after the server starts I'm getting a java.lang.UnsatisfiedLinkError. Steps to reproduce the issue git clone…
Ricardo Cunha
  • 2,013
  • 6
  • 24
  • 42
0
votes
1 answer

Quarkus: connect to cloudsql db (gcp) with native image

I've set up a prod configuration for my datasource to connect to a GCP MySQL instance, basically following this tutorial: https://quarkus.io/guides/deploying-to-google-cloud#using-cloud-sql Configuration…
Rolintocour
  • 2,934
  • 4
  • 32
  • 63
0
votes
1 answer

How to defiine Quarkus Heap Space Size

I have a Quarkus application that transforms large sets of data. At some point I always get an Out Of Memory Exception. I think when I am running the application in "Java Mode" the JVM xmx flag should work to give Quarkus more memory. Is that…
menevs
  • 3
  • 2
1 2 3 4
5