Skip to Content
0
Former Member
Apr 25, 2004 at 09:44 PM

Problems with RFC-Adapter

36 Views

Hello,

I have a problem to start the XI 2.0 RFC-Adapter. I have configured the batchfile run_adapter with the assigment of the java classes servlet.jar and sapjco.jar.

run_adapter.bat

===============

java -Xmx128m -classpath aii_msg_adapter.jar;aii_msg_runtime.jar;aii_rfcadapter.jar;aii_util_misc.jar;aii_util_grmg.jar;inqmyxml.jar;logging.jar;lcrclient.jar;tc_sec_core.jar;tc_sec_api.jar;jms.jar;C:\usr\sap\HXI\DVEBMGS00\j2ee\cluster\server\additional-lib\sapjco.jar;C:\usr\sap\HXI\DVEBMGS00\j2ee\cluster\server\additional-lib\servlet.jar;%CLASSPATH% com.sap.aii.messaging.adapter.AdapterImpl

But I still receive an error message (start of RFC adapter fails). This is the logfile of my RFC-Adapter:

>>RfcAdapter> Sun Apr 25 23:36:38 CEST 2004>>

> RFC Adapter version: 1.1.0002, build: 20030203.145331

>>RfcAdapter> Sun Apr 25 23:36:38 CEST 2004>>

> RFC Adapter platform:

> java.runtime.name == Java(TM) 2 Runtime Environment, Standard Edition

> sun.boot.library.path == C:\Program Files\JavaSoft\JRE\1.3.1_09\bin

> java.vm.version == 1.3.1_09-b03

> java.vm.vendor == Sun Microsystems Inc.

> java.vendor.url == http://java.sun.com/

> path.separator == ;

> java.vm.name == Java HotSpot(TM) Client VM

> file.encoding.pkg == sun.io

> java.vm.specification.name == Java Virtual Machine Specification

> user.dir == C:\usr\sap\HXI\SYS\global\tech_adapter

> java.runtime.version == 1.3.1_09-b03

> java.awt.graphicsenv == sun.awt.Win32GraphicsEnvironment

> os.arch == x86

> java.io.tmpdir == C:\DOCUME1\KWegener\LOCALS1\Temp\1\

> line.separator ==

> java.vm.specification.vendor == Sun Microsystems Inc.

> java.awt.fonts ==

> os.name == Windows 2000

> java.library.path == C:\WINNT\system32;.;C:\WINNT\System32;C:\WINNT;C:\sapd

> b\programs\bin;C:\sapdb\programs\pgm;C:\WINNT\system32;C:\WINNT;C:\WINNT\Sy

> stem32\Wbem;C:\jdk1.3.1_09\bin;C:\jdk1.3.1_09;c:\usr\sap\HXI\sys\exe\run

> javax.xml.parsers.SAXParserFactory == com.inqmy.lib.jaxp.SAXParserFactoryIm

> pl

> java.specification.name == Java Platform API Specification

> java.class.version == 47.0

> os.version == 5.0

> user.home == C:\Documents and Settings\KWegener

> user.timezone == Europe/Berlin

> java.awt.printerjob == sun.awt.windows.WPrinterJob

> file.encoding == Cp1252

> javax.xml.transform.TransformerFactory == com.inqmy.lib.jaxp.TransformerFac

> toryImpl

> java.specification.version == 1.3

> user.name == KWegener

> java.class.path == aii_msg_adapter.jar;aii_msg_runtime.jar;aii_rfcadapter.j

> ar;aii_util_misc.jar;aii_util_grmg.jar;inqmyxml.jar;logging.jar;lcrclient.j

> ar;tc_sec_core.jar;tc_sec_api.jar;jms.jar;C:\usr\sap\HXI\DVEBMGS00\j2ee\clu

> ster\server\additional-lib\sapjco.jar;C:\usr\sap\HXI\DVEBMGS00\j2ee\cluster

> \server\additional-lib\servlet.jar;

> java.vm.specification.version == 1.0

> java.home == C:\Program Files\JavaSoft\JRE\1.3.1_09

> user.language == en

> java.specification.vendor == Sun Microsystems Inc.

> awt.toolkit == sun.awt.windows.WToolkit

> java.vm.info == mixed mode

> java.version == 1.3.1_09

> java.ext.dirs == C:\Program Files\JavaSoft\JRE\1.3.1_09\lib\ext

> sun.boot.class.path == C:\Program Files\JavaSoft\JRE\1.3.1_09\lib\rt.jar;C:

> \Program Files\JavaSoft\JRE\1.3.1_09\lib\i18n.jar;C:\Program Files\JavaSoft

> \JRE\1.3.1_09\lib\sunrsasign.jar;C:\Program Files\JavaSoft\JRE\1.3.1_09\cla

> sses

> java.vendor == Sun Microsystems Inc.

> file.separator == \

> java.vendor.url.bug == http://java.sun.com/cgi-bin/bugreport.cgi

> sun.cpu.endian == little

> sun.io.unicode.encoding == UnicodeLittle

> user.region == US

> sun.cpu.isalist == pentium i486 i386

>>RfcAdapter> Sun Apr 25 23:36:38 CEST 2004>>

> starting initialization...

>>RfcAdapter> Sun Apr 25 23:36:38 CEST 2004>>

> cannot initialize client manager

> exception occurred, detail:

> java.lang.NoClassDefFoundError

java.lang.NoClassDefFoundError

at com.sap.aii.rfcadapter.core.RfcAdapterClientManager.createRepository(Unknown Source)

at com.sap.aii.rfcadapter.core.RfcAdapterClientManager.addClientGroup(Unknown Source)

at com.sap.aii.rfcadapter.core.RfcAdapterClientManager.initClients(Unknown Source)

at com.sap.aii.rfcadapter.core.RfcAdapterClientManager.init(Unknown Source)

at com.sap.aii.rfcadapter.core.RfcAdapter.initAdapter(Unknown Source)

at com.sap.aii.rfcadapter.core.RfcAdapterModule.start(Unknown Source)

at com.sap.aii.messaging.adapter.ModuleHandlerImpl.run(ModuleHandlerImpl.java:565)

at java.lang.Thread.run(Unknown Source)

>>RfcAdapter> Sun Apr 25 23:36:38 CEST 2004>>

> stopping RFC Adapter...

>>RfcAdapter> Sun Apr 25 23:36:38 CEST 2004>>

> RFC Adapter stopped

In the CLASSPATH of the WIN system of XI I have at the moment nothing set, because run_adapter.bat contains the correct path to the classes servlet.jar and sapjco.jar.

Is maybe the configuration file of the RFC adapter wrong?

I'm still not sure with the wording and usage of "sourceBackend" ???

RfcAdapter.registerInbound=sourceBackend_EB4

RfcAdapter.sourceBackendEB4.host=hsebp401

RfcAdapter.sourceBackendEB4.sysnr=00

RfcAdapter.sourceBackendEB4.progid=Rfc2XmbService

  1. -> recommended is: RfcAdapter.sourceBackend.progid=Rfc2XmbService

RfcAdapter.sourceBackendEB4.poolsize=2

RfcAdapter.sourceBackendEB4.unicode=0

  1. -> source system is Unicode installation (1) or not (0)

RfcAdapter.sourceBackendEB4.client=200

RfcAdapter.sourceBackendEB4.user=XIAPPLUSER

RfcAdapter.sourceBackendEB4.passwd=XIPASS

RfcAdapter.sourceBackendEB4.lang=DE

RfcAdapter.sourceBackendEB4.trace=1

Does someone can help me?

Thanks in advance

Klaus