From: Markus K. <mar...@qu...> - 2005-10-25 12:02:20
|
Just once more, for those reading this thread later in the archive: =20 Do not make it common behaviour to use 'Supports' instead of 'Required'. = It is only a workaround for this problem. Actually it depends on your = use case (business behaviour) whether to use 'Supports' or 'Required'. = Using 'Supports' instead of 'Required' can break some use cases, since = it results in reading uncommitted data some times. Thus, business = behaviour is no more deterministic. The benefit you gain is that some = deadlocks might be away, and access time might be improved. =20 =20 =20 Mit freundlichem Gruss / With kind regards Markus KARG, Staatl. gepr. Inf. Entwicklung / R & D QUIPSY QUALITY GmbH ________________________________ Von: Philippe Durieux [mailto:phi...@ob...] Gesendet: Di 25.10.2005 13:56 An: jo...@ob... Cc: OpenUSS - Developer List Betreff: Re: [jonas] Error in JOnAS 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! >> >> = ------------------------------------------------------------------------ >> >> >>=20 >> > As I told you before, you can have a try with policy CRU or DB. > Maybe they will solve your problems. > Philippe > > >------------------------------------------------------------------------= > > >=20 > 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 |