Update Spring dependency to version 2.5.6.SEC01 - version mismatches cause problems with
RiftSaw
------------------------------------------------------------------------------------------------
Key: JBESB-3390
URL:
https://jira.jboss.org/browse/JBESB-3390
Project: JBoss ESB
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Aleksander Adamowski
Currently, JBossESB deploys with spring jars for Spring 2.5.5.
At the same time, the latest release of RiftSaw BPEL engine deploys with
spring-aspects-2.5.6.SEC01.jar and spring-2.5.6.SEC01.jar.
The version mismatch between ESB and RiftSaw causes problems when making use of some
features of Spring Framework in Riftsaw's CXF web service endpoint configuration
descriptors.
E.g. if one tries to create a bean for accessing EJBs to be used by CXF interceptors:
<bean id="ejbProxyBean"
class="org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean">
<property name="jndiName" value="SomeSessionEJB"/>
<property name="businessInterface"
value="SomeSessionEJBInterface"/>
</bean>
The result is an exception in the logs:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'ejbProxyBean' ....
....
Caused by: java.lang.NoSuchMethodError:
org.springframework.util.ReflectionUtils.isEqualsMethod(Ljava/lang/reflect/Method;)Z
at org.springframework.aop.support.AopUtils.isEqualsMethod(AopUtils.java:118)
at
org.springframework.aop.framework.JdkDynamicAopProxy.findDefinedEqualsAndHashCodeMethods(JdkDynamicAopProxy.java:131)
at
org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:116)
at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:110)
at
org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean.afterPropertiesSet(LocalStatelessSessionProxyFactoryBean.java:89)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
That's because there was no isEqualsMethod() in Spring 2.5.5's version of
ReflectionUtils.
The latest release of Spring is 2.5.6.SEC01, and JBoss ESB should update to that,
especially considering that it's a security fix release.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira