SAP XI Error

Document ID : KB000089636
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
SAP XI Error
Resolution:
Detailed Description and Symptoms

When attempting to run a SAP XI type SAP job (ex.: Interface job which is SAP_PI in the object job template), this error message is received in the Agent log:

 

U2000132 JVM Memory usage: Heap=1.37%, Non-Heap=6.88% 20101020/105515.820 - U2004149 XI statements are not allowed

Solution

This could be caused by either of the following:

1) The SAP Agent could not bring up a Java Virtual Machine (U2004149 XI statements are not allowed).  To resolve this error message, add the path that includes the "jvm.dll" to the environment path (e.g. C:\Program Files (x86)\Java\jdk1.6.0_21\jre\bin\server).
2) When the SAP Agent starts, it gets all connection information from the CONN objects in Client 0000 (on the Agent object in Client 0000). A new connection (CONN) object for XI has to be created object in Client 0000 for XI. To create a new CONN object for XI, select the radio button for INTERNET instead of RFC (ABAP) on the new CONN object.  Next, choose the XI CONN object on the agent (process integration).
**PLEASE NOTE - If you need a connection object for RFC, then this means you will need two (ABAP + XI (process integration))**

 Finally, the SAP Agent needs to be restarted.  The messages in the Agent log after it has started should look similar to this:
 
 20101021/194450.103 - U2000106 Reading content of connection object 'CONN.R3.E47'.
 20101021/194450.123 - U2000107 Connection object 'CONN.R3.E47' with time stamp '1274171247000' was successfully transferred to the Agent.
 20101021/194450.124 - U2000106 Reading content of connection object 'CONN.R3.E47.XI'.
 20101021/194450.144 - U2000107 Connection object 'CONN.R3.E47.XI' with time stamp '1287682449000' was successfully transferred to the Agent.
 20101021/194450.148 - U2004165 Connection 'CONN.R3.E47' param 'rfcSnc_qop=0'
 20101021/194450.148 - U2004165 Connection 'CONN.R3.E47' param 'rfcSysnr=00'
 20101021/194450.149 - U2004165 Connection 'CONN.R3.E47' param 'biIpak_change=3'
 20101021/194450.149 - U2004165 Connection 'CONN.R3.E47' param 'rfcUserid=support'
 20101021/194450.150 - U2004165 Connection 'CONN.R3.E47' param 'biChains_parallel=0'
 20101021/194450.150 - U2004165 Connection 'CONN.R3.E47' param 'xalMTShortname=Background'
 20101021/194450.151 - U2004165 Connection 'CONN.R3.E47' param 'rfcSnc_mode=0'
 20101021/194450.151 - U2004165 Connection 'CONN.R3.E47' param 'xalMonitor=Syslog'
 20101021/194450.152 - U2004165 Connection 'CONN.R3.E47' param 'rfcPassword=<secret>'
 20101021/194450.152 - U2004165 Connection 'CONN.R3.E47' param 'xalVersion=0'
 20101021/194450.153 - U2004165 Connection 'CONN.R3.E47' param 'xbpVersion=0'
 20101021/194450.153 - U2004165 Connection 'CONN.R3.E47' param 'xalBackground_syslog=1'
 20101021/194450.153 - U2004165 Connection 'CONN.R3.E47' param 'biMaxruntime=0'
 20101021/194450.154 - U2004165 Connection 'CONN.R3.E47' param 'sbbEnabled=1'
 20101021/194450.154 - U2004165 Connection 'CONN.R3.E47' param 'rfcHostname=SWGSAP02'
 20101021/194450.155 - U2004165 Connection 'CONN.R3.E47' param 'xalMonitorSet=SAP CCMS Monitor Templates'
 20101021/194450.155 - U2004165 Connection 'CONN.R3.E47' param 'rfcSystem_name=E47'
 20101021/194450.156 - U2004165 Connection 'CONN.R3.E47' param 'xbpSteps=1'
 20101021/194450.156 - U2004165 Connection 'CONN.R3.E47' param 'rfcLanguage=en'
 20101021/194450.156 - U2004165 Connection 'CONN.R3.E47' param 'rfcUse_load_balancing=0'
 20101021/194450.157 - U2004165 Connection 'CONN.R3.E47' param 'rfcClient=22'
 20101021/194450.157 - U2004165 Connection 'CONN.R3.E47' param 'xbpAuditlevel=0'
 20101021/194450.159 - U2004999 Max. Number of RFC Connections: 'UNLIMITED'
 20101021/194450.417 - RfcOpenEx CLIENT=22 USER=SUPPORT PASSWD=<secret> LANG=en ASHOST=SWGSAP02 SYSNR=00 --> HANDLE=3
 20101021/194450.418 - U2004998 Number of open RFC Connections: '1'
 20101021/194450.539 - U2004165 Connection 'CONN.R3.E47.XI' param 'rfcSysnr=00'
 20101021/194450.540 - U2004165 Connection 'CONN.R3.E47.XI' param 'biIpak_change=3'
 20101021/194450.540 - U2004165 Connection 'CONN.R3.E47.XI' param 'rfcUserid=support'
 20101021/194450.541 - U2004165 Connection 'CONN.R3.E47.XI' param 'biChains_parallel=0'
 20101021/194450.541 - U2004165 Connection 'CONN.R3.E47.XI' param 'xalMTShortname=Background'
 20101021/194450.541 - U2004165 Connection 'CONN.R3.E47.XI' param 'rfcSnc_mode=0'
 20101021/194450.542 - U2004165 Connection 'CONN.R3.E47.XI' param 'xalMonitor=Syslog'
 20101021/194450.542 - U2004165 Connection 'CONN.R3.E47.XI' param 'rfcPassword=<secret>'
 20101021/194450.543 - U2004165 Connection 'CONN.R3.E47.XI' param 'xalVersion=0'
 20101021/194450.543 - U2004165 Connection 'CONN.R3.E47.XI' param 'xbpVersion=0'
 20101021/194450.544 - U2004165 Connection 'CONN.R3.E47.XI' param 'xalBackground_syslog=1'
 20101021/194450.544 - U2004165 Connection 'CONN.R3.E47.XI' param 'biMaxruntime=0'
 20101021/194450.544 - U2004165 Connection 'CONN.R3.E47.XI' param 'sbbEnabled=1'
 20101021/194450.545 - U2004165 Connection 'CONN.R3.E47.XI' param 'rfcHostname=SWGSAP02'
 20101021/194450.545 - U2004165 Connection 'CONN.R3.E47.XI' param 'xalMonitorSet=SAP CCMS Monitor Templates'
 20101021/194450.546 - U2004165 Connection 'CONN.R3.E47.XI' param 'rfcSystem_name=E47'
 20101021/194450.546 - U2004165 Connection 'CONN.R3.E47.XI' param 'xbpSteps=1'
 20101021/194450.547 - U2004165 Connection 'CONN.R3.E47.XI' param 'rfcLanguage=en'
 20101021/194450.547 - U2004165 Connection 'CONN.R3.E47.XI' param 'rfcUse_load_balancing=0'
 20101021/194450.547 - U2004165 Connection 'CONN.R3.E47.XI' param 'rfcClient=22'
 20101021/194450.548 - U2004165 Connection 'CONN.R3.E47.XI' param 'xbpAuditlevel=0'
 20101021/194450.548 - U2004165 Connection 'CONN.R3.E47.XI' param 'rfcSnc_qop=0'
 20101021/194450.549 - U2004165 Connection 'CONN.R3.E47.XI' param 'httpUrl=xxx'
 20101021/194450.549 - U2004165 Connection 'CONN.R3.E47.XI' param 'httpUserid=xx'
 20101021/194450.549 - U2004165 Connection 'CONN.R3.E47.XI' param 'httpPassword=<secret>'