cancel
Showing results for 
Search instead for 
Did you mean: 

PI MDM Adapter Error - MDM port not found

Former Member
0 Kudos

We are working on an R/3 - PI - MDM scenario using the PI MDM Adapter. We are currently encountering the following errors.

In RWB - Communication Channel Monitoring

MDM Adapter listener could not start due to: Can not create repository session '<server=XXXXXXXX serverUser=Admin repository=Product user=Admin>' caused by: Connection Failed: Cannot create connection to MDM Server 'XXXXXXXX' for one of the following reasons: (1) server does not exist, (2) server is not started, or (3) input/output problem while creating connection, error code: UnknownServer

In RWB - Message Monitoring

2009-09-08 15:31:22 Error Message could not be forwarded permantely to the JCA adapter. Reason: System error: MDM port not found

2009-09-08 15:31:22 Error Message could not be forwarded to the JCA adapter. Reason: Permanent error: Adapter call failed. Reason: com.sap.aii.af.lib.ra.cci.XIAdapterException: System error: MDM port not found

2009-09-08 15:31:22 Error Adapter Framework caught exception: System error: MDM port not found

2009-09-08 15:31:22 Error Delivering the message to the application using connection MDM_http://sap.com/xi/MDMAdapter failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.lib.ra.cci.XIAdapterException: System error: MDM port not found.

Is there an issue with our receiver communication channel and the MDM Access Parameters? We are using the Port code and Remote System code provided by the MDM team.

Anyone experience this same issue?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Our BASIS team installed EHP 1 on both PI and MDM, and then got them both to SP 3. After that, we were able to successfully connect PI and MDM via the PI MDM Adapter and no longer ran into the MDM Port not found errors. I haven't confirmed precisely with the BASIS team, but I believe the bottom line root cause was that PI and MDM were on different SP levels.

Former Member
0 Kudos

We are no longer seeing the MDM Port Not found error, but we are still seeing the UnknownServer error. Looking at RWB Message Monitoring it appears that the message is successfully sent to the MDM server, but nothing is coming into the Ready folder. Any ideas on where the message is going, and why it is not showing up in the Ready folder?

In RWB - Communication Channel Monitoring

MDM Adapter listener could not start due to: Can not create repository session '<server=XXXXXXXX serverUser=Admin repository=Product user=Admin>' caused by: Connection Failed: Cannot create connection to MDM Server 'XXXXXXXX' for one of the following reasons: (1) server does not exist, (2) server is not started, or (3) input/output problem while creating connection, error code: UnknownServer

In RWB - Message Monitoring

2009-09-11 14:04:15 Information The message was successfully received by the messaging system. Protocol: XI URL: http: //XXXXXXXX/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER

2009-09-11 14:04:15 Information Using connection MDM_http ://sap.com/xi/MDMAdapter. Trying to put the message into the receive queue.

2009-09-11 14:04:15 Information Message successfully put into the queue.

2009-09-11 14:04:15 Information The message was successfully retrieved from the receive queue.

2009-09-11 14:04:15 Information The message status was set to DLNG.

2009-09-11 14:04:15 Information Delivering to channel: MDS_TEST_CC

2009-09-11 14:04:15 Information The message was successfully delivered to the application using connection MDM_http ://sap.com/xi/MDMAdapter.

2009-09-11 14:04:15 Information The message status was set to DLVD.

I thought the implementation of the MDM Adapter was suppose to be straightforward and simple

Edited by: Chris Williar on Sep 11, 2009 9:56 PM

Former Member
0 Kudos

Hi Chris,

Now I am confused. YOu said you are uisng MDM adapter in PI. If you use mdm adapter in pi then how will you get the file in MDM ready folder, becaue you are not writing the file. You are directly loading the file in MDM repository. So please make sure your port is automatic and when you send check in the repository whether the data is tehre or not. Please check this document on how to configure the mdm adapter (page 15). Also see page 20 there are few troubleshooting steps for this integration.

https://websmp110.sap-ag.de/~sapidb/011000358700001890482008E

If you are not using mdm adapter then you will use pi file receiver communication cahnnel with file adapter and then you write the file in Ready folder. From there mdm will pick the file from ready folder.

So please confirm yourself. Please give the paramters you are mentioning in pi receiver communication channel so taht we can understand whether you are using file or mdm adapter in pi.

Regards,

---Satish

Former Member
0 Kudos

Hi Satish,

Yes we are using the PI MDM Adapter. I did not see any where in the PI Adapter Guide or in any other documentation that the port must be set to automatic. So when using the PI MDM Adapter you cannot manually import the data? The port functions automatically attempt to load the data if no exceptions are encountered?

Former Member
0 Kudos

We received the same results with the port set to automatic. Is there somewhere the MDM team should look? I think they are looking in the Import Manager, but if it doesn't output a file, where should they look? Sorry I'm not overly familiar with MDM.

Former Member
0 Kudos

Hi Chris,

You are absolutely correct. You dont need to have automatic at all times. Even you can process manually from the folder.

Your errror states: MDM Adapter listener could not start due to: Can not create repository session '<server=XXXXXXXX serverUser=Admin repository=Product user=Admin>' caused by: Connection Failed: Cannot create connection to MDM Server 'XXXXXXXX' for one of the following reasons: (1) server does not exist, (2) server is not started, or (3) input/output problem while creating connection, error code: UnknownServer

There is some problem in connecting to the repository from XI. Probably necessary authorizations might be missing. Just a guess. Best thing would be create a file receiver communication cahnnel and specify the ready path folder in directory and try to write the file to this directory and see. Please ask the basis user to add sapservice<sid> and <sid>adm users to that directory because these are the users at OS level which are tryign to write to that folder.

Regards,

---Satish

Former Member
0 Kudos

Hi Chris,

> The error says: MDM port not found

Please check with MDM guys once again whether the port they have given has connected in MDM console or not. Also ask them to put to automatic in MDM Console so that as soon as you send it loads automatically.

Regards,

---Satish

agasthuri_doss
Active Contributor
0 Kudos

Chris,

>Port code and Remote System code provided by the MDM team.

Check whether any Security Parameters blocks & also verify with the MDA team - Port code

Cheers

Agasthuri