cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.11 - LookupException

michael_buchli
Participant
0 Kudos

Hi,

I'm using a RFC Lookup in a Java Mapping. In PI 7.0 it was working fine. Now we use the Mapping in our PI 7.11 Testsystem and I get following LookupException:

...
The channel with object ID bde7c594d5023c38913437978a558708 could not be found in the Integration Server Java Cache. Check if the channel exists in the Integration Builder Directory and execute a refresh of the Java Cache...

The Channel name and Business Service Name are correct. If I look in the Integration Builder, my Communication Channel has a different ID as the one above in the exception.

I did a complete restart, the error afterwards was all the same. How can I refresh the cache for the ID's?

Thanks in advance

Michael

Edited by: Michael Buchli on Aug 9, 2010 9:52 AM

As i invoked a Cache Update for the Communication Channel in Edit-CacheUpdate in Integration Builder, i got following message:

Content of object 'Communication Channel * | BS_... | CC_IN_RFC... (DirContext)' on selected cache instance does not match the content of the object in the Integration Directory; the cache instance has not been informed of the change

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

Make sure that your channel does not have a star (*) as party.

RFC channels do not work, when the party is *.

michael_buchli
Participant
0 Kudos

Thanks!

That was the solution for the problem!

Without the star (*) in the party field it works!

A last question: which is the best source of Java knowledge according SAP PI (not general Java)?

Cheers

Michael

stefan_grube
Active Contributor
0 Kudos

> A last question: which is the best source of Java knowledge according SAP PI (not general Java)?

Is this what you are looking for?

http://help.sap.com/javadocs

henrique_pinto
Active Contributor
0 Kudos

>

> Make sure that your channel does not have a star (*) as party.

> RFC channels do not work, when the party is *.

For PI 7.1+, that is.

For PI 7.0, it worked just fine.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Michael,

Check the object ID are same or not. If so, then follow the below instruction:

1. check cache whether is Up-to-date using the trasaction code sxi_cache.

2. Do a cache refresh from the Integration Builder (Directory).

Ensure the things listed below:

1. RFC should be created and activated in the corresponding system.

2. The RFC channel to be used for the lookup must be configured and activated in the Integration Directory.

3. The definition of the RFC structure used for the lookup must be imported into the ESR.

Do any change and try to re-activate and check the functionality.

Thanks

michael_buchli
Participant
0 Kudos

Hi,

the Object ID's are different.

If I go to the Communication Channel Menu: Display Cache Status, there I have four lines:

Cache Instance:

line1: Unknown (Could Not Be Determined)

line2: Integration Server

line3: Central Adapter Engine

line4 Mapping Runtime Cache

Line2-4 i got also for my runnning Communication Channels.

If I invoke: Repeat Cache Update for Instance, I get following error:

Content of object 'Communication Channel * | BS_xxxx | CC_IN_RFC_xxxx (DirContext)' on selected cache instance does not match the content of the object in the Integration Directory; the cache instance has not been informed of the change

How can I invoke a cache refresh in the Integration Builder?

Former Member
0 Kudos

Hi,

Steps to invoke for a cache refresh.

1. Open the Integration Builder page.

2. Goto IR/ID.

3. Goto Environment.

4. Click on CLear SLD Data Cache.

5. Also u can check for the cache notifications.

Michael, Please check for the sWC (Object ID)created in SLD and the Object ID refering in the message.

The object ID refering in the SLD should be the same refering in the error message, else there might be wrong configuration.

Thanks,

michael_buchli
Participant
0 Kudos

Hi

I've refreshed all caches in the PI system and restartet it many times. Always with the same result:

The channel with object ID bde7c594d5023c38913437978a558708 could not be found in the Integration Server Java Cache. Check if the channel exists in the Integration Builder Directory and execute a refresh of the Java Cache.

I get the channel information with the Java method LookupService.getChannel() and when i print out the channel information into the trace, i got following:

CC_xy (Party: , Service: BS_xyz, Object ID: bde7c594d5023c38913437978a558708)

The exception will be thrown at LookupService.getRfcAccessor(channel).

1. The Business System is valid and works for several Integration Scenarios.

2. The Communication Channel is valid and works for several Integration Scenarios.

3. The Remote Bapi worked under PI 7.0 with the equal Java Mapping.

Any suggestion for further debuggings or traps?

Thanks

Michael

michael_buchli
Participant
0 Kudos

The problem is also the same, if I create a new Communication Channel.