-
Notifications
You must be signed in to change notification settings - Fork 31
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
[Bug] JDP is broken on ARM64 images #1553
Comments
Similar investigations here: hazelcast/hazelcast#9081 |
ARM64 image:
AMD64 image:
Looks fine that way. |
diff --git a/src/main/extras/app/entrypoint.bash b/src/main/extras/app/entrypoint.bash
index cd83fb51..7748f320 100755
--- a/src/main/extras/app/entrypoint.bash
+++ b/src/main/extras/app/entrypoint.bash
@@ -166,6 +166,8 @@ if [ -n "$CRYOSTAT_JUL_CONFIG" ]; then
FLAGS+=("-Djava.util.logging.config.file=$CRYOSTAT_JUL_CONFIG")
fi
+FLAGS+=("-Djava.net.preferIPv4Stack=true")
+
CLASSPATH="$( cat /app/jib-classpath-file )"
if [ -n "$CRYOSTAT_CLIENTLIB_PATH" ]; then
CLASSPATH="$CLASSPATH:$CRYOSTAT_CLIENTLIB_PATH/*" didn't help. A slightly different stack trace occurs:
This time at the |
Here is the native implementation of |
Also somewhat similar problem: fit2anything/keycloak-cluster-setup-and-configuration#8 |
In https://github.com/cryostatio/cryostat/issues/1329 , a user with access to real ARM hardware seemingly had no issue getting Cryostat running. There are no logs showing whether the Might this JDP issue only be a problem when running the ARM image through |
https://github.com/cryostatio/cryostat/pull/1544#issuecomment-1593114707
The text was updated successfully, but these errors were encountered: