Showing dependencies not resolved for jackrabbit accessmanager bundle | Community
Skip to main content
Level 2
February 8, 2022
Solved

Showing dependencies not resolved for jackrabbit accessmanager bundle

  • February 8, 2022
  • 2 replies
  • 1083 views

Hi Experts,
I am Just trying to install accessmanager bundle for checking the acl permissions on instance. But when I download (jackrabbit accessmanager version 3.0.11) and install it through apache felix console, then it is in installed state due to some missing or unresolved dependencies. Can anyone will help me with this to resolve the below dependencies.

Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by DEBAL_DAS

I agree with you.

Even I could see below versions are available for accessmanager -

 

 

After installing the org.apache.sling.jcr.jackrabbit.accessmanager-3.0.10.jar , immediately it's showing dependency issue as described in mail problem statement.

 

To fix this dependency issue I have installed org.apache.sling.api-2.24.0.jar , but it has created negative impact like around 57 bundles went to installed state.

 

@rameshkumar306 , please follow the steps as @lukasz-m has suggested.

2 replies

lukasz-m
Community Advisor
Community Advisor
February 8, 2022

Hi @rameshkumar306, I do not know which version of AEM are you using, and from where you get version 3.0.11 of accessmanager. However please be aware that starting from last officially release version which is 3.0.10, accessmanager requires org.apache.sling.api in version 2.23.4. Latest AEM version 6.5.11 provides org.apache.sling.api in version 2.22.0. This is the root cause of the issue. Below are possible solutions:

  1. Install org.apache.sling.api bundle in version 2.23.4 on your AEM - this is not recommended because you will be changing core bundle of AEM so it can have negative impact on other functionalities.
  2. Use older version of accessmanager, e.g. 3.0.8 - I was able to install this version on AEM 6.5.10 without any issue or additional steps.

Personally I would go with option 2.

DEBAL_DAS
DEBAL_DASAccepted solution
February 8, 2022

I agree with you.

Even I could see below versions are available for accessmanager -

 

 

After installing the org.apache.sling.jcr.jackrabbit.accessmanager-3.0.10.jar , immediately it's showing dependency issue as described in mail problem statement.

 

To fix this dependency issue I have installed org.apache.sling.api-2.24.0.jar , but it has created negative impact like around 57 bundles went to installed state.

 

@rameshkumar306 , please follow the steps as @lukasz-m has suggested.

milind_bachani
Adobe Employee
Adobe Employee
February 8, 2022

Hi @rameshkumar306 

You need to manually add the jar of missing dependencies in the /system/console/bundles to get the bundle active.

https://jar-download.com/artifact-search/org.apache.sling.api
you can download the latest version and try uploading the jar to the bundles and then  refresh all the packages. let me know if you still face the issue, thanks.