jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Dulvac (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-2012) oak run benchmark has bad imports
Date Mon, 04 Aug 2014 13:00:15 GMT
Andrei Dulvac created OAK-2012:
----------------------------------

             Summary: oak run benchmark has bad imports
                 Key: OAK-2012
                 URL: https://issues.apache.org/jira/browse/OAK-2012
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: run
    Affects Versions: 1.1
            Reporter: Andrei Dulvac


The oak run benchmark doesn't work for mongo anymore, there are wrong imports for EveryonePrincipal,
which was moved from org/apache/jackrabbit/oak/security/principal/ to org/apache/jackrabbit/oak/spi/security/principal
by OAK-90 without changing the imports in some benchmark tests: 

{code}
 java -jar target/oak-run*-SNAPSHOT-oak.jar benchmark GetNodeWithAdmin Oak-MongoNS
Apache Jackrabbit Oak 1.1-SNAPSHOT
# GetNodeWithAdmin                 C     min     10%     50%     90%     max       N
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/jackrabbit/core/security/principal/EveryonePrincipal
	at org.apache.jackrabbit.oak.benchmark.GetNodeTest.beforeSuite(GetNodeTest.java:75)
	at org.apache.jackrabbit.oak.benchmark.AbstractTest.setUp(AbstractTest.java:113)
	at org.apache.jackrabbit.oak.benchmark.GetNodeTest.setUp(GetNodeTest.java:34)
	at org.apache.jackrabbit.oak.benchmark.AbstractTest.runTest(AbstractTest.java:151)
	at org.apache.jackrabbit.oak.benchmark.AbstractTest.run(AbstractTest.java:138)
	at org.apache.jackrabbit.oak.benchmark.GetNodeTest.run(GetNodeTest.java:34)
	at org.apache.jackrabbit.oak.benchmark.BenchmarkRunner.main(BenchmarkRunner.java:296)
	at org.apache.jackrabbit.oak.run.Main.main(Main.java:122)
Caused by: java.lang.ClassNotFoundException: org.apache.jackrabbit.core.security.principal.EveryonePrincipal
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	... 8 more
{code}





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message