Graham Lounder wrote:

Hello, Since I upgraded commons-lang to version 2.0 (due to the
"display" taglib requiring it), OJB (1.0rc4) always throws a
OutOfMemoryError when calling getCollectionByQuery() on the
defaultPersistenceBroker:

Check if the cache-class in OJB.properties is set to empty or per-broker-cache. This can lead to java.lang.OutOfMemoryError if there are circular auto-retrieve references in the repository. ObjectCacheDefaultImpl can cope with this beacuse of it's static/global cache and would not reveal this mapping problem.


Regards,
 Martin

--
Martin Kal�n
Curalia AB              Web:  http://www.curalia.se
Orrspelsv�gen 2B        Mail: [EMAIL PROTECTED]
SE-182 79  Stocksund    Tel:  +46-8-410 064 40


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to