cancel
Showing results for 
Search instead for 
Did you mean: 

Plain J2SE Adapter Engine

Former Member
0 Kudos

Sap Guru's

I'm trying to configure an adapter to recieve text files out of a specified directory and integrate and convert them into a single xml file, with no further processing.

I get the following log:

          • Mon Oct 24 01:02:22 GMT-08:00 2005 *****

01:02:22 (4012): "Guaranteed Delivery" operation for 2 file(s) pending

01:02:22 (4023): File adapter initialized successfully

01:02:22 (4007): File adapter started

01:02:22 (4051): Process 1 file(s):

01:02:22 : c:\XItext\myfile.txt

01:02:22 (4052): Start processing "TXT" file "c:\XItext\myfile.txt" size 38 in "EO mode

01:02:22 (4062): Sending text message "6b29c560-446b-11da-be97-e3950a0a0222" type "application/xml" to Integration Engine... (message size: 38 bytes, URL: "http://cic040.cice.cic.ae:50000/sap/xi/engine?sap-client=000")

01:02:23 (4076): ERROR: Finished sending to Integration Engine with error "java.net.ConnectException: Connection refused: connect". Skip confirmation and quit this loop

01:02:23 (4064): File adapter processing complete

My target url is XI.TargetURL=http://cic040.cice.cic.ae:50000/sap/xi/engine?sap-client=000 ....

i have activated the adapter_plain in SICF..

Is this because i need to configure the adapter_plain and/or a pipleine URL and if so how do I configure them and check they're fine????

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Yasir,

The XI.TargetURL is used to establish a connection between the Plain J2SE Adapter Engine and the Integration Server. The nomenclature of the above is followed as: http://<xiserver>:<httpport>/sap/xi/engine/type=entry.

In your configuration, replace <b>sap-client=000 ....</b> with <b>type=entry</b>. The appropriate client would be resolved during the runtime, using the server name.

Regards, Sreenivas.

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear Hans;

Thanks for you're help i changed the port to 8000 but i got a different error...

07:00:19 (4076): ERROR: Finished sending to Integration Engine with error "com.sap.aii.messaging.net.TransportException: HTTP 500 Pipeline specified in URL attribute (type) not existing

http-Response:

set-cookie: sap-usercontext=sap-client=000; path=/

content-type: text/xml

content-length: 985

content-id: <soap-2F11DA4F188D704DB42F252DC292E04C@sap.com>

soapaction: 'http://sap.com/xi/XI/Message/30'

server: SAP Web Application Server (1.0;640)

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Header>

</SOAP:Header>

<SOAP:Body>

<SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Pipeline specified in URL attribute (type) not existing</faultstring><faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="MESSAGE">URL_PIPELINE_NOT_FOUND</SAP:Code><SAP:P1>/sap/xi/engine?sap-client=000</SAP:P1><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>Pipeline ID which is expected as value of attribute &quot;type&quot; in the URL, does not exist in the Integration Engine (URL = /sap/xi/engine?sap-client=000)

</SAP:Stack></SAP:Error></detail></SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

". Skip confirmation and quit this loop

07:00:19 (4064): File adapter processing complete

I went to transaction SXMB_ADM but i can't seem to find a way to configure the pipeline id...

Also when i try to check the integration engine configuration the system tells me that its not configured yet....

2 Questions:

1. Do i need to configure the integration engine as im not using it for any kind of processing?

2. Given the error in the above log is it a pipeline configuration error and how do i solve it???

Thanks alot for youre help

Former Member
0 Kudos

Hi,

the pipeline URL is incorrect. It should use the ICM rather than the J2EE port. Check transaction SMICM and press SHIFT+F1 for details - the default port is 8000.

Regards,

HC

Former Member
0 Kudos

Hi Yasir,

The schema followed in defining the Target URL needs some corrections. In case of Receiver File Adapters, the target URL is an alternate way of defining the folder structure. So, redefine the URL, representing your folder structure. This is again a relative structure to the XI default folder. If you intend to place the file in a different folder or different system, define XI.TargetDirectory rather than XI.TargetURL and specify the exact(fully qualified) path.

Regards, Sreenivas.