[ https://issues.apache.org/jira/browse/OAK-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14743560#comment-14743560 ]
Marcel Reutegger commented on OAK-3400: --------------------------------------- The failing test is in oak-remote: {noformat} Tests run: 240, Failures: 0, Errors: 80, Skipped: 0, Time elapsed: 22.381 sec <<< FAILURE! - in org.apache.jackrabbit.oak.remote.http.handler.RemoteServerIT testReadLastRevisionTreeMultiStringProperty[0](org.apache.jackrabbit.oak.remote.http.handler.RemoteServerIT) Time elapsed: 0.007 sec <<< ERROR! java.lang.NoClassDefFoundError: org/osgi/framework/BundleException 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:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.<init>(DocumentNodeStore.java:432) at org.apache.jackrabbit.oak.plugins.document.DocumentMK$Builder.getNodeStore(DocumentMK.java:637) at org.apache.jackrabbit.oak.NodeStoreFixture$2.createNodeStore(NodeStoreFixture.java:57) at org.apache.jackrabbit.oak.OakBaseTest.<init>(OakBaseTest.java:73) at org.apache.jackrabbit.oak.remote.http.handler.RemoteServerIT.<init>(RemoteServerIT.java:78) {noformat} > ClusterNodeInfo should not be osgi-dependent (for lease check failure > handling) > ------------------------------------------------------------------------------- > > Key: OAK-3400 > URL: https://issues.apache.org/jira/browse/OAK-3400 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core > Affects Versions: 1.3.6 > Reporter: Stefan Egli > Assignee: Stefan Egli > Priority: Critical > Fix For: 1.3.7 > > > Currently the ClusterNodeInfo wants an (osgi) ComponentContext so that it can > do a bundle-stop on lease failure. > However, osgi-dependency we should only have in DocumentNodeStoreService - > and not in DocumentNodeStore/ClusterNodeInfo etc. > So instead of passing a ComponentContext, let the builder have a > LeaseFailureHandler which will be passed to the ClusterNodeInfo. > This blocks the IT tests - hence critical -- This message was sent by Atlassian JIRA (v6.3.4#6332)