[
https://issues.jboss.org/browse/ISPN-4507?page=com.atlassian.jira.plugin....
]
Vitalii Chepeliuk updated ISPN-4507:
------------------------------------
Summary: JniLevelDBStoreFunctionalTest fails on RHEL, OsgiClassLoader can not load
org.fusesource.leveldbjni.JniDBFactory class (was: JniLevelDBStoreFunctionalTest fail on
RHEL)
JniLevelDBStoreFunctionalTest fails on RHEL, OsgiClassLoader can not
load org.fusesource.leveldbjni.JniDBFactory class
----------------------------------------------------------------------------------------------------------------------
Key: ISPN-4507
URL:
https://issues.jboss.org/browse/ISPN-4507
Project: Infinispan
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 7.0.0.Alpha4
Environment: RHEL5, RHEL6
Reporter: Vitalii Chepeliuk
Assignee: Mircea Markus
Labels: testsuite_stability
Attachments: JniLevelDBStoreFunctionalTest.log.zip
{noformat}
org.infinispan.commons.CacheException: Unable to invoke method public void
org.infinispan.persistence.manager.PersistenceManagerImpl.start() on object of type
PersistenceManagerImpl
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:170)
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.CacheImpl.start(CacheImpl.java:696)
at
org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:575)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:530)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:410)
at
org.infinispan.persistence.BaseStoreFunctionalTest.cleanup(BaseStoreFunctionalTest.java:64)
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:606)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:786)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.infinispan.commons.CacheException: Unable to start cache loaders
at
org.infinispan.persistence.manager.PersistenceManagerImpl.start(PersistenceManagerImpl.java:155)
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
... 32 more
Caused by: org.infinispan.commons.CacheConfigurationException: Unable to instantiate
class org.fusesource.leveldbjni.JniDBFactory
at org.infinispan.commons.util.Util.loadClass(Util.java:85)
at org.infinispan.commons.util.Util.getInstance(Util.java:223)
at org.infinispan.persistence.leveldb.LevelDBStore.newDbFactory(LevelDBStore.java:76)
at org.infinispan.persistence.leveldb.LevelDBStore.init(LevelDBStore.java:59)
at
org.infinispan.persistence.manager.PersistenceManagerImpl.createLoadersAndWriters(PersistenceManagerImpl.java:579)
at
org.infinispan.persistence.manager.PersistenceManagerImpl.start(PersistenceManagerImpl.java:113)
... 36 more
Caused by: java.lang.ClassNotFoundException: Could not load requested class :
org.fusesource.leveldbjni.JniDBFactory
at org.infinispan.commons.util.OsgiClassLoader.findClass(OsgiClassLoader.java:89)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at org.infinispan.commons.util.Util.loadClassStrict(Util.java:139)
at org.infinispan.commons.util.Util.loadClass(Util.java:83)
... 41 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)