From: Philippe D. <phi...@ob...> - 2005-10-25 11:56:57
|
Philippe Durieux wrote: > Lofi Dewanto wrote: > >> <Philippe> >> In the case you woulkd use the new lock-policy CRW, available only in >> 4.6, the restriction are: >> - the shared flag must be set to false. >> - the entity bean must be CMP 2.x >> </Philippe> >> >> reading the answer of Philippe above, it seems we cannot use this >> lock-policy CRW in EB CMP 1.x... :-( Hmm... so my options now are: >> - Changing all EBs CMP 1.x into 2.x which will be a *huge* rework >> we cannot afford. >> - Restart every 2-3 hours which will "kill" openuss from the user's >> perspective. >> - Reinstall openuss 1.4 with JOnAS 3.x which did not have this problem. >> >> Very difficult situation... Any ideas? >> >> Thanks a lot! >> >> ------------------------------------------------------------------------ >> >> >> >> > As I told you before, you can have a try with policy CRU or DB. > Maybe they will solve your problems. > Philippe > > >------------------------------------------------------------------------ > > > > Ooops CRU is not a good idea. It requires CMP 2.x also. Try "database" instead. You can also try a newer version of JOnAS. YOu can also change transactional attributes for all methods of your entity beans that are "read-only" methods: just set them as "Supports" instead of "Required". Philippe |