This is the link for the solution I mentioned in the above post
http://jira.springframework.org/browse/SPR-4662
here is the stack for the new problem
Code:
java.lang.RuntimeException: Serialization error. Path to bad object:
[com.xyz.cic.bo.report.AutomatedReportDispatcherImpl@132a60,
org.springframework.aop.framework.JdkDynamicAopProxy@728b447,
org.springframework.aop.framework.ProxyFactory: 2 interfaces
[com.xyz.cic.bo.report.AutomatedReportDispatcher, java.io.Serializable];
1 advisors org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor: advice bean
'org.springframework.transaction.interceptor.TransactionInterceptor#0';
targetSource [SingletonTargetSource for target object
[com.edfenergy.cic.bo.report.AutomatedReportDispatcherImpl@132a60]]; proxyTargetClass=false;
optimize=false; opaque=false; exposeProxy=false; frozen=false, [Lorg.springframework.aop.Advisor;@2109e3,
org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor: advice bean
'org.springframework.transaction.interceptor.TransactionInterceptor#0', java.lang.Object@11dbed]
My transaction manager configuration is like this
Code:
<!-- this enables annotation driven transactions -->
<tx:annotation-driven transaction-manager="transactionManager" />
<!-- hibernate transaction manager -->
<bean id="transactionManager" class="com.xyz.cic.spring.SerializableHibernateTransactionManager">
<property name="sessionFactory" ref="sessionFactory"/>
<property name="dataSource" ref="${datasource.bean}"/>
</bean>
Please let me know if you need more information