|
From: Shishir K. S. <sk...@sy...> - 2004-06-10 12:16:58
|
Hi,=20 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 = path resource [junit/spring/spring-aceig.xml]: Initialization of bean = 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 = [junit/spring/spring-aceig.xml]: Initialization of bean failed; nested = 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 = org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAnt= Runner.java:135) ---------------------------------- Thanks Shishir =20 -----Original Message----- From: spr...@li... = [mailto:spr...@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/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 = 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 = 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 |