103 questions
Best practices
0
votes
2
replies
24
views
Passing Apache-authenticated user Principal to Quarkus app
I have a quarkus web app currently protected by Apache's form-based authentication via reverse proxy.
# conf.d/session-auth.conf.inc
AuthType form
AuthFormProvider file
AuthUserFile ...
...
Best practices
0
votes
2
replies
99
views
Quarkus native compilation requires explicit declaration of Classes to be registered for Reflection
I'm using Quarkus enabling native compilation. At runtime I noticed some exceptions that required me to register classes for reflection e.g:
@RegisterForReflection(
targets = { MyClass.class, ...
Best practices
0
votes
1
replies
53
views
Deployed native Quarkus application self-update - best approach?
I have a quarkus cli application I compile native. Now I want to implement a self-update feature. That is, the cli application should be capable of updating itself with the newest compiled version. ...
Score of 1
0 answers
145 views
Building a Native application with quarkus
Am trying to learn Quakus and am trying to build a native application using the command mvn package -Pnative and am facing the following error:
[ERROR] Failed to execute goal io.quarkus.platform:...
Score of 0
1 answer
35 views
Custom jackson in reactive project is not useful
Jackson config
public class JacksonConfig {
@Singleton
@Produces
ObjectMapper objectMapper(@All List<ObjectMapperCustomizer> customizers) {
ObjectMapper mapper = JsonUtil....
Score of -1
1 answer
66 views
Camel-K Integration build quarkus and other build quarkus native , the native mode is not finishing after 45 minutes?
Can you tell me where see the log when the phase Building Kit is on processing ?
i wait 45 minutes for the simple Integration test (route From : Timer , To : log) and it isnot finishing... no error, ...
Score of 0
0 answers
181 views
"Provider io.opentelemetry.exporter.otlp.internal.OtlpSpanExporterProvider not found" in native mode
I'm trying to integrate OpenTelemetry in a Quarkus application, to export TRACES via OTLP, using "http/protobuf" as protocol. When I run the application in pure-java mode, even in dev-mode, ...
Score of 0
1 answer
117 views
Quarkus: 3rd party module not included in native image classpath
I'm using simplejavamail in my Quarkus application. I have both the library and its batch-module included in my pom.xml:
<dependency>
<groupId>org.simplejavamail</groupId>
...
Score of 0
1 answer
90 views
Difference of behavior between JVM and Native builds in Quarkus
I'm trying to log CloudWatch metrics to stdout.
I setup the relevant code, and when testing in dev, the logs are as expected.
Here is the relevant code -
public class MetricsService {
...
Score of 0
1 answer
200 views
simple-java-mail with native image: No provider of jakarta.mail.util.StreamProvider was found
I'm using simple-java-mail v8.12.4 to send email from a quarkus application. Things work in dev mode, but when I run the graalvm native image of the app built with quarkus's mandrel builder, it gives ...
Score of 2
1 answer
1643 views
When does @RegisterForReflection have to be used?
I am a bit confused with @RegisterForReflection and when does Quarkus actually require it as my application runs perfectly fine in dev or in native mode without it.
In a simple PoC application I have ...
Score of 1
0 answers
271 views
Quarkus GraalVM native build on Github Actions - Out of memory
I am currently using github actions to create a native build of and deploy, in a matrix, quarkus services. I am using github's hosted runners, tagged with ubuntu-latest that have 7G ram.
The problem ...
Score of 1
1 answer
474 views
How to properly declare ResourceBundle in Quarkus Native build? (MyFaces Extension)
I'm trying to load a Java's class as Resource bundle in faces-config.xml:
<application>
<resource-bundle>
<base-name>app.LanguageBundle</base-name>
<var&...
Score of 1
0 answers
87 views
AndroidFriendlyRandomHolder class not found error after upgrade to quarkus 3.14.4
Just upgraded a working app from quarkus 3.12.1 to build with 3.14.4, and started getting the error below when doing a native container build (on a Mac for linux), using
./mvnw clean package -Dnative -...
Score of 0
0 answers
133 views
No implementations of interface io.vertx.sqlclient.spi.Driver found that accept connection options io.vertx.mysqlclient.MySQLConnectOptions
I am having an issue with the native compilation of Quarkus. I am using the MySQLDriver to dynamically connect to MySQL databases, but this does not work with the native compilation.
Here is a simple ...