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

Installation time via subpackage very slow #627

Open
lukasbeck opened this issue Feb 24, 2022 · 0 comments
Open

Installation time via subpackage very slow #627

lukasbeck opened this issue Feb 24, 2022 · 0 comments

Comments

@lukasbeck
Copy link

We are facing very slow installation times when installing accesscontroltool-package and accesscontroltool-oakindex-package via subpackages. When installing the content package onto AEM 6.5.11 (on-premise), we sometimes wait up to minutes until the installation of the accesscontroltool-package is complete. From the logs we see that the OsgiInstallerHook waits a long time.
Examples:

18.02.2022 10:17:33.355 *INFO* [qtp509513024-251] org.apache.sling.installer.provider.installhook.OsgiInstallerHook Waited 54070ms in total for OSGi events to become quiet (for at least 5sec)
18.02.2022 10:28:54.154 *INFO* [qtp1329713234-6505] org.apache.sling.installer.provider.installhook.OsgiInstallerHook Waited 121830ms in total for OSGi events to become quiet (for at least 5sec)

We use the following configuration to create the package for installation:

            <plugin>
                <groupId>org.apache.jackrabbit</groupId>
                <artifactId>filevault-package-maven-plugin</artifactId>
                <configuration>
                    <allowIndexDefinitions>true</allowIndexDefinitions>
                    <embeddeds>
                        <embedded>
                           (client-specific dependency)
                        </embedded>
                        <embedded>
                            <artifactId>jsoup</artifactId>
                            <groupId>org.jsoup</groupId>
                            <target>/apps/client/thirdparties/install</target>
                        </embedded>
                        <embedded>
                            <groupId>org.apache.servicemix.bundles</groupId>
                            <artifactId>org.apache.servicemix.bundles.libphonenumber</artifactId>
                            <target>/apps/client/thirdparties/install</target>
                        </embedded>
                        <embedded>
                            <groupId>org.apache.sling</groupId>
                            <artifactId>org.apache.sling.commons.clam</artifactId>
                            <target>/apps/client/thirdparties/install</target>
                        </embedded>
                        <embedded>
                            <groupId>org.apache.commons</groupId>
                            <artifactId>commons-text</artifactId>
                            <target>/apps/client/thirdparties/install</target>
                        </embedded>
                        <embedded>
                            <artifactId>unirest-java</artifactId>
                            <groupId>com.mashape.unirest</groupId>
                            <target>/apps/client/thirdparties/install</target>
                        </embedded>
                    </embeddeds>
                    <subPackages>
                        <subPackage>
                            (client-specific content package)
                        </subPackage>
                        <subPackage>
                            <groupId>com.adobe.acs</groupId>
                            <artifactId>acs-aem-commons-content</artifactId>
                            <filter>true</filter>
                        </subPackage>
                        <subPackage>
                            <groupId>biz.netcentric.cq.tools.accesscontroltool</groupId>
                            <artifactId>accesscontroltool-package</artifactId>
                            <filter>true</filter>
                        </subPackage>
                        <subPackage>
                            <groupId>biz.netcentric.cq.tools.accesscontroltool</groupId>
                            <artifactId>accesscontroltool-oakindex-package</artifactId>
                            <filter>true</filter>
                        </subPackage>
                    </subPackages>
                </configuration>
            </plugin>

Is this a known issue? Is there something we can do to improve the installation time? We prefer having the installation of the access control tool automated instead of manually installing it once.

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

1 participant