cancel
Showing results for 
Search instead for 
Did you mean: 

"No adapter registered for this channel" Error in Communiation channel Monitoring for Sample Adapter

siddhardha_dnk
Active Participant
0 Kudos

Hi Experts,

I am trying to create a sample adapter in PI 7.1 with the help of SAP Note 1004000 and http://help.sap.com/saphelp_nwpi711/helpdata/en/69/e1e6667710415a9c331ec2e0715561/content.htm

I followed the steps as in link and created the ESR and ID stuff. While testing the respective Communication Channel in Communication Channel Monitoring im getting this error "No adapter registered for this channel".


I checked some posts in sdn and went through some trials like restarting Java EE Application in NWA, restarting PI Server, restarting Messaging Services in NWA, Cross checked the changes that to be done as in the link. But none of those solved the issue.

Please help me out on this. Your reply is highly appreciated.

Warm Regards,

DNK Siddhardha

Accepted Solutions (1)

Accepted Solutions (1)

siddhardha_dnk
Active Participant
0 Kudos

Hi All,

After all permutations and combinations, we found the reason for the error.

The version in ra.xml in META-INF, should be changed to 1.6 from 1.4. I think that's the version of JDK in PI Server to be mentioned. Now the status for my Communication Channel in Comm Channel Monitoring is "Up & Running".

Warm Regards,

DNK Siddhardha.

javier_alcubilla
Contributor
0 Kudos

Hi DNK Siddhardha

Could you provide the RAR and JAR files structures?

I'm a little bit missing and i don't know if my package is well generated

Thanks in advance

Regards

Javi

siddhardha_dnk
Active Participant
0 Kudos

Hi Javi,

These are some of the jar files used as far as I remember.

Warm Regards,

Siddhardha Datla.

javier_alcubilla
Contributor
0 Kudos

Thanks Siddharta.

i have the adapter running now, and i am beginning to dive in the code to customize it.

Any tip?

Which are the most important classes to modify?

Thanks for your support

kind Regards

Javi

Former Member
0 Kudos

Hello,

This property "version" is not related to jdk version you can check connector 1.0 dtd for your reference. This problem can occur if there is a mismatch between the "adapterNamespace" property in ra.xml and the namespace used in Enterprise Service Repository (by default it should be: http://sap.com/xi/XI/System).

From Oracle documentation connector 1.0 "version" property:

<!--

The element version specifies a string-based version of the

resource adapter from the resource adapter provider.

Used in: connector

Example:

  <version>1.0</version>

-->

Regards,

Tihomir Raychev

Answers (5)

Answers (5)

siddhardha_dnk
Active Participant
0 Kudos

Hi All,

While testing the sample adapter, I sent a test from Integration Engine and im getting the following error in Communication Channel Monitoring.

Message processing failed. Cause: java.lang.Exception: Cannot lookup the ra connectionFactory. Reason: Path to object does not exist at com.sap.aii.adapter.sample.ra, the whole lookup name is deployedAdapters/com.sap.aii.adapter.sample.ra/shareable/com.sap.aii.adapter.sample.ra.

In SampleRa.xml(Meta Data), I changed the JNDI name as per the document,

http://help.sap.com/saphelp_nwpi711/helpdata/en/b6/8ddaedaf1e40f7a76fd098a8ec5d53/content.htm

and also i changed JNDI name in "SPIManagedConnectionFactory.java" file, which is not mentioned in the document.

I tried all the permutations like keeping the same JNDI name in "SPIManagedConnectionFactory.java" and replacing with new one. Nothing worked.

Please help me out on this.

Warm Regards,

DNK Siddhardha.

nabendu_sen
Active Contributor
0 Kudos

Hi DNK,

Restart Messaging System Service and then Restart corresponding Adapter Type Service in NWA.

http://help.sap.com/saphelp_nwpi711/helpdata/en/45/213d7269707521e10000000a114a6b/content.htm

https://scn.sap.com/thread/1963778

siddhardha_dnk
Active Participant
0 Kudos

Hi Nabendu,

Thanks for your reply... I did the same earlier it self and i mentioned that in my query and its of no use.

Warm Regards,

DNK Siddhardha.

Former Member
0 Kudos

Hi Siddhardha,

Please check the metadata in ESR--> Adpater objects. also please check the step6 in the below provided url

http://help.sap.com/saphelp_nwpi711/helpdata/en/b6/8ddaedaf1e40f7a76fd098a8ec5d53/content.htm

Regards,

prasanth

siddhardha_dnk
Active Participant
0 Kudos

Hi Prasanth,

Thanks for your reply... I already double checked the changes to be done as of the document. I replace the JNDI name in Meta data as well. But still the same error in Comm. channel monitoring.

Warm Regards,

DNK Siddhardha.

Former Member
0 Kudos

Hi,

Please go through SAP Note 1579878.

Locate your adapter by following the the instructions in the note above and see if it's in a started state.

Regards, Trevor

siddhardha_dnk
Active Participant
0 Kudos

Hi Trevor,

Thanks for your reply... I have already gone through the note and checked that stuff in NWA. I mentioned the same in my query as well. But still the same error in Comm. channel monitoring.

Warm Regards,

DNK Siddhardha.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

We deploy all the adapters in the adapter engine (J2ee).  Please make sure whether adapter engine is running propery and try to restart the adapter and refresh the cpa cache.  You might also check with this link

http://scn.sap.com/thread/901125

Take help from BASIS.

siddhardha_dnk
Active Participant
0 Kudos

Hi Baskar,

Thanks for your reply...Im very much sure that the adapter engine is working perfectly. I forgot to mention in my query that i have already refreshed caches. But its of no use.

Warm Regards,

DNK Siddhardha.