Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-4076

Distributed app example Helm chart stopped working after Commons-compress 1.24->1.26 update

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.9.0
    • None
    • JMAP, opensearch
    • None

    Description

      When the James distributed app (master) is deployed using the example Helm chart as a template, it crashes with the following error:

       

      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... 

       

      This only seems to happen on the latest commits, and not on older commits from master. A git bisect identifies this PR 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sami7786 Samiul Sami
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: