Hi ,
I facing an issue with AOP in cluster environment. Here is what I have in my spring config flie
<bean name="proxyCreator" class="org.springframework.aop.framework.autoproxy .BeanNameAutoProxyCreator">
<property name="exposeProxy">
<value type="boolean">true</value>
</property>
<property name="beanNames" value="*Service" />
<property name="interceptorNames">
<list>
<value>serviceInterceptor</value>
</list>
</property>
</bean>
- All my services are intercepted , but when tomcat tries to replicate session it gets ClassNotFound on all the services.
- If I stop intercepting the services then Tomcat session replication works fine and the application runs without any issues in failover situation.
My services are simple POJos and are seriliazable.
Am I doing anything wrong the way I am creating the proxies ?
Bhaskar


Reply With Quote
perfect question. Actually that is the whole other issue we are facing presently because of using savestate (Myfaces) for our backingbean(services are injected on backingBean).. So you are right The solution is not to inject services on backing bean so they will not be in session and it is my solution going forward. 
