We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Getting this exception at the end of each unit test that does mail delivery, e.g. in SimpleJavaMailDeliveryIT.
SimpleJavaMailDeliveryIT
It is benign, but still should be fixed. Looks like the issue is that Greenmail (test SMTP server) is shutdown before the app (BQRuntime) is shutdown.
[WARN] [stderr] Exception in thread "pool-75-thread-1" org.simplejavamail.smtpconnectionpool.TransportHandlingException: error closing transport connection [WARN] [stderr] at org.simplejavamail.smtpconnectionpool.TransportAllocator.deallocate(TransportAllocator.java:62) [WARN] [stderr] at org.simplejavamail.smtpconnectionpool.TransportAllocator.deallocate(TransportAllocator.java:30) [WARN] [stderr] at org.bbottema.genericobjectpool.GenericObjectPool$AutoAllocatorDeallocator.deallocate(GenericObjectPool.java:283) [WARN] [stderr] at org.bbottema.genericobjectpool.GenericObjectPool$AutoAllocatorDeallocator.allocatedCorePoolAndDeallocateOneOrPlanDeallocations(GenericObjectPool.java:270) [WARN] [stderr] at org.bbottema.genericobjectpool.GenericObjectPool$AutoAllocatorDeallocator.run(GenericObjectPool.java:256) [WARN] [stderr] at java.base/java.lang.Thread.run(Thread.java:829) [WARN] [stderr] Caused by: javax.mail.MessagingException: Exception reading response; [WARN] [stderr] nested exception is: [WARN] [stderr] java.net.SocketException: Connection reset [WARN] [stderr] at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2476) [WARN] [stderr] at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:1396) [WARN] [stderr] at org.simplejavamail.smtpconnectionpool.TransportAllocator.deallocate(TransportAllocator.java:60) [WARN] [stderr] ... 5 more [WARN] [stderr] Caused by: java.net.SocketException: Connection reset [WARN] [stderr] at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186) [WARN] [stderr] at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140) [WARN] [stderr] at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:102) [WARN] [stderr] at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252) [WARN] [stderr] at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:271) [WARN] [stderr] at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:100) [WARN] [stderr] at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2456) [WARN] [stderr] ... 7 more [WARN] [stderr] [pool-75-thread-2] INFO org.bbottema.genericobjectpool.GenericObjectPool - Simple Object Pool shutdown complete
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Getting this exception at the end of each unit test that does mail delivery, e.g. in
SimpleJavaMailDeliveryIT
.It is benign, but still should be fixed. Looks like the issue is that Greenmail (test SMTP server) is shutdown before the app (BQRuntime) is shutdown.
The text was updated successfully, but these errors were encountered: