1 May 2010 07:09
Re: Large number of EventManager threads causing OutOfMemoryException
Andrus Adamchik <andrus <at> objectstyle.org>
2010-05-01 05:09:28 GMT
2010-05-01 05:09:28 GMT
I don't think running things on the same server vs. separate server is an issue. Hw is your business tier implemented though? Is that an EJB or a web app? Something in its lifecycle makes Cayenne start multiple times and this is what you need to figure out. Andrus On Apr 30, 2010, at 11:14 AM, Victor Leung wrote: > Hi Andrus, > > Thank you for your prompt and insightful reply! > > Looking through the thread dumps as suggested, it definitely seems > like we > are starting multiple Cayenne stacks / EventManagers -- on point > (1), the > number after the last dash is rather low, and on point (2), the > address of > the lock are pretty much all different. > > In our current test environment (where the problem is occurring), we > have > deployed both the web tier and the business tier as separate EARs on > the > same server. As mentioned earlier, communication between the two > tiers is > through the use of Cayenne Web Service. Is this a supported > configuration, > or do we need to deploy the two EARs on separate servers?(Continue reading)
RSS Feed