cancel
Showing results for 
Search instead for 
Did you mean: 

Channel used with System Accessor in Java Mapping - Cache ?

helmut_skolaut3
Active Participant
0 Kudos

Hi all,

I am wondering about the behavior of channel changes. I have created a channel and for the start I used my user id / password for testing. All works fine. Now I have replaced the channel with a system user to work instead of my user, but it still takes my user, looks like the change of the channel is not taken into account at all, they SystemAccessor is using some cached information.

I am doing currently the tests in ESR from operational mapping.

Is there a way to refresh the cached channel?

Regards

   Helmut

Accepted Solutions (0)

Answers (4)

Answers (4)

helmut_skolaut3
Active Participant
0 Kudos

Hi all,

I already did a full cache refresh, but this was not solving the problem. Usually, when you activate a change list, the channel is automatically restarted, but nevertheless, I followed the suggestion from Mark and stopped/started the channel from RWB, without success. I then went to http://server:port/nwa/start-stop  --> Java Services --> XPI Service: AF Core and restarted that service. Not the nicested approach, but doable for a development system.

Regards    Helmut

markangelo_dihiansan
Active Contributor
0 Kudos

Well if that is the case, I think recreating the channel will also work

vadimklimov
Active Contributor
0 Kudos

Hello Helmut,

Just to cross-check that the CPA cache contains outdated version of the communication channel (with the wrong user), can you look into PIMON: Monitoring > Adapter Engine > Cache Monitor, find the communication channel in question, and check maintained user name there (on the tab 'Attributes')?

If it truly contains invalid user name, I would suggest checking:

  1. In Integration Directory, menu Environment > Cache Status Overview. Check if there were any failures for that communication channel during cache notification step. If so, what are details of the error?
  2. Check default traces and logs to see if there were any errors reported by server nodes during updated communication channel content request and distribution across server nodes (you may want to filter trace / log entries by date and time of the channel activation in Integration Directory).

Regards,

Vadim

helmut_skolaut3
Active Participant
0 Kudos

Hi Vadim,

the attributes tab do show in the "Adapter Engine" perspective the correct value with the new user. Nevertheless, the "Mapping Runtime" does not have such detailed information, it is only a list of channels. I am assuming the Java mapping is picking up the Mapping Runtime Cache, doesn't it?

Cache Status overview : all green! Nothing logged to default trace either.

Maybe it's only a problem when doing mapping tests in ESR?

Regards

   Helmut

mate_moricz
Advisor
Advisor
0 Kudos

Hi Helmut,

You should definitely try Mark's suggestion to restart the channel. When you restart that channel it should use the new user and clear the cache about its earlier setup. If not you should also check if the cache refreshes in your system are successful.

Regards,
Mate

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Helmut,

Try starting/stopping the channel in RWB.

Regards,

Mark