cancel
Showing results for 
Search instead for 
Did you mean: 

Gateway cache problem .. or is it something other?

kai2015
Contributor
0 Kudos

Hi community,

My problem: I can create a new service, but I can't update it. Changes can be saved and model class will be then updated. But when I call the metadata via http, the service returns just the old metadata.

So I tried cleanup caches everywhere, also I have read some discussions about cache like that:

But nothing works for me ...

Has somebody any idea how to resolve this?

Thanks!

kind regards,

Kai

Accepted Solutions (1)

Accepted Solutions (1)

AshwinDutt
Active Contributor
0 Kudos

Hello Kai,

Just Log off and login again into the system. Then manually Activate the Model Class ( MPC and MPC_EXT ) and check once.

May be you can just restart your GW system once and then check as well.

Sometimes performing above will solve the problem.

Not sure if it will solve the problem in your case may be you can just give a try.

Regards,

Ashwin

kai2015
Contributor
0 Kudos

Hi,

Thanks for the try.

I followed your instructions

- deactivate / activate Gateway

- ICM restart

- and logged off / logged on

But same problem, the old metadata is still loaded.

Can I delete the metadata cache manually? Where is it stored?

kind regards,

Kai

kammaje_cis
Active Contributor
0 Kudos

Now it does not seem to be problem with the cache. Can you tell me how did you update the metadata? Also the MPC_EXT class is active?

kai2015
Contributor
0 Kudos

Hi Krishna,

to update my model, I go to SEGW and i.e. I add one property to an entity. After this i generate the project. It updates the _MPC class. But the service still shows the old metadata, also in Gateway Client.

I can delete the whole content in _MPC, but the metadata shows still the old one ...

Kai

kai2015
Contributor
0 Kudos

Mh, I don't know why and what, but it seems so, that something was corrupted.

I deleted everything (service, model, classes, project, SPRO service/model registrations of that project).

And just created a new project. Now I don't have problems anymore.

But thanks for your help!

Thread Closed.

kammaje_cis
Active Contributor
0 Kudos

I guess something wrong in *MPC_EXT  define method. That might be stopping from *MPC define getting called.

Anyway good that problem got solved.

Answers (1)

Answers (1)

kammaje_cis
Active Contributor
0 Kudos

Kai,

- Cache at the browser

- Cache at Hub, /IWFND/CACHE_CLEANUP

- Cache at BEP, /IWBEP/CACHE_CLEANUP

Did you clear all the above three?

Then put an external breakpoint at *MPC_EXT->define() method when you fire the metadata call to check if the call reaches there.

kai2015
Contributor
0 Kudos

Hi,

yep, all those three.

Also:

- clean cache in service implementation

- load metadata in /IWFND/MAINT_SERVICE

- tried it after all clean ups on other clients

- disabled caching in gateway customizing

no, he doesn't jump to method define()