|
From: Colin S. <col...@ex...> - 2004-06-10 13:43:51
|
Shishir, You need to update to the cglib-2.0.1.jar that is currently checked into=20 spring CVS. It is _not_ the same as the original cglib-2.0.1.jar or the=20 one downloadable from the cglib project site. This jar is a snapshot of=20 cglib head. The hope is that by the time Spring 1.0.3 is out, the cglib=20 2.0.2 will be as well, so there won't be confusion over the name... Shishir K. Singh wrote: >Hi,=20 > >Seems that the new change to "org.springframework.aop.framework.Cglib2A= opProxy" ver 1.8 (build 1.0.3) in cvs seems to have broken net.sf.aceg= isecurity.intercept.method.MethodSecurityInterceptor (the 0.51 release of= ACEGI ). > >Craps out when instantiating the ProxyFactoryBean which has MethodSecuri= tyInterceptor as one of the interceptor. I am not specifying the proxy In= terfaces 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 p= ath resource [junit/spring/spring-aceig.xml]: Initialization of bean fail= ed; nested exception is org.aopalliance.aop.AspectException: null >org.springframework.beans.factory.BeanCreationException: Error creating = bean with name 'helperSecurityManager' defined in class path resource [ju= nit/spring/spring-aceig.xml]: Initialization of bean failed; nested excep= tion is org.aopalliance.aop.AspectException: null >java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInte= rceptor; 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(Cglib2AopP= roxy.java:170) > at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopP= roxy.java:135) > at org.springframework.aop.framework.ProxyFactoryBean.getSingletonInsta= nce(ProxyFactoryBean.java:208) > at org.springframework.aop.framework.ProxyFactoryBean.setBeanFactory(Pr= oxyFactoryBean.java:175) > at org.springframework.beans.factory.support.AbstractAutowireCapableBea= nFactory.createBean(AbstractAutowireCapableBeanFactory.java:245) > at org.springframework.beans.factory.support.AbstractAutowireCapableBea= nFactory.createBean(AbstractAutowireCapableBeanFactory.java:177) > at org.springframework.beans.factory.support.AbstractBeanFactory.getBea= n(AbstractBeanFactory.java:159) > at org.springframework.beans.factory.support.DefaultListableBeanFactory= .preInstantiateSingletons(DefaultListableBeanFactory.java:177) > at org.springframework.context.support.AbstractApplicationContext.refre= sh(AbstractApplicationContext.java:268) > at org.springframework.context.support.ClassPathXmlApplicationContext.<= init>(ClassPathXmlApplicationContext.java:68) > at com.synapsistech.emars.logic.EmarsFrameworkSetup.setUp(EmarsFramewor= kSetup.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(Interna= lAntRunner.java:377) > at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(Intern= alAntRunner.java:135) >---------------------------------- > > >Thanks >Shishir =20 > >-----Original Message----- >From: spr...@li... [mailto:spri= ngf...@li...] On 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/springframew= ork/scheduling/quartz directory should be enough to patch Spring 1.0.2. L= et me know how it works out! >=20 >Juergen >=20 > >________________________________ > >Von: spr...@li... im Auftrag vo= n 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 (outs= ide of scheduler) that I would need to get, in order to use the latest q= uartz changes ? > >Thanks >Shishir > > >------------------------------------------------------- >This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUAD= EC: The world's #1 Open Source Desktop Event. >GNOME Users and Developers European Conference, 28-30th June in Norway h= ttp://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! GUAD= EC: The world's #1 Open Source Desktop Event. >GNOME Users and Developers European Conference, 28-30th June in Norway h= ttp://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 > =20 > |