[
https://issues.jboss.org/browse/ISPN-1647?page=com.atlassian.jira.plugin....
]
Manik Surtani commented on ISPN-1647:
-------------------------------------
I tried to simply change the dependency from spring 3.1.0.RC1 to spring 3.1.0.RELEASE and
everything built fine, however I see some unit test failures:
{code}
2011-12-23 18:48:19,098 ERROR [UnitTestTestNGListener]
(testng-SpringEmbeddedCacheManagerTest) Method
springEmbeddedCacheManagerConstructorShouldRejectNullEmbeddedCacheManager(org.infinispan.spring.provider.SpringEmbeddedCacheManagerTest)
threw an exception
java.lang.IllegalArgumentException: A non-null instance of EmbeddedCacheManager needs to
be supplied
at org.springframework.util.Assert.notNull(Assert.java:112)
at
org.infinispan.spring.provider.SpringEmbeddedCacheManager.<init>(SpringEmbeddedCacheManager.java:58)
at
org.infinispan.spring.provider.SpringEmbeddedCacheManagerTest.springEmbeddedCacheManagerConstructorShouldRejectNullEmbeddedCacheManager(SpringEmbeddedCacheManagerTest.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:644)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:546)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:700)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1002)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)
at org.testng.TestRunner.runWorkers(TestRunner.java:909)
at org.testng.TestRunner.privateRun(TestRunner.java:618)
at org.testng.TestRunner.run(TestRunner.java:499)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:33)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:358)
at
org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:142)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
[testng-SpringEmbeddedCacheManagerTest] Test
springEmbeddedCacheManagerConstructorShouldRejectNullEmbeddedCacheManager(org.infinispan.spring.provider.SpringEmbeddedCacheManagerTest)
succeeded.
Test suite progress: tests succeeded: 227, failed: 2, skipped: 0.
[testng-SpringEmbeddedCacheManagerTest] Test
stopShouldStopTheNativeEmbeddedCacheManager(org.infinispan.spring.provider.SpringEmbeddedCacheManagerTest)
succeeded.
Test suite progress: tests succeeded: 228, failed: 2, skipped: 0.
Tests run: 230, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 10.297 sec <<<
FAILURE!
Results :
Failed tests:
testCacheContains(org.infinispan.spring.provider.SpringCacheCacheTest)
testCachePut(org.infinispan.spring.provider.SpringCacheCacheTest)
Tests run: 230, Failures: 2, Errors: 0, Skipped: 0
{code}
I don't see these failures when depending on spring 3.1.0.RC1.
ValueWrapperImpl Class Not Found error after upgrading Spring3.1RC to
Spring 3.1 Release
----------------------------------------------------------------------------------------
Key: ISPN-1647
URL:
https://issues.jboss.org/browse/ISPN-1647
Project: Infinispan
Issue Type: Bug
Components: Spring integration
Affects Versions: 5.1.0.CR2
Reporter: YILDIRIM ADIGUZEL
Assignee: Olaf Bergner
Priority: Minor
Fix For: 5.1.0.CR3
ValueWrapperImpl removed from spring-context in version spring-context-3.1.0.RELEASE.jar.
The infinispan-spring.jar compiled with the spring-context-3.1.0.RC1.jar.
Infinispan-spring project Spring references should be upgraded to the 3.1.0.RELEASE.
java.lang.ClassNotFoundException: org.springframework.cache.support.ValueWrapperImpl
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523)
org.infinispan.spring.provider.SpringCache.get(SpringCache.java:75)
org.springframework.cache.interceptor.CacheAspectSupport.inspectCacheables(CacheAspectSupport.java:310)
org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:198)
org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
com.aviva.integration.notes.service.NotesIntegrationService$$EnhancerByCGLIB$$6250dd79.getPolicyAgent(<generated>)
com.aviva.app.sales.proposal.service.ABaseProposalService.importDataFromLotusNotes(ABaseProposalService.java:72)
com.aviva.app.sales.proposal.service.ABaseProposalService$$FastClassByCGLIB$$bfb6d9b.invoke(<generated>)
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:618)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira