|
From: Matthew E. P. <mat...@me...> - 2004-06-10 15:40:49
|
Should the cglib file be renamed to cglib-2.0.1-mod.jar or something =20 else? Cheers, matthew On Jun 10, 2004, at 8:43 AM, Colin Sampaleanu wrote: > Shishir, > > You need to update to the cglib-2.0.1.jar that is currently checked =20= > into spring CVS. It is _not_ the same as the original cglib-2.0.1.jar =20= > or the one downloadable from the cglib project site. This jar is a =20 > snapshot of cglib head. The hope is that by the time Spring 1.0.3 is =20= > out, the cglib 2.0.2 will be as well, so there won't be confusion over = =20 > the name... > > > Shishir K. Singh wrote: > >> Hi, >> Seems that the new change to =20 >> "org.springframework.aop.framework.Cglib2AopProxy" ver 1.8 (build =20 >> 1.0.3) in cvs seems to have broken =20 >> net.sf.acegisecurity.intercept.method.MethodSecurityInterceptor (the =20= >> 0.51 release of ACEGI ). >> >> Craps out when instantiating the ProxyFactoryBean which has =20 >> MethodSecurityInterceptor as one of the interceptor. I am not =20 >> specifying the proxy Interfaces on the ProxyFactoryBean. >> >> This works fine with v 1.7 Cglib2AopProxy (release 1.0.2) >> >> >> The stack trace is attached. >> --------------------------------- >> >> Testcase: unknown took 0 sec >> Caused an ERROR >> Error creating bean with name 'helperSecurityManager' defined in =20 >> class path resource [junit/spring/spring-aceig.xml]: Initialization =20= >> of bean failed; nested exception is =20 >> org.aopalliance.aop.AspectException: null >> org.springframework.beans.factory.BeanCreationException: Error =20 >> creating bean with name 'helperSecurityManager' defined in class path = =20 >> resource [junit/spring/spring-aceig.xml]: Initialization of bean =20 >> failed; nested exception is org.aopalliance.aop.AspectException: null >> java.lang.IllegalStateException: Callback =20 >> Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to =20 >> Lnet/sf/cglib/proxy/MethodInterceptor; >> at net.sf.cglib.proxy.Enhancer.validate(Enhancer.java:374) >> at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:399) >> at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:318) >> at =20 >> = org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopPro=20= >> xy.java:170) >> at =20 >> = org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopPro=20= >> xy.java:135) >> at =20 >> = org.springframework.aop.framework.ProxyFactoryBean.getSingletonInstanc=20= >> e(ProxyFactoryBean.java:208) >> at =20 >> = org.springframework.aop.framework.ProxyFactoryBean.setBeanFactory(Prox=20= >> yFactoryBean.java:175) >> at =20 >> = org.springframework.beans.factory.support.AbstractAutowireCapableBeanF=20= >> actory.createBean(AbstractAutowireCapableBeanFactory.java:245) >> at =20 >> = org.springframework.beans.factory.support.AbstractAutowireCapableBeanF=20= >> actory.createBean(AbstractAutowireCapableBeanFactory.java:177) >> at =20 >> = org.springframework.beans.factory.support.AbstractBeanFactory.getBean(=20= >> AbstractBeanFactory.java:159) >> at =20 >> = org.springframework.beans.factory.support.DefaultListableBeanFactory.p=20= >> reInstantiateSingletons(DefaultListableBeanFactory.java:177) >> at =20 >> = org.springframework.context.support.AbstractApplicationContext.refresh=20= >> (AbstractApplicationContext.java:268) >> at =20 >> = org.springframework.context.support.ClassPathXmlApplicationContext.<in=20= >> it>(ClassPathXmlApplicationContext.java:68) >> at =20 >> = com.synapsistech.emars.logic.EmarsFrameworkSetup.setUp(EmarsFrameworkS=20= >> etup.java:32) >> at junit.extensions.TestSetup$1.protect(TestSetup.java:18) >> at junit.extensions.TestSetup.run(TestSetup.java:23) >> at =20 >> = org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalA=20= >> ntRunner.java:377) >> at =20 >> = org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(Internal=20= >> AntRunner.java:135) >> ---------------------------------- >> >> >> Thanks >> Shishir >> -----Original Message----- >> From: spr...@li... =20 >> [mailto:spr...@li...] On =20 >> Behalf Of j=FCrgen h=F6ller [werk3AT] >> Sent: Thursday, June 10, 2004 5:00 AM >> To: spr...@li... >> Subject: Re: [Springframework-developer] Latest Quartz in CVS >> >> Everything should be stable again (and completely backward =20 >> compatible), so feel free to give it a try! As far as I remember, the = =20 >> org/springframework/scheduling/quartz directory should be enough to =20= >> patch Spring 1.0.2. Let me know how it works out! >> Juergen >> >> ________________________________ >> >> Von: spr...@li... im Auftrag = =20 >> von Shishir K. Singh >> Gesendet: Do 10.06.2004 10:36 >> An: spr...@li... >> Betreff: [Springframework-developer] Latest Quartz in CVS >> >> >> >> Hi Juergen , >> >> Just wanted to know if I can start using the new changes for Quartz. = =20 >> I just want to get the scheduler directory. Are there any other files = =20 >> (outside of scheduler) that I would need to get, in order to use the = =20 >> latest quartz changes ? >> >> Thanks >> Shishir >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! =20= >> GUADEC: The world's #1 Open Source Desktop Event. >> GNOME Users and Developers European Conference, 28-30th June in =20 >> Norway http://2004/guadec.org =20 >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> = https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! =20= >> GUADEC: The world's #1 Open Source Desktop Event. >> GNOME Users and Developers European Conference, 28-30th June in =20 >> Norway http://2004/guadec.org =20 >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> = https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: GNOME Foundation >> Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. >> GNOME Users and Developers European Conference, 28-30th June in = Norway >> http://2004/guadec.org >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> = https://lists.sourceforge.net/lists/listinfo/springframework-developer >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |