|
From: Cameron B. <ca...@da...> - 2004-03-16 05:22:30
|
I have run into a similar problem - a very strange one at that. It is somehow linked to the org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator and = the org.springframework.transaction.interceptor.TransactionInterceptor and = the number of beans in the context. Though for me, it wasn't anything like 96 ! I have attached a dummy test with supporting dummy hibernate classes and mapping. All you should need is the hibernate and spring dependencies to run this test. There are 3 test methods. testDummy which passes testExtraDummy which fails=20 - all it does is add an extra dummy service bean to the end of the = context testEvenMoreDummiesWithoutAutoProxyCreator which passes - it removed the auto proxy creator and adds some more dummies to the = end I am not sure what conclusion you can draw from this test.. But it seems like incorrect behaviour to me. And - it is stopping one of my applications from working. Thanks Cameron > -----Original Message----- > From: spr...@li...=20 > [mailto:spr...@li...] > On Behalf Of j=FCrgen h=F6ller [werk3AT] > Sent: Saturday, 7 February 2004 3:41 AM > To: spr...@li... > Subject: RE: [Springframework-developer] Container Bean threshold? >=20 > Ross, >=20 > Any news on this front? I can't find anything that could=20 > cause such behavior. A stacktrace would be helpful, I guess :-) >=20 > Juergen >=20 >=20 > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] > On Behalf Of Ross Mason > Sent: Wednesday, February 04, 2004 3:44 AM > To: spr...@li... > Subject: [Springframework-developer] Container Bean threshold? >=20 >=20 > Hi guys, >=20 > I've just found some interesting behaviour in the spring=20 > container. If we have 96 beans in the container everything=20 > works fine, but if we add one more bean, say bean97, the=20 > container complains that there may be a circular reference=20 > even though I'm sure there isn't. But if we remove a=20 > different (and totally unrelated) bean and add our bean97=20 > bean it works fine. It seems the container has a bean=20 > threshold of 96?! >=20 > Basically, we cannot add any than 96 beans to the container. >=20 > Have you seen this behaviour before? >=20 > -- > Cheers, >=20 > Ross > http://blog.rossmason.com >=20 >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 Premiere=20 > Conference on Open Tools Development and Integration See the=20 > breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 >=20 > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 Premiere=20 > Conference on Open Tools Development and Integration See the=20 > breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 |