Resending to correct news group email ;)

I've been using 3.8.1 (JPA/Guice via official Docker container) for quite
some time now but recently upgraded to 3.8.2 (JPA/Guice via official Docker
container)  .

The migration notes said that nothing needed to be done for this migration.

For some reason my email client, Thunderbird is no longer able to receive
any emails. Even stranger all my folders are present but there are no
messages in any of them.

I'm seeing a lot of exceptions in the logs that I never saw with 3.8.1:

09:42:26.694 [WARN ] o.a.j.t.m.d.MailDispatcher - Error While storing mail.
This error will be retried for 1 more times.
org.apache.openjpa.lib.jdbc.ReportingSQLException: A lock could not be
obtained within the time requested {prepstmnt 1106347382 INSERT INTO
APP.JAMES_MAIL_PROPERTY (PROPERTY_ID, PROPERTY_LINE_NUMBER,
PROPERTY_LOCAL_NAME, PROPERTY_NAME_SPACE, PROPERTY_VALUE, MAILBOX_ID,
MAIL_UID) VALUES (?, ?, ?, ?, ?, ?, ?)} [code=30000, state=40XL1]
        at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
        at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:195)
        at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$1000(LoggingConnectionDecorator.java:58)
        at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate(LoggingConnectionDecorator.java:1188)
        at
org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:308)
        at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate(JDBCStoreManager.java:1860)
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.executeUpdate(PreparedStatementManagerImpl.java:272)
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:121)
        ... 33 common frames omitted
Wrapped by: org.apache.openjpa.persistence.OptimisticLockException: Unable
to obtain an object lock on
"org.apache.james.mailbox.jpa.mail.model.JPAProperty@5b48635b".
        at
org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:5302)
        at
org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:5280)
        at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:134)
        at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:75)
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:146)
        at
org.apache.openjpa.jdbc.kernel.BatchingPreparedStatementManagerImpl.flushAndUpdate(BatchingPreparedStatementManagerImpl.java:80)
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:102)
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:90)
        at
org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:359)
        at
org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flushGraph(ConstraintUpdateManager.java:352)
        at
org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:100)
        at
org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager.flush(BatchingConstraintUpdateManager.java:61)
        at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:109)
        at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:81)
        at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:755)
        at
org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:146)
        ... 22 common frames omitted
Wrapped by: org.apache.openjpa.persistence.PersistenceException: The
transaction has been rolled back.  See the nested exceptions for details on
the errors that occurred.
        at
org.apache.openjpa.kernel.BrokerImpl.newFlushException(BrokerImpl.java:2475)
        at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2310)
        at
org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2201)
        at
org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:2118)
        at
org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:84)
        at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1603)
        at
org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:1035)
        at
org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:690)
        ... 15 common frames omitted
Wrapped by: org.apache.openjpa.persistence.RollbackException: The
transaction has been rolled back.  See the nested exceptions for details on
the errors that occurred.
        at
org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:713)
        at
org.apache.james.mailbox.jpa.JPATransactionalMapper.commit(JPATransactionalMapper.java:71)
        ... 14 common frames omitted
Wrapped by: org.apache.james.mailbox.exception.MailboxException: Commit of
transaction failed
        at
org.apache.james.mailbox.jpa.JPATransactionalMapper.commit(JPATransactionalMapper.java:73)
        at
org.apache.james.mailbox.store.transaction.TransactionalMapper.lambda$executeReactive$0(TransactionalMapper.java:51)
        at
com.github.fge.lambdas.consumers.ConsumerChainer.lambda$sneakyThrow$9(ConsumerChainer.java:73)


I tried doing a redindex but that resulted in a lot of extra exceptions
being thrown.

I'm also seeing a few of these exceptions. Could it be that 3.8.2 upgrades
to a later version of OpenSSH that no longer supports the older SSL
protocols?

javax.net.ssl.SSLHandshakeException: The client supported protocol versions
[TLSv1.1, TLSv1] are not accepted by server preferences [TLSv1.3, TLSv1.2]
        at java.base/sun.security.ssl.Alert.createSSLException(Unknown
Source)
        at java.base/sun.security.ssl.Alert.createSSLException(Unknown
Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
        at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)

Reply via email to