Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure, MongoDB native compilation fails if both extensions are present. #5623

Closed
JiriOndrusek opened this issue Jan 2, 2024 · 1 comment
Closed
Assignees
Labels

Comments

@JiriOndrusek
Copy link
Contributor

Bug description

Native failure:

Caused by: java.lang.ClassNotFoundException: jnr.unixsocket.UnixSocket
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	... 13 more

Issue is caused by the azure native configuration, see Azure/azure-sdk-for-java#38186

Reproducer: https://github.com/JiriOndrusek/azure-mongodb-native-failure-reproducer
Execute ./mvnw package -Dnative to simulate the error.

(Project is created automatically by https://code.quarkus.io/?e=mongodb-client&e=org.apache.camel.quarkus%3Acamel-quarkus-azure-storage-queue without any change)

Workaround is to add dependency com.github:jnr-unixsocket.

@JiriOndrusek JiriOndrusek added the bug Something isn't working label Jan 2, 2024
@JiriOndrusek JiriOndrusek self-assigned this Jan 2, 2024
@jamesnetherton
Copy link
Contributor

No longer an issue.

@jamesnetherton jamesnetherton closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2025
@github-actions github-actions bot added this to the No fix/wont't fix milestone Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants