[JBoss JIRA] (ISPN-4513) ProgrammaticCacheContainerTest.testSmallCache always fails on JDK8
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-4513?page=com.atlassian.jira.plugin.... ]
William Burns commented on ISPN-4513:
-------------------------------------
This stack overflow shows the issue more clearly.
http://stackoverflow.com/questions/23128335/java8-annotating-compareto-t-...
> ProgrammaticCacheContainerTest.testSmallCache always fails on JDK8
> ------------------------------------------------------------------
>
> Key: ISPN-4513
> URL: https://issues.jboss.org/browse/ISPN-4513
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: CDI Integration
> Affects Versions: 7.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: William Burns
> Labels: testsuite_stability
> Fix For: 7.0.0.Alpha5
>
> Attachments: ProgrammaticCacheContainerTest_pr_wburns_ISPN-4435_20140701.log.gz
>
>
> CDI listeners are implemented via an adapter class that extends {{AbstractAdapter<T extends Event>}}. For {{CacheStartedEvent}}, the base class defines a {{void fire(T payload)}} method, and the adapter overrides it as {{void fire(CacheStartedEvent payload)}}.
> It appears that in JDK8 both these methods are returned by {{Class.getMethods()}}, and the CDI listener ends up being called twice:
> {noformat}
> 16:42:44,810 ERROR (testng-ProgrammaticCacheContainerTest:) [UnitTestTestNGListener] Test testSmallCache(org.infinispan.cdi.test.cachemanager.embedded.programmatic.ProgrammaticCacheContainerTest) failed.
> java.lang.AssertionError: expected [1] but found [2]
> at org.testng.Assert.fail(Assert.java:94)
> at org.testng.Assert.failNotEquals(Assert.java:494)
> at org.testng.Assert.assertEquals(Assert.java:123)
> at org.testng.Assert.assertEquals(Assert.java:370)
> at org.testng.Assert.assertEquals(Assert.java:380)
> at org.infinispan.cdi.test.cachemanager.embedded.programmatic.ProgrammaticCacheContainerTest.testSmallCache(ProgrammaticCacheContainerTest.java:39)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (ISPN-2056) exception in stopping a component resulted in failing to stop cache manager
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-2056?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-2056:
-----------------------------------
Description:
If cacheManager.stop() got any exception, the cache manger will not be able stopped by retrying stop().
This will resulted in following new cache manager instance with same configure fail to start with following exception:
{code}
org.infinispan.CacheException: Unable to invoke method public void
org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on
object of type JGroupsTransport
at
org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:238)
at
org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:885)
at
org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:639)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:226)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:152)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:167)
at
org.infinispan.factories.InterceptorChainFactory.register(InterceptorChainFactory.java:73)
at
org.infinispan.factories.InterceptorChainFactory.createInterceptor(InterceptorChainFactory.java:62)
at
org.infinispan.factories.InterceptorChainFactory.buildInterceptorChain(InterceptorChainFactory.java:95)
at
org.infinispan.factories.InterceptorChainFactory.construct(InterceptorChainFactory.java:272)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:286)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:102)
at
org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:78)
at
org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:62)
at
org.infinispan.manager.DefaultCacheManager.wireCache(DefaultCacheManager.java:692)
at
org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)
at
org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:549)
at
.....StatusUpdater.poll.....
....
Caused by: org.infinispan.CacheException: Unable to start JGroups Channel
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:186)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:175)
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:236)
... 96 more
Caused by: java.lang.IllegalStateException: cluster 'HA_Customer_9.3' is
already connected to singleton transport: [dummy-1336085803144,
dummy-1336085899401, dummy-1336085785840, dummy-1336085828476,
dummy-1336085808197, HA_Customer_9.3, dummy-1336085874063,
dummy-1336085868964, dummy-1336085785779, dummy-1336085818352,
dummy-1336085792988, dummy-1336085879152, dummy-1336085823409,
dummy-1336085785693, dummy-1336085848698, dummy-1336085785734,
dummy-1336085813295, dummy-1336085889257, dummy-1336085853769,
dummy-1336085894308, dummy-1336085843643, dummy-1336085833534,
dummy-1336085787888, dummy-1336085798048, dummy-1336085785653,
dummy-1336085884206, dummy-1336085863914, dummy-1336085785603,
dummy-1336085838588, dummy-1336085858821]
at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:909)
at org.jgroups.JChannel.startStack(JChannel.java:841)
at org.jgroups.JChannel.connect(JChannel.java:277)
at org.jgroups.JChannel.connect(JChannel.java:261)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:184)
{code}
This specific case is caused by cache manager can not terminate the first cache manager instance becaue of SyncFailedException: sync failed as shown:
{code}
2012-05-17/10:11:32.539/MDT [Thread-23] DEBUG com.symplified.service.shared.platform.cluster.InfinispanClusterCacheStoreServiceImpl[183] - exception caught in stop existing cache manager
org.infinispan.CacheException: Unable to invoke method public void org.infinispan.loaders.CacheLoaderManagerImpl.stop() on object of type CacheLoaderManagerImpl
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:238)
at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:885)
at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:674)
at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:553)
at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:199)
at org.infinispan.CacheImpl.stop(CacheImpl.java:539)
at org.infinispan.CacheImpl.stop(CacheImpl.java:531)
at org.infinispan.manager.DefaultCacheManager.stop(DefaultCacheManager.java:742)
.....
Caused by: org.infinispan.CacheException: java.io.SyncFailedException: sync failed
at org.infinispan.loaders.jdbm.JdbmCacheStore.stop(JdbmCacheStore.java:246)
at org.infinispan.loaders.decorators.AbstractDelegatingStore.stop(AbstractDelegatingStore.java:155)
at org.infinispan.loaders.decorators.AsyncStore.stop(AsyncStore.java:237)
at org.infinispan.loaders.CacheLoaderManagerImpl.stop(CacheLoaderManagerImpl.java:221)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:236)
... 14 more
Caused by: java.io.SyncFailedException: sync failed
at java.io.FileDescriptor.sync(Native Method)
at jdbm.recman.TransactionManager.sync(TransactionManager.java:331)
at jdbm.recman.TransactionManager.close(TransactionManager.java:347)
at jdbm.recman.TransactionManager.synchronizeLogFromMemory(TransactionManager.java:156)
at jdbm.recman.TransactionManager.shutdown(TransactionManager.java:339)
at jdbm.recman.RecordFile.close(RecordFile.java:346)
at jdbm.recman.BaseRecordManager.close(BaseRecordManager.java:168)
{code}
I do not see there is any way to froce stop the cache manager.
was:
If cacheManager.stop() got any exception, the cache manger will not be able stopped by retrying stop().
This will resulted in following new cache manager instance with same configure fail to start with following exception:
org.infinispan.CacheException: Unable to invoke method public void
org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on
object of type JGroupsTransport
at
org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:238)
at
org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:885)
at
org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:639)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:226)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:152)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:167)
at
org.infinispan.factories.InterceptorChainFactory.register(InterceptorChainFactory.java:73)
at
org.infinispan.factories.InterceptorChainFactory.createInterceptor(InterceptorChainFactory.java:62)
at
org.infinispan.factories.InterceptorChainFactory.buildInterceptorChain(InterceptorChainFactory.java:95)
at
org.infinispan.factories.InterceptorChainFactory.construct(InterceptorChainFactory.java:272)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:286)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
at
org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
at
org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
at
org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
at
org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
at
org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
at
org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:102)
at
org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:78)
at
org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:62)
at
org.infinispan.manager.DefaultCacheManager.wireCache(DefaultCacheManager.java:692)
at
org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)
at
org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:549)
at
.....StatusUpdater.poll.....
....
Caused by: org.infinispan.CacheException: Unable to start JGroups Channel
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:186)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:175)
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:236)
... 96 more
Caused by: java.lang.IllegalStateException: cluster 'HA_Customer_9.3' is
already connected to singleton transport: [dummy-1336085803144,
dummy-1336085899401, dummy-1336085785840, dummy-1336085828476,
dummy-1336085808197, HA_Customer_9.3, dummy-1336085874063,
dummy-1336085868964, dummy-1336085785779, dummy-1336085818352,
dummy-1336085792988, dummy-1336085879152, dummy-1336085823409,
dummy-1336085785693, dummy-1336085848698, dummy-1336085785734,
dummy-1336085813295, dummy-1336085889257, dummy-1336085853769,
dummy-1336085894308, dummy-1336085843643, dummy-1336085833534,
dummy-1336085787888, dummy-1336085798048, dummy-1336085785653,
dummy-1336085884206, dummy-1336085863914, dummy-1336085785603,
dummy-1336085838588, dummy-1336085858821]
at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:909)
at org.jgroups.JChannel.startStack(JChannel.java:841)
at org.jgroups.JChannel.connect(JChannel.java:277)
at org.jgroups.JChannel.connect(JChannel.java:261)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:184)
This specific case is caused by cache manager can not terminate the first cache manager instance becaue of SyncFailedException: sync failed as shown:
2012-05-17/10:11:32.539/MDT [Thread-23] DEBUG com.symplified.service.shared.platform.cluster.InfinispanClusterCacheStoreServiceImpl[183] - exception caught in stop existing cache manager
org.infinispan.CacheException: Unable to invoke method public void org.infinispan.loaders.CacheLoaderManagerImpl.stop() on object of type CacheLoaderManagerImpl
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:238)
at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:885)
at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:674)
at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:553)
at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:199)
at org.infinispan.CacheImpl.stop(CacheImpl.java:539)
at org.infinispan.CacheImpl.stop(CacheImpl.java:531)
at org.infinispan.manager.DefaultCacheManager.stop(DefaultCacheManager.java:742)
.....
Caused by: org.infinispan.CacheException: java.io.SyncFailedException: sync failed
at org.infinispan.loaders.jdbm.JdbmCacheStore.stop(JdbmCacheStore.java:246)
at org.infinispan.loaders.decorators.AbstractDelegatingStore.stop(AbstractDelegatingStore.java:155)
at org.infinispan.loaders.decorators.AsyncStore.stop(AsyncStore.java:237)
at org.infinispan.loaders.CacheLoaderManagerImpl.stop(CacheLoaderManagerImpl.java:221)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:236)
... 14 more
Caused by: java.io.SyncFailedException: sync failed
at java.io.FileDescriptor.sync(Native Method)
at jdbm.recman.TransactionManager.sync(TransactionManager.java:331)
at jdbm.recman.TransactionManager.close(TransactionManager.java:347)
at jdbm.recman.TransactionManager.synchronizeLogFromMemory(TransactionManager.java:156)
at jdbm.recman.TransactionManager.shutdown(TransactionManager.java:339)
at jdbm.recman.RecordFile.close(RecordFile.java:346)
at jdbm.recman.BaseRecordManager.close(BaseRecordManager.java:168)
I do not see there is any way to froce stop the cache manager.
> exception in stopping a component resulted in failing to stop cache manager
> ---------------------------------------------------------------------------
>
> Key: ISPN-2056
> URL: https://issues.jboss.org/browse/ISPN-2056
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Core
> Affects Versions: 5.1.4.FINAL
> Environment: ISPN 5.1.4.Final
> 2 node cluster with jgroup-tcp.xml and replication mode
> Reporter: dex chen
> Assignee: Galder Zamarreño
> Priority: Critical
> Fix For: 7.0.0.Final
>
>
> If cacheManager.stop() got any exception, the cache manger will not be able stopped by retrying stop().
> This will resulted in following new cache manager instance with same configure fail to start with following exception:
> {code}
> org.infinispan.CacheException: Unable to invoke method public void
> org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on
> object of type JGroupsTransport
> at
> org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:238)
> at
> org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:885)
> at
> org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:639)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:226)
> at
> org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:152)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at
> org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
> at
> org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at
> org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
> at
> org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at
> org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at
> org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
> at
> org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at
> org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
> at
> org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at
> org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at
> org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
> at
> org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at
> org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
> at
> org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at
> org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:167)
> at
> org.infinispan.factories.InterceptorChainFactory.register(InterceptorChainFactory.java:73)
> at
> org.infinispan.factories.InterceptorChainFactory.createInterceptor(InterceptorChainFactory.java:62)
> at
> org.infinispan.factories.InterceptorChainFactory.buildInterceptorChain(InterceptorChainFactory.java:95)
> at
> org.infinispan.factories.InterceptorChainFactory.construct(InterceptorChainFactory.java:272)
> at
> org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:286)
> at
> org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at
> org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
> at
> org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at
> org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at
> org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
> at
> org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at
> org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
> at
> org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at
> org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at
> org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
> at
> org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at
> org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
> at
> org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at
> org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at
> org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
> at
> org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at
> org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
> at
> org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at
> org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at
> org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
> at
> org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at
> org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
> at
> org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at
> org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at
> org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
> at
> org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at
> org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
> at
> org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at
> org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at
> org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:291)
> at
> org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
> at
> org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:83)
> at
> org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:792)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220)
> at
> org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:154)
> at
> org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175)
> at
> org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:102)
> at
> org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:78)
> at
> org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:62)
> at
> org.infinispan.manager.DefaultCacheManager.wireCache(DefaultCacheManager.java:692)
> at
> org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)
> at
> org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:549)
> at
> .....StatusUpdater.poll.....
> ....
> Caused by: org.infinispan.CacheException: Unable to start JGroups Channel
> at
> org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:186)
> at
> org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:175)
> at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at
> org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:236)
> ... 96 more
> Caused by: java.lang.IllegalStateException: cluster 'HA_Customer_9.3' is
> already connected to singleton transport: [dummy-1336085803144,
> dummy-1336085899401, dummy-1336085785840, dummy-1336085828476,
> dummy-1336085808197, HA_Customer_9.3, dummy-1336085874063,
> dummy-1336085868964, dummy-1336085785779, dummy-1336085818352,
> dummy-1336085792988, dummy-1336085879152, dummy-1336085823409,
> dummy-1336085785693, dummy-1336085848698, dummy-1336085785734,
> dummy-1336085813295, dummy-1336085889257, dummy-1336085853769,
> dummy-1336085894308, dummy-1336085843643, dummy-1336085833534,
> dummy-1336085787888, dummy-1336085798048, dummy-1336085785653,
> dummy-1336085884206, dummy-1336085863914, dummy-1336085785603,
> dummy-1336085838588, dummy-1336085858821]
> at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:909)
> at org.jgroups.JChannel.startStack(JChannel.java:841)
> at org.jgroups.JChannel.connect(JChannel.java:277)
> at org.jgroups.JChannel.connect(JChannel.java:261)
> at
> org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:184)
> {code}
> This specific case is caused by cache manager can not terminate the first cache manager instance becaue of SyncFailedException: sync failed as shown:
> {code}
> 2012-05-17/10:11:32.539/MDT [Thread-23] DEBUG com.symplified.service.shared.platform.cluster.InfinispanClusterCacheStoreServiceImpl[183] - exception caught in stop existing cache manager
> org.infinispan.CacheException: Unable to invoke method public void org.infinispan.loaders.CacheLoaderManagerImpl.stop() on object of type CacheLoaderManagerImpl
> at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:238)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:885)
> at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:674)
> at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:553)
> at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:199)
> at org.infinispan.CacheImpl.stop(CacheImpl.java:539)
> at org.infinispan.CacheImpl.stop(CacheImpl.java:531)
> at org.infinispan.manager.DefaultCacheManager.stop(DefaultCacheManager.java:742)
> .....
> Caused by: org.infinispan.CacheException: java.io.SyncFailedException: sync failed
> at org.infinispan.loaders.jdbm.JdbmCacheStore.stop(JdbmCacheStore.java:246)
> at org.infinispan.loaders.decorators.AbstractDelegatingStore.stop(AbstractDelegatingStore.java:155)
> at org.infinispan.loaders.decorators.AsyncStore.stop(AsyncStore.java:237)
> at org.infinispan.loaders.CacheLoaderManagerImpl.stop(CacheLoaderManagerImpl.java:221)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:236)
> ... 14 more
> Caused by: java.io.SyncFailedException: sync failed
> at java.io.FileDescriptor.sync(Native Method)
> at jdbm.recman.TransactionManager.sync(TransactionManager.java:331)
> at jdbm.recman.TransactionManager.close(TransactionManager.java:347)
> at jdbm.recman.TransactionManager.synchronizeLogFromMemory(TransactionManager.java:156)
> at jdbm.recman.TransactionManager.shutdown(TransactionManager.java:339)
> at jdbm.recman.RecordFile.close(RecordFile.java:346)
> at jdbm.recman.BaseRecordManager.close(BaseRecordManager.java:168)
> {code}
> I do not see there is any way to froce stop the cache manager.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (ISPN-1986) Make putForExternalRead return a boolean instead of void
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-1986?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño resolved ISPN-1986.
------------------------------------
Fix Version/s: (was: 7.0.0.Final)
(was: 7.0.0.Beta1)
Resolution: Won't Fix
Having thought about this further, I think we should leave it as it is. Changing the semantics to return a boolean would stop us from being able to use FORCE_ASYNCHRONOUS
> Make putForExternalRead return a boolean instead of void
> --------------------------------------------------------
>
> Key: ISPN-1986
> URL: https://issues.jboss.org/browse/ISPN-1986
> Project: Infinispan
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Core
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Priority: Critical
>
> Related to ISPN-1983 and https://hibernate.onjira.com/browse/HHH-7256, I'd like to change the API of putForExternalRead() to return a boolean instead of void.
> The reason for doing this is to be able to find out if the PFER did actually end up storing something or not.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (ISPN-4340) Automatically setup shared indexes when indexing is enabled
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-4340?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-4340:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/2700
> Automatically setup shared indexes when indexing is enabled
> -----------------------------------------------------------
>
> Key: ISPN-4340
> URL: https://issues.jboss.org/browse/ISPN-4340
> Project: Infinispan
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Embedded Querying
> Reporter: Sanne Grinovero
> Assignee: Gustavo Fernandes
> Labels: 64QueryBlockers
> Fix For: 7.0.0.Beta1
>
>
> - on replicated Caches, we should create a default index on a FSDirectory and provide some appropriate default tuning, for example enabling NRT.
> - distributed Caches will need the Infinispan Directory (shared) and a master/slave backend (Infinispan IndexManager, while NRT is not compatible in this case)
> We want to keep the properties configuration structure as well as an "advanced tuning" and override capabilities of the default choices.
> Some more common options like sync/async indexing should probably be promoted to be controlled by the XML elements and configuration DSL excplicitly.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (ISPN-4494) OSGi tests fail on jdk8
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-4494?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-4494:
-------------------------------
Affects Version/s: 7.0.0.Alpha4
> OSGi tests fail on jdk8
> -----------------------
>
> Key: ISPN-4494
> URL: https://issues.jboss.org/browse/ISPN-4494
> Project: Infinispan
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Affects Versions: 7.0.0.Alpha4
> Reporter: Ion Savin
> Assignee: Ion Savin
> Labels: testsuite_stability
> Fix For: 7.0.0.Alpha5
>
>
> OSGi tests fail on jdk8.
> Build: http://ci.infinispan.org/viewLog.html?buildId=9555&tab=buildResultsDiv&bu...
> {noformat}
> java.lang.IllegalArgumentException
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter.readClass(AbstractWovenProxyAdapter.java:675)
> at org.apache.aries.proxy.impl.interfaces.InterfaceCombiningClassAdapter.generateBytes(InterfaceCombiningClassAdapter.java:109)
> at org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:156)
> at org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:95)
> at org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:72)
> at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:75)
> at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingProxy(AbstractProxyManager.java:40)
> at org.apache.aries.jndi.services.ServiceHelper.proxyPriviledged(ServiceHelper.java:361)
> at org.apache.aries.jndi.services.ServiceHelper.access$700(ServiceHelper.java:66)
> at org.apache.aries.jndi.services.ServiceHelper$1.run(ServiceHelper.java:287)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.aries.jndi.services.ServiceHelper.proxy(ServiceHelper.java:284)
> at org.apache.aries.jndi.services.ServiceHelper.getService(ServiceHelper.java:258)
> at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:102)
> at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:144)
> at org.apache.aries.jndi.DelegateContext.lookup(DelegateContext.java:161)
> at javax.naming.InitialContext.lookup(InitialContext.java:417)
> at org.infinispan.persistence.jdbc.connectionfactory.ManagedConnectionFactory.start(ManagedConnectionFactory.java:48)
> at org.infinispan.persistence.jdbc.stringbased.JdbcStringBasedStore.start(JdbcStringBasedStore.java:96)
> at org.infinispan.persistence.manager.PersistenceManagerImpl.start(PersistenceManagerImpl.java:125)
> at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
> at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)
> at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
> at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
> at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:216)
> at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:752)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:574)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:529)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:409)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:382)
> at org.infinispan.persistence.BaseStoreFunctionalTest.testPreloadAndExpiry(BaseStoreFunctionalTest.java:93)
> at org.infinispan.it.osgi.persistence.jdbc.stringbased.JdbcStringBasedStoreFunctionalTest.testPreloadAndExpiry(JdbcStringBasedStoreFunctionalTest.java:49)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:67)
> at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:37)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
> at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:124)
> at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:97)
> at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:73)
> at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80)
> at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
> at sun.rmi.transport.Transport$1.run(Transport.java:178)
> at sun.rmi.transport.Transport$1.run(Transport.java:175)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Transport.java:174)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:744)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (ISPN-4494) OSGi tests fail on jdk8
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-4494?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-4494:
-------------------------------
Component/s: Integration
> OSGi tests fail on jdk8
> -----------------------
>
> Key: ISPN-4494
> URL: https://issues.jboss.org/browse/ISPN-4494
> Project: Infinispan
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Integration
> Affects Versions: 7.0.0.Alpha4
> Reporter: Ion Savin
> Assignee: Ion Savin
> Labels: testsuite_stability
> Fix For: 7.0.0.Alpha5
>
>
> OSGi tests fail on jdk8.
> Build: http://ci.infinispan.org/viewLog.html?buildId=9555&tab=buildResultsDiv&bu...
> {noformat}
> java.lang.IllegalArgumentException
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter.readClass(AbstractWovenProxyAdapter.java:675)
> at org.apache.aries.proxy.impl.interfaces.InterfaceCombiningClassAdapter.generateBytes(InterfaceCombiningClassAdapter.java:109)
> at org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:156)
> at org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:95)
> at org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:72)
> at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:75)
> at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingProxy(AbstractProxyManager.java:40)
> at org.apache.aries.jndi.services.ServiceHelper.proxyPriviledged(ServiceHelper.java:361)
> at org.apache.aries.jndi.services.ServiceHelper.access$700(ServiceHelper.java:66)
> at org.apache.aries.jndi.services.ServiceHelper$1.run(ServiceHelper.java:287)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.aries.jndi.services.ServiceHelper.proxy(ServiceHelper.java:284)
> at org.apache.aries.jndi.services.ServiceHelper.getService(ServiceHelper.java:258)
> at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:102)
> at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:144)
> at org.apache.aries.jndi.DelegateContext.lookup(DelegateContext.java:161)
> at javax.naming.InitialContext.lookup(InitialContext.java:417)
> at org.infinispan.persistence.jdbc.connectionfactory.ManagedConnectionFactory.start(ManagedConnectionFactory.java:48)
> at org.infinispan.persistence.jdbc.stringbased.JdbcStringBasedStore.start(JdbcStringBasedStore.java:96)
> at org.infinispan.persistence.manager.PersistenceManagerImpl.start(PersistenceManagerImpl.java:125)
> at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
> at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)
> at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
> at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
> at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:216)
> at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:752)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:574)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:529)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:409)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:382)
> at org.infinispan.persistence.BaseStoreFunctionalTest.testPreloadAndExpiry(BaseStoreFunctionalTest.java:93)
> at org.infinispan.it.osgi.persistence.jdbc.stringbased.JdbcStringBasedStoreFunctionalTest.testPreloadAndExpiry(JdbcStringBasedStoreFunctionalTest.java:49)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:67)
> at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:37)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
> at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:124)
> at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:97)
> at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:73)
> at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80)
> at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
> at sun.rmi.transport.Transport$1.run(Transport.java:178)
> at sun.rmi.transport.Transport$1.run(Transport.java:175)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Transport.java:174)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:744)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (ISPN-4494) OSGi tests fail on jdk8
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-4494?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-4494:
-------------------------------
Labels: testsuite_stability (was: )
> OSGi tests fail on jdk8
> -----------------------
>
> Key: ISPN-4494
> URL: https://issues.jboss.org/browse/ISPN-4494
> Project: Infinispan
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Integration
> Affects Versions: 7.0.0.Alpha4
> Reporter: Ion Savin
> Assignee: Ion Savin
> Labels: testsuite_stability
> Fix For: 7.0.0.Alpha5
>
>
> OSGi tests fail on jdk8.
> Build: http://ci.infinispan.org/viewLog.html?buildId=9555&tab=buildResultsDiv&bu...
> {noformat}
> java.lang.IllegalArgumentException
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter.readClass(AbstractWovenProxyAdapter.java:675)
> at org.apache.aries.proxy.impl.interfaces.InterfaceCombiningClassAdapter.generateBytes(InterfaceCombiningClassAdapter.java:109)
> at org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:156)
> at org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:95)
> at org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:72)
> at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:75)
> at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingProxy(AbstractProxyManager.java:40)
> at org.apache.aries.jndi.services.ServiceHelper.proxyPriviledged(ServiceHelper.java:361)
> at org.apache.aries.jndi.services.ServiceHelper.access$700(ServiceHelper.java:66)
> at org.apache.aries.jndi.services.ServiceHelper$1.run(ServiceHelper.java:287)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.aries.jndi.services.ServiceHelper.proxy(ServiceHelper.java:284)
> at org.apache.aries.jndi.services.ServiceHelper.getService(ServiceHelper.java:258)
> at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:102)
> at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:144)
> at org.apache.aries.jndi.DelegateContext.lookup(DelegateContext.java:161)
> at javax.naming.InitialContext.lookup(InitialContext.java:417)
> at org.infinispan.persistence.jdbc.connectionfactory.ManagedConnectionFactory.start(ManagedConnectionFactory.java:48)
> at org.infinispan.persistence.jdbc.stringbased.JdbcStringBasedStore.start(JdbcStringBasedStore.java:96)
> at org.infinispan.persistence.manager.PersistenceManagerImpl.start(PersistenceManagerImpl.java:125)
> at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
> at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)
> at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
> at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
> at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:216)
> at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:752)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:574)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:529)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:409)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:382)
> at org.infinispan.persistence.BaseStoreFunctionalTest.testPreloadAndExpiry(BaseStoreFunctionalTest.java:93)
> at org.infinispan.it.osgi.persistence.jdbc.stringbased.JdbcStringBasedStoreFunctionalTest.testPreloadAndExpiry(JdbcStringBasedStoreFunctionalTest.java:49)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:67)
> at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:37)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
> at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:124)
> at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:97)
> at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:73)
> at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80)
> at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
> at sun.rmi.transport.Transport$1.run(Transport.java:178)
> at sun.rmi.transport.Transport$1.run(Transport.java:175)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Transport.java:174)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:744)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (ISPN-4494) OSGi tests fail on jdk8
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-4494?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-4494:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 7.0.0.Alpha5
Resolution: Done
> OSGi tests fail on jdk8
> -----------------------
>
> Key: ISPN-4494
> URL: https://issues.jboss.org/browse/ISPN-4494
> Project: Infinispan
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Integration
> Affects Versions: 7.0.0.Alpha4
> Reporter: Ion Savin
> Assignee: Ion Savin
> Fix For: 7.0.0.Alpha5
>
>
> OSGi tests fail on jdk8.
> Build: http://ci.infinispan.org/viewLog.html?buildId=9555&tab=buildResultsDiv&bu...
> {noformat}
> java.lang.IllegalArgumentException
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.objectweb.asm.ClassReader.<init>(Unknown Source)
> at org.apache.aries.proxy.impl.common.AbstractWovenProxyAdapter.readClass(AbstractWovenProxyAdapter.java:675)
> at org.apache.aries.proxy.impl.interfaces.InterfaceCombiningClassAdapter.generateBytes(InterfaceCombiningClassAdapter.java:109)
> at org.apache.aries.proxy.impl.interfaces.ProxyClassLoader.createProxyClass(ProxyClassLoader.java:156)
> at org.apache.aries.proxy.impl.interfaces.InterfaceProxyGenerator.getProxyInstance(InterfaceProxyGenerator.java:95)
> at org.apache.aries.proxy.impl.AsmProxyManager.createNewProxy(AsmProxyManager.java:72)
> at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:75)
> at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingProxy(AbstractProxyManager.java:40)
> at org.apache.aries.jndi.services.ServiceHelper.proxyPriviledged(ServiceHelper.java:361)
> at org.apache.aries.jndi.services.ServiceHelper.access$700(ServiceHelper.java:66)
> at org.apache.aries.jndi.services.ServiceHelper$1.run(ServiceHelper.java:287)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.aries.jndi.services.ServiceHelper.proxy(ServiceHelper.java:284)
> at org.apache.aries.jndi.services.ServiceHelper.getService(ServiceHelper.java:258)
> at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:102)
> at org.apache.aries.jndi.url.ServiceRegistryContext.lookup(ServiceRegistryContext.java:144)
> at org.apache.aries.jndi.DelegateContext.lookup(DelegateContext.java:161)
> at javax.naming.InitialContext.lookup(InitialContext.java:417)
> at org.infinispan.persistence.jdbc.connectionfactory.ManagedConnectionFactory.start(ManagedConnectionFactory.java:48)
> at org.infinispan.persistence.jdbc.stringbased.JdbcStringBasedStore.start(JdbcStringBasedStore.java:96)
> at org.infinispan.persistence.manager.PersistenceManagerImpl.start(PersistenceManagerImpl.java:125)
> at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
> at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)
> at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)
> at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)
> at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)
> at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:216)
> at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:752)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:574)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:529)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:409)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:382)
> at org.infinispan.persistence.BaseStoreFunctionalTest.testPreloadAndExpiry(BaseStoreFunctionalTest.java:93)
> at org.infinispan.it.osgi.persistence.jdbc.stringbased.JdbcStringBasedStoreFunctionalTest.testPreloadAndExpiry(JdbcStringBasedStoreFunctionalTest.java:49)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:67)
> at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:37)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
> at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:124)
> at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:97)
> at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:73)
> at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80)
> at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483)
> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
> at sun.rmi.transport.Transport$1.run(Transport.java:178)
> at sun.rmi.transport.Transport$1.run(Transport.java:175)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Transport.java:174)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:744)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months