[
https://issues.jboss.org/browse/ISPN-4189?page=com.atlassian.jira.plugin....
]
Sebastian Łaskawiec commented on ISPN-4189:
-------------------------------------------
It turns out this issue happens on 64 bit Windows (and probably Solaris but I have no way
to test it). 32 bit Windows seems to [work
correctly|http://ci.infinispan.org/viewLog.html?buildId=41312&buildTy...].
The error underneath is similar to this:
{code}
java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.7 in
java.library.path, no leveldbjni-1.7 in java.library.path, no leveldbjni in
java.library.path, C:\cygwin64\tmp\leveldbjni-64-1-7458719797526022431.7: Can't find
dependent libraries]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
at org.fusesource.leveldbjni.JniDBFactory.<clinit>(JniDBFactory.java:48)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at
org.infinispan.persistence.leveldb.LevelDBStoreTest.shouldLoadJNIImplementation(LevelDBStoreTest.java:11)
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:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
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:498)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
{code}
LevelDB module fails on Windows, Solaris and HP-UX machines
-----------------------------------------------------------
Key: ISPN-4189
URL:
https://issues.jboss.org/browse/ISPN-4189
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 7.0.0.Alpha1, 7.0.0.Alpha2, 7.0.0.Alpha3
Environment: Windows, Solaris
Reporter: Vitalii Chepeliuk
Assignee: Sebastian Łaskawiec
Priority: Critical
Labels: testsuite_stability
Attachments: JniLevelDBStoreFunctionalTest.log.zip
Looks like some problems with loading LevelDB dynamic libraries via JNI
Test suite progress: tests succeeded: 37, failed: 5, skipped: 0.
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:206)
at org.infinispan.persistence.leveldb.LevelDBStore.newDbFactory(LevelDBStore.java:76)
at org.infinispan.persistence.leveldb.LevelDBStore.init(LevelDBStore.java:59)
at
org.infinispan.persistence.leveldb.LevelDBStoreTest.createStore(LevelDBStoreTest.java:73)
at org.infinispan.persistence.BaseStoreTest.setUp(BaseStoreTest.java:78)
at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source)
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:653)
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: java.lang.ClassNotFoundException: org.fusesource.leveldbjni.JniDBFactory
at org.infinispan.commons.util.Util.loadClassStrict(Util.java:135)
at org.infinispan.commons.util.Util.loadClass(Util.java:83)
... 26 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.fusesource.leveldbjni.JniDBFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at org.infinispan.commons.util.Util.loadClassStrict(Util.java:122)
... 27 more
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)