SAP Knowledge Base Article - Preview

2223173 - DB transaction logs growing up due to Java Mail Socket timeout

Symptom

The db transaction logs are slowly growing up and it is observed that there are threads active for a long time using the db transaction logs.

 If we create a db application snapshot we identify the application which is consuming more resources.

imagen2.PNG

 

If we check the thread activity (by creating a thread dump) at this moment, we can see that the application thread looks similar to this:

"at java.net.SocketInputStream.socketRead0(Ljava.io.FileDescriptor;[BIII)I(Native Method)
 at java.net.SocketInputStream.read([BII)I(SocketInputStream.java:129)
 at com.sun.mail.util.TraceInputStream.read([BII)I(TraceInputStream.java:110)
 at java.io.BufferedInputStream.fill()V(BufferedInputStream.java:218)
 at java.io.BufferedInputStream.read()I(BufferedInputStream.java:237)
 - locked<0x749e4a150> (a java.io.BufferedInputStream)
 at com.sun.mail.util.LineInputStream.readLine()Ljava.lang.String;(LineInputStream.java:88)
 at com.sun.mail.smtp.SMTPTransport.readServerResponse()I(SMTPTransport.java:1589)
 at com.sun.mail.smtp.SMTPTransport.openServer(Ljava.lang.String;I)V(SMTPTransport.java:1369)
 at com.sun.mail.smtp.SMTPTransport.protocolConnect(Ljava.lang.String;ILjava.lang.String;Ljava.lang.String;)Z(SMTPTransport.java:412)
 at javax.mail.Service.connect(Ljava.lang.String;ILjava.lang.String;Ljava.lang.String;)V(Service.java:288)
 - locked<0x730cd3b78> (a com.sun.mail.smtp.SMTPTransport)
 at javax.mail.Service.connect(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(Service.java:169)
 at javax.mail.Service.connect()V(Service.java:118)
 at com.sap.bpem.base.mail.Send.initializeSession()V(Send.java:55)
 at com.sap.bpem.base.mail.Send.send(Lcom.sap.bpem.base.mail.IMessage;)V(Send.java:78)
 at com.sap.bpem.base.mail.MailSenderBean.surroundSend(Ljava.lang.Object;)V(MailSenderBean.java:60)


Read more...

Environment

SAP NetWeaver BPM

Keywords

Transaction logs, Java Mail Socket timeout, GLX_RRH_TEXTS , KBA , BC-BMT-BPM-SRV , Process Server , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.