Samiul Sami created JAMES-4076: ---------------------------------- Summary: Distributed app example Helm chart stopped working after Commons-compress 1.24->1.26 update Key: JAMES-4076 URL: https://issues.apache.org/jira/browse/JAMES-4076 Project: James Server Issue Type: Bug Components: opensearch Affects Versions: 3.9.0 Reporter: Samiul Sami
When the James distributed app (master) is deployed using the [example Helm chart |https://github.com/apache/james-project/tree/master/server/apps/distributed-app/helm-chart]as a template, it crashes with the following error: {code:java} null","context":"default"} {"timestamp":"2024-09-18T02:02:52.157Z","level":"INFO","thread":"main","logger":"org.apache.james.modules.mailbox.CassandraSchemaVersionStartUpCheck","message":"Schema version is up-to-date","context":"default"} Exception in thread "OpenSearch-driver-1" java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64 at org.apache.http.impl.auth.BasicScheme.authenticate(BasicScheme.java:166) at org.apache.http.impl.auth.HttpAuthenticator.doAuth(HttpAuthenticator.java:233) at org.apache.http.impl.auth.HttpAuthenticator.generateAuthResponse(HttpAuthenticator.java:213) at org.apache.http.impl.nio.client.MainClientExec.generateRequest(MainClientExec.java:224) at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.generateRequest(DefaultClientExchangeHandlerImpl.java:135) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.requestReady(HttpAsyncRequestExecutor.java:193) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.connected(HttpAsyncRequestExecutor.java:134) at org.apache.http.impl.nio.client.InternalIODispatch.onConnected(InternalIODispatch.java:69) at... {code} This only seems to happen on the latest commits, and not on older commits from master. A git bisect identifies [this PR |https://github.com/apache/james-project/commit/e858bad7112eac3a767ebe1519e860b1687e6e09]as the culprit, which we can be somewhat confident of since this PR's immediate parent commit runs without any issues. I tried reverting the commons-compress back to 1.24 in the latest commits on master, but that did not work, and the exact same error persisted. However, according to [~rcordier] it is possible to deploy the latest version of the James Distributed server with Helm, albeit with a much different looking chart than the one in the example. This leads me to conclude that the Helm chart most likely outdated, and/or the commons-compress update broke the chart. I'm not sure how to fix either, any help would be greatly appreciated. Thanks. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org