SAP Knowledge Base Article - Preview

2784063 - B2B Log Viewer opens slowly

Symptom

You are using the B2B Add-on in your system and would like to check the logs of the AS2 or OFTP adapter in the B2B Log Viewer in the B2B Integration Cockpit. When you click on the B2B Log Viewer you need to wait several minutes to see the logs.

The thread dumps taken during the opening of the B2B Log Viewer show that the sap.com/logviewer~app application is reading from your database and look similar to the below thread (depending on your database):

"HTTP Worker [@1180700831]" #187 prio=5 os_prio=0 cpu=176905.13 [reset 15.60] ms elapsed=1976113.27 [reset 26.61] s allocated=33235500320 B (30.95 GB) [reset 759480 B (741.68 KB)] defined_classes=243
io= file i/o: 6553835/63997412 B, net i/o: 66676176/87532017 B, files opened:31112, socks opened:-4693 [reset file i/o: 0/0 B, net i/o: 2916/1745 B, files opened:0, socks opened:0 ]
user="YOURUSER" session="1560233829" request="897697" application="sap.com/logviewer~app" isapplicationthread="true" tid=0x00000006a8016800 nid=0x2de0 / 11744 runnable [_thread_in_native (_at_safepoint), stack(0x00000006cd2f0000,0x00000006cd4f0000)] [0x00000006cd4e9000]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I(Native Method)
at java.net.SocketInputStream.socketRead(Ljava/io/FileDescriptor;[BIII)I(SocketInputStream.java:116)
at java.net.SocketInputStream.read([BIII)I(SocketInputStream.java:171)
- additional info (remote: <hostname>/<yoursystemIP>:<yoursystemport>, local: localhost/127.0.0.1:<randomport>)
at java.net.SocketInputStream.read([BII)I(SocketInputStream.java:141)
- additional info (remote: <hostname>/<yoursystemIP>:<yoursystemport>, local: localhost/127.0.0.1:<randomport>)
at com.ibm.db2.jcc.t4.y.b(I)I(y.java:215)
at com.ibm.db2.jcc.t4.y.c(I)I(y.java:326)
at com.ibm.db2.jcc.t4.y.c()V(y.java:439)
at com.ibm.db2.jcc.t4.y.v()V(y.java:1207)
at com.ibm.db2.jcc.t4.ab.g(Lcom/ibm/db2/jcc/am/kn;)V(ab.java:104)
at com.ibm.db2.jcc.t4.p.f(Lcom/ibm/db2/jcc/am/kn;)V(p.java:87)
at com.ibm.db2.jcc.t4.b.readSetClientInfo_(Lcom/ibm/db2/jcc/am/eb;)V(b.java:3057)
at com.ibm.db2.jcc.am.eb.b(Lcom/ibm/db2/jcc/am/kh;)V(eb.java:73)
at com.ibm.db2.jcc.am.eg.b(Lcom/ibm/db2/jcc/am/kh;)V(eg.java:196)
at com.ibm.db2.jcc.am.Agent.readPiggybackCommands(Lcom/ibm/db2/jcc/am/kh;)V(Agent.java:628)
at com.ibm.db2.jcc.am.Agent.beginReadChain(Lcom/ibm/db2/jcc/am/kh;)V(Agent.java:374)
at com.ibm.db2.jcc.t4.a.beginReadChain(Lcom/ibm/db2/jcc/am/kh;)V(a.java:782)
at com.ibm.db2.jcc.am.Agent.flow(Lcom/ibm/db2/jcc/am/kh;)V(Agent.java:247)
at com.ibm.db2.jcc.am.ki.b(IZ)V(ki.java:4472)
at com.ibm.db2.jcc.am.ki.ba()Lcom/ibm/db2/jcc/am/ResultSet;(ki.java:768)
at com.ibm.db2.jcc.am.ki.executeQuery()Ljava/sql/ResultSet;(ki.java:733)
- locked <0x0000000601aaf2d8> (a com.ibm.db2.jcc.t4.b)
at com.sap.sql.jdbc.basic.BasicPreparedStatement.executeQuery()Ljava/sql/ResultSet;(BasicPreparedStatement.java:102)
at com.sap.sql.jdbc.db6.Db6PreparedStatement.executeQuery()Ljava/sql/ResultSet;(Db6PreparedStatement.java:46)
at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(Lcom/sap/sql/trace/TraceContext;)Ljava/sql/ResultSet;(DirectPreparedStatement.java:315)
at com.sap.sql.jdbc.common.CommonPreparedStatement.executeQuery()Ljava/sql/ResultSet;(CommonPreparedStatement.java:245)
at com.sap.engine.services.dbpool.wrappers.PreparedStatementWrapper.executeQuery()Ljava/sql/ResultSet;(PreparedStatementWrapper.java:379)
at com.sap.aii.logviewer.helper.LogViewerHelper.getAS2Logs(Ljava/lang/String;Ljava/lang/String;Ljava/util/Date;Ljava/util/Date;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;SLjava/lang/String;Ljava/lang/String;Ljava/lang/String;SLjava/lang/String;I)Ljava/util/List;(LogViewerHelper.java:199)
at com.sap.aii.logviewer.helper.LogViewerHelper.get(Ljava/lang/String;Ljava/lang/String;Ljava/util/Date;Ljava/util/Date;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;SLjava/lang/String;Ljava/lang/String;Ljava/lang/String;SLjava/lang/String;I)Ljava/util/List;(LogViewerHelper.java:96)
at com.sap.aii.logviewer.api.LogViewerApi.get(Ljava/lang/String;Ljava/lang/String;Ljava/util/Date;Ljava/util/Date;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;SLjava/lang/String;Ljava/lang/String;Ljava/lang/String;SLjava/lang/String;I)Ljava/util/List;(LogViewerApi.java:39)


Read more...

Environment

  • SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1 >= SP08
  • SAP NetWeaver 7.3 >= SP05
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5
  • SAP Process Integration, business-to-business add-on

Product

SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP NetWeaver Process Integration 7.1 ; SAP NetWeaver Process Integration, business-to-business add-on 1.0 ; SAP Process Integration 2.0, business-to-business add-on ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1

Keywords

Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, XI, AEX, B2B Add-on, B2B Integration Cockpit, B2B Log Viewer, Log Viewer, ADAPTER_LOG, LogViewerCleanJob, LogViewerHelper, LogViewerAPI, sap.com/logviewer~app, logviewer~app , KBA , BC-XI-CON-B2B , B2B - Connectivity , BC-XI-CON-B2B-ICP , B2B Integration Cockpit , Problem

About this page

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

Search for additional results

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