You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/08/11 10:33:29 UTC
[GitHub] [camel-quarkus] Sanne commented on issue #3980: Native build fails when using both camel-quarkus-activemq and quarkus-jdbc-oracle
Sanne commented on issue #3980:
URL: https://github.com/apache/camel-quarkus/issues/3980#issuecomment-1211812971
Interesting, thanks for pinging me.
The workaround seems to fly directly against our expectations, so it might have problematic side effects on other components:
https://github.com/quarkusio/quarkus/blob/23f43c3d3be6f479f86f697888856a8c65d8136d/extensions/jdbc/jdbc-oracle/deployment/src/main/java/io/quarkus/jdbc/oracle/deployment/OracleMetadataOverrides.java#L72-L76
The error seems to suggest the MBeans have been initialized; we make sure the MBean registration code is disabled:
- https://github.com/quarkusio/quarkus/blob/26670209734898f6b41bca7f00dcb4d7f555e7a2/extensions/jdbc/jdbc-oracle/runtime/src/main/java/io/quarkus/jdbc/oracle/runtime/graal/OracleDriverSubstitutions.java#L6-L17
But this only applies to after-compilation to native. I suspect what is happening is that some other component is aggressively initializing the class - I guess triggered by that aactivemq extension?
I'll try to debug the reproducer, thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org