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

Unable to start james-server-distributed-guice-3.8.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.8.0
    • None
    • cassandra, opensearch

    Description

      We use default configuration (we change the host addresses to 0.0.0.0 otherwise we will get errors like "java.net.UnknownHostException: cassandra") to start james-server-distributed-guice-3.8.0 downloaded from Earlier Releases Earlier Releases but getting failed when connecting to opensearch. The log is

       

      [DEBUG] o.o.c.RestClient - request [GET http://0.0.0.0:9200/] failed
      org.apache.http.ConnectionClosedException: Connection is closed
          at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:356)
          at org.apache.http.impl.nio.client.InternalRequestExecutor.endOfInput(InternalRequestExecutor.java:132)
          at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:261) 

       

       

      We still fail to connect to cassandra with error as

       

      1) [Guice/ErrorInCustomProvider]: DriverTimeoutException: Query timed out after PT10S
        at CassandraSessionModule.provideSessionFactory(CassandraSessionModule.java:91)
            \_ installed by: Modules$OverrideModule -> Modules$CombinedModule -> Modules$CombinedModule -> Modules$CombinedModule -> Modules$CombinedModule -> Modules$CombinedModule -> Modules$CombinedModule -> Modules$CombinedModule -> Modules$CombinedModule -> Modules$CombinedModule -> Modules$OverrideModule -> Modules$CombinedModule -> Modules$CombinedModule -> CassandraSessionModule
        while locating SessionWithInitializedTablesFactory
        at CassandraDomainList.<init>(CassandraDomainList.java:52)
            \_ for 2nd parameter
        at CassandraDomainListModule.configure(CassandraDomainListModule.java:41) 

       

       

      We are using java 11 and Ubuntu 22.04. Is there anything we could do to fix this error?

      Attachments

        Activity

          People

            Unassigned Unassigned
            kk62335131 umapyl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: