• Post Reply Bookmark Topic Watch Topic
  • New Topic

Cache Problem for CMP EJB lookup in ATG

 
Baseet Ahmed
Ranch Hand
Posts: 225
Java Notepad Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GM All!

The details are:
Java/Jdk 1.3
EJB 2.x
ATG Dynamo

---------------

Description:
We are having a CMP bean, which has methods for retrieving the records and updating the records based on primary key.
Problem is that:
If we start the server, and then do the transaction(i.e retrieving the record and after process, updating it) it works fine.
After that, if we do update at backend the same record and do commit,then next time it should take updated value.
But when we run the java program again(which internally calls our EJB) it uses old value of the record,despite having different record in the database(even after commit).
We have to go for Server Restart.


Seems to be cache problem of container.

Any helps in this regard to avoid such issue and to get the latest value from database.


Thank you
======
regards
Baseet Ahmed

 
Baseet Ahmed
Ranch Hand
Posts: 225
Java Notepad Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Salaam,

Does anyone interested to comment on my query below or give some suggestion on it ?




Thank you.
=======
Regards
Baseet Ahmed
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!