|
From: Cameron B. <ca...@da...> - 2004-03-16 23:27:11
|
Ross, Yeah, I am receiving a Circular Refrence exception. The code that I had attached to the previos post contains everything = needed to see what is happening (except the jars for = spring/hibernate/hsqldb/junit) I will have a closer look to see if I actually DO have a CR. Thanks Cameron=20 > -----Original Message----- > From: spr...@li...=20 > [mailto:spr...@li...] > On Behalf Of Ross Mason > Sent: Wednesday, 17 March 2004 8:39 AM > To: spr...@li... > Subject: Re: [Springframework-developer] Container Bean threshold? >=20 > Hi Cameron, >=20 > What exception are you getting? We were getting a circular=20 > reference exception... FWIW We found that we did have a=20 > circular reference in our applicationContext but Spring=20 > didn't complain about it until we had had reached a certain=20 > bean threshold. Once we removed the CR the problem never=20 > occurred again. >=20 > Cheers, >=20 > Ross >=20 > Cameron Braid wrote: > > I have run into a similar problem - a very strange one at that. > >=20 > > It is somehow linked to the > >=20 > org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator=20 > > and the=20 > >=20 > org.springframework.transaction.interceptor.TransactionInterce > ptor and the number of beans in the context. > >=20 > > Though for me, it wasn't anything like 96 ! > >=20 > > I have attached a dummy test with supporting dummy=20 > hibernate classes=20 > > and mapping. > >=20 > > All you should need is the hibernate and spring dependencies to run=20 > > this test. > >=20 > > There are 3 test methods. > >=20 > > testDummy which passes > >=20 > > testExtraDummy which fails=20 > > - all it does is add an extra dummy service bean to the=20 > end of the=20 > > context > >=20 > > testEvenMoreDummiesWithoutAutoProxyCreator which passes > > - it removed the auto proxy creator and adds some more dummies to=20 > > the end > >=20 > > I am not sure what conclusion you can draw from this test.. But it=20 > > seems like incorrect behaviour to me. > >=20 > > And - it is stopping one of my applications from working. > >=20 > > Thanks > >=20 > > Cameron > >=20 > >=20 > >>-----Original Message----- > >>From: spr...@li... > >>[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? > >> > >>Ross, > >> > >>Any news on this front? I can't find anything that could cause such=20 > >>behavior. A stacktrace would be helpful, I guess :-) > >> > >>Juergen > >> > >> > >>-----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? > >> > >> > >>Hi guys, > >> > >>I've just found some interesting behaviour in the spring=20 > container. =20 > >>If we have 96 beans in the container everything works fine,=20 > but if we=20 > >>add one more bean, say bean97, the container complains that=20 > there may=20 > >>be a circular reference even though I'm sure there isn't. But if we=20 > >>remove a different (and totally unrelated) bean and add our bean97=20 > >>bean it works fine. It seems the container has a bean threshold of=20 > >>96?! > >> > >>Basically, we cannot add any than 96 beans to the container. > >> > >>Have you seen this behaviour before? > >> > >>-- > >>Cheers, > >> > >>Ross > >>http://blog.rossmason.com > >> > >> > >> > >> > >> > >> > >>------------------------------------------------------- > >>The SF.Net email is sponsored by EclipseCon 2004 Premiere=20 > Conference=20 > >>on Open Tools Development and Integration See the breadth=20 > of Eclipse=20 > >>activity. February 3-5 in Anaheim, CA. > >>http://www.eclipsecon.org/osdn > >>_______________________________________________ > >>Springframework-developer mailing list=20 > >>Spr...@li... > >>https://lists.sourceforge.net/lists/listinfo/springframework > -developer > >> > >> > >>------------------------------------------------------- > >>The SF.Net email is sponsored by EclipseCon 2004 Premiere=20 > Conference=20 > >>on Open Tools Development and Integration See the breadth=20 > of Eclipse=20 > >>activity. February 3-5 in Anaheim, CA. > >>http://www.eclipsecon.org/osdn > >>_______________________________________________ > >>Springframework-developer mailing list=20 > >>Spr...@li... > >>https://lists.sourceforge.net/lists/listinfo/springframework > -developer > >=20 > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials Free=20 > Linux tutorial presented by Daniel Robbins, President and CEO=20 > of GenToo technologies. Learn everything from fundamentals to=20 > system = administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=3Dick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 >=20 |