|
From: Shishir K. S. <sk...@sy...> - 2004-06-10 16:22:45
|
Thanks, That works. =20 -----Original Message----- From: spr...@li... = [mailto:spr...@li...] On Behalf = Of Colin Sampaleanu Sent: Thursday, June 10, 2004 9:43 AM To: spr...@li...; = ace...@li... Subject: Re: [Springframework-developer] Cglib2AopProxy Shishir, You need to update to the cglib-2.0.1.jar that is currently checked into = spring CVS. It is _not_ the same as the original cglib-2.0.1.jar or the = one downloadable from the cglib project site. This jar is a snapshot of = cglib head. The hope is that by the time Spring 1.0.3 is out, the cglib 2.0.2 will be as well, so there won't be confusion over the name... Shishir K. Singh wrote: >Hi, > >Seems that the new change to = "org.springframework.aop.framework.Cglib2AopProxy" ver 1.8 (build 1.0.3) = in cvs seems to have broken = net.sf.acegisecurity.intercept.method.MethodSecurityInterceptor (the = 0.51 release of ACEGI ). > >Craps out when instantiating the ProxyFactoryBean which has = MethodSecurityInterceptor as one of the interceptor. I am not 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 class=20 >path resource [junit/spring/spring-aceig.xml]: Initialization of bean=20 >failed; nested exception is org.aopalliance.aop.AspectException: null >org.springframework.beans.factory.BeanCreationException: Error creating = >bean with name 'helperSecurityManager' defined in class path resource=20 >[junit/spring/spring-aceig.xml]: Initialization of bean failed; nested=20 >exception is org.aopalliance.aop.AspectException: null >java.lang.IllegalStateException: Callback = Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to = 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 = org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.= java:170) > at = org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.= java:135) > at = org.springframework.aop.framework.ProxyFactoryBean.getSingletonInstance(P= roxyFactoryBean.java:208) > at = org.springframework.aop.framework.ProxyFactoryBean.setBeanFactory(ProxyFa= ctoryBean.java:175) > at = org.springframework.beans.factory.support.AbstractAutowireCapableBeanFact= ory.createBean(AbstractAutowireCapableBeanFactory.java:245) > at = org.springframework.beans.factory.support.AbstractAutowireCapableBeanFact= ory.createBean(AbstractAutowireCapableBeanFactory.java:177) > at = org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abs= tractBeanFactory.java:159) > at = org.springframework.beans.factory.support.DefaultListableBeanFactory.preI= nstantiateSingletons(DefaultListableBeanFactory.java:177) > at = org.springframework.context.support.AbstractApplicationContext.refresh(Ab= stractApplicationContext.java:268) > at = org.springframework.context.support.ClassPathXmlApplicationContext.<init>= (ClassPathXmlApplicationContext.java:68) > at = com.synapsistech.emars.logic.EmarsFrameworkSetup.setUp(EmarsFrameworkSetu= p.java:32) > at junit.extensions.TestSetup$1.protect(TestSetup.java:18) > at junit.extensions.TestSetup.run(TestSetup.java:23) > at = org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntR= unner.java:377) > at=20 >org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalA >ntRunner.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 compatible), = so feel free to give it a try! As far as I remember, the = org/springframework/scheduling/quartz directory should be enough to = patch Spring 1.0.2. Let me know how it works out! >=20 >Juergen >=20 > >________________________________ > >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. I = just want to get the scheduler directory. Are there any other files = (outside of scheduler) that I would need to get, in order to use the = latest quartz changes ? > >Thanks >Shishir > > >------------------------------------------------------- >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=20 >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=20 >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! =20 >GUADEC: The world's #1 Open Source Desktop Event. >GNOME Users and Developers European Conference, 28-30th June in Norway=20 >http://2004/guadec.org _______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > =20 > ------------------------------------------------------- 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 |