cancel
Showing results for 
Search instead for 
Did you mean: 

MDM Java API -> Instance restart required when modifying repository ???

0 Kudos

We are using:

MDM v7.1 SP05

Java API

Anytime we modify the Repository on MDM we are using, it is not accesible to the MDM API until after we restart the Java Instance we are on. (CE 7.2)

I assume there is some sort of caching going on. Is anyone aware of any ohter way to refresh the MDM API Cache?

thanks,

Paul

Accepted Solutions (1)

Accepted Solutions (1)

cweissheimer
Advisor
Advisor
0 Kudos

You might try using the MDM Java API Reset tool, described on note 1448570.

BR,

Carlos

Answers (4)

Answers (4)

0 Kudos

I have solved the problem by using the command:

MetadataManager.getInstance().registerRepositoryNotifications()

thanks for all your help.

Former Member
0 Kudos

as you said everytime the repo loads - the cache is updated - if theres any change

the connector needs to be refreshed (new connection) from code - and this is how it works , not a bug

thanks

-Adrivit

Former Member
0 Kudos

Hello Paul

If you just start -stop(than modify) repository - API will work fine.

But if you used portal content - and you change repository structure you should make changes in portal content too.

Regrds

Kanstantsin Chernichenka

Former Member
0 Kudos

Hello Paul,

Are you using custom Java application or SAP WebDynpro / Portal content?

0 Kudos

It is a Custom Development Java Application. No Portal Content. let me restate my issue....its not that the API does not work, its jsut it cannot see the new objects that were added/modified.

Edited by: Paul Mazeika on Feb 9, 2011 3:18 PM