Closed zakkak closed 2 months ago
Same issue if syslog is replaced by camel-quarkus-netty
(which syslog depends on).
It might be related to commons-pool2
. When it's removed, native compilation is successful.
Is there any detail about the naitve compiliation errors ?
I think I may have fixed it.
BaseGenericObjectPool
in commons-pool2
has jmxRegister
and jmxUnregister
methods. Once substituted, compilation succeeds.
Nice work and it looks like we had the similar issue before
I had the same fix in quarkus-pooled-jms
@jamesnetherton it looks like an issue in commons-pool2
, is there any better way to do the substitution? currently, it seems we add the same fix in the different extensions.
Or this issue only happen with the quarkus-jdbc-oracle
?
currently, it seems we add the same fix in the different extensions
Hmmm - that's a problem then. Any substitutions added here could be made conditional on quarkus-pooled-jms
not being on the runtime classpath.
Otherwise we'd need a common home for the code so it can be shared.
That was fast! Thank you @jamesnetherton and @zhfeng.
Bug description
Building a project with both
camel-quarkus-syslog
andquarkus-jdbc-oracle
as dependencies results in build failures in native-mode. The output looks like this:Reproducer