Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with index #586

Closed
Shaihuludus opened this issue Jun 17, 2021 · 1 comment
Closed

Problem with index #586

Shaihuludus opened this issue Jun 17, 2021 · 1 comment

Comments

@Shaihuludus
Copy link

  • I have installed accesscontroltool vs 2.8.0
  • I'm using install hook to install acl-s
  • I have index created:
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"    xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:rep="internal"     
    jcr:primaryType="oak:QueryIndexDefinition" 
    async="async"
    compatVersion="{Long}2" 
    type="lucene"> 
<indexRules jcr:primaryType="nt:unstructured"> 
        <rep:ACL jcr:primaryType="nt:unstructured"> 
            <properties jcr:primaryType="nt:unstructured"> 
                <primaryType 
                    jcr:primaryType="nt:unstructured" 
                    name="jcr:primaryType" 
                    propertyIndex="{Boolean}true"/> 
                <mixinTypes 
                    jcr:primaryType="nt:unstructured" 
                    name="jcr:mixinTypes" 
                    propertyIndex="{Boolean}true"/> 
            </properties> 
        </rep:ACL> 
    </indexRules> 
</jcr:root>

Unfortunately I still get

Exception while installing configurations: java.lang.IllegalStateException: Could not query repository for existing ACLs: org.apache.jackrabbit.oak.query.RuntimeNodeTraversalException: The query read or traversed more than 100000 nodes. To avoid affecting other tasks, processing was stopped. 
Error during processing:

org.apache.jackrabbit.vault.packaging.PackageException: Error while executing an install hook during prepare phase.
	at org.apache.jackrabbit.vault.packaging.impl.ZipVaultPackage.extract(ZipVaultPackage.java:230)
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:401)
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:360)
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.install(JcrPackageImpl.java:354)
	at com.day.crx.packaging.impl.J2EEPackageManager.consoleInstall(J2EEPackageManager.java:354)
	at com.day.crx.packaging.impl.J2EEPackageManager.doPost(J2EEPackageManager.java:204)
	at com.day.crx.packaging.impl.PackageManagerServlet.doPost(PackageManagerServlet.java:172)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
(...)

Is there any solution for this? Maybe different way of installing acl?

@kwin
Copy link
Member

kwin commented Jun 4, 2024

Probably a duplicate of #714

@kwin kwin closed this as not planned Won't fix, can't repro, duplicate, stale Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants