grabbit icon indicating copy to clipboard operation
grabbit copied to clipboard

Grabbit won't start in AEM 6.3 because JCRJobRepository uses "admin" session

Open sagarsane opened this issue 7 years ago • 1 comments

Grabbit uses admin session for the JCR JobRepository implementation. In AEM 6.3, by default you cannot connect to JCR using admin session. It will throw this exception

Caused by: org.apache.sling.api.resource.LoginException: Bundle com.twcable.grabbit is NOT whitelisted

screen shot 2017-06-13 at 12 53 18 pm

See this for more details : https://issues.apache.org/jira/browse/SLING-5135

If we want to continue to use admin for JCR JobRepository implementation, we will have to whitelist the package(s) that need it. Even better, we should come up with a way to not use admin for JCR JobRepository implementation at all. We can't really use the request session in this case, because the JobRepository connects to the JCR on bundle activation for example.

@jbornemann @jdigger

sagarsane avatar Jun 13 '17 17:06 sagarsane

Had to make an additional config update to make sure grabbit worked(to overcome the not whitelisted issue)

screen shot 2018-05-30 at 3 55 38 pm

masroormohammed avatar May 30 '18 19:05 masroormohammed