Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Installing AWS S3 Connector in AEM 6.5.0 - dependencies error

Avatar

Level 3

I’m following the installation guide for the Amazon S3 Data Store:

https://docs.adobe.com/content/help/en/experience-manager-65/deploying/deploying/data-store-config.h...

 

The first step is to unpack my AEM 6.5.0 quickstart jar file.

Then I configure the S3 files as described in the installation guide.

I’m using 1.10.10 version of the S3 connector we can see at this repo:

https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/com.adobe.granite.oak.s3connect...

 

When the instance is started I can see this error at error.log file:

25.05.2020 16:57:31.772 *ERROR* [FelixDispatchQueue] org.apache.jackrabbit.oak-blob-cloud FrameworkEvent ERROR (org.osgi.framework.BundleException: Unable to resolve org.apache.jackrabbit.oak-blob-cloud [589](R 589.0): missing requirement [org.apache.jackrabbit.oak-blob-cloud [589](R 589.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.commons)(version>=1.6.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.jackrabbit.oak-blob-cloud [589](R 589.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.commons)(version>=1.6.0)(!(version>=2.0.0)))])

org.osgi.framework.BundleException: Unable to resolve org.apache.jackrabbit.oak-blob-cloud [589](R 589.0): missing requirement [org.apache.jackrabbit.oak-blob-cloud [589](R 589.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.commons)(version>=1.6.0)(!(version>=2.0.0))) Unresolved requirements: [[org.apache.jackrabbit.oak-blob-cloud [589](R 589.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.oak.commons)(version>=1.6.0)(!(version>=2.0.0)))]

                at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)

                at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)

                at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)

                at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)

                at java.lang.Thread.run(Thread.java:748)

 

That can be visible at Felix Console:

Captura de pantalla 2020-05-25 a las 19.06.22 copia.png

 

But one dependency it cannot resolve is clearly installed and activated:

Captura de pantalla 2020-05-25 a las 19.06.42 copia.png

And if I try to refresh dependencies it does nothing…

 

So my question is if the versions that I’m using are compatible.

I mean, I’m trying to install the connector com.adobe.granite.oak.s3connector version 1.10.10 over an AEM 6.5.0 instance.

Is it correct?

 

Thank you.

Regards,

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

6.5
1 Accepted Solution

Avatar

Correct answer by
Employee

Hello Alex,

S3 connector 1.10.10 is not compatible with 6.5.4. I could reproduce the issue in my local instance as well. I have confirmed 1.10.0 works flawlessly.

Screenshot at May 26 10-58-56.png

https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/com.adobe.granite.oak.s3connect...

View solution in original post

12 Replies

Avatar

Employee

From the same referenced document:

Additionally, you also need to download and install the latest AEM service pack as listed on the AEM 6.5 Release Notes page.

 

Have you installed the service pack ?

Avatar

Level 3

Not yet. I usually install other plugins or packages after the first installation via package manager.

 

The s3connector plugin has everything in two folders:

<aem-install-dir>/crx-quickstart/install/1

<aem-install-dir>/crx-quickstart/install/15

 

Where should I place the Service Packe?

 

Thank you.

Avatar

Employee

Hello Alex,

You can install the service pack through package manager or drop the service pack zip file in crx-quickstart/install folder. 

Regards,

Vishu

 

Avatar

Level 3

I've deleted crx-quickstart directory.

I've included AEM 6.5.4.0 Service Pack into the install folder and I've launched AEM again.

The result is the same, the s3 connector cannot be activated.

 

Captura de pantalla 2020-05-26 a las 9.19.22 copia.png

 

Captura de pantalla 2020-05-26 a las 9.19.43 copia.png

 

Captura de pantalla 2020-05-26 a las 9.19.59 copia.pngCaptura de pantalla 2020-05-26 a las 11.15.13 copia.png

 

Thank you.

Regards.

 

Avatar

Level 3

Why do you recommend this version?

 

I've tried it and there is an error:

26.05.2020 15:18:37.144 *ERROR* [FelixStartLevel] org.apache.jackrabbit.oak-blob-cloud bundle org.apache.jackrabbit.oak-blob-cloud:1.6.15 (589)[org.apache.jackrabbit.oak.plugins.blob.datastore.S3DataStore(265)] : The activate method has thrown an exception (java.lang.NoSuchFieldError: JR2_CACHING)
java.lang.NoSuchFieldError: JR2_CACHING
at org.apache.jackrabbit.oak.blob.cloud.s3.AbstractS3DataStoreService.createDataStore(AbstractS3DataStoreService.java:48) [org.apache.jackrabbit.oak-blob-cloud:1.6.15]
at org.apache.jackrabbit.oak.plugins.blob.datastore.AbstractDataStoreService.activate(AbstractDataStoreService.java:78) [org.apache.jackrabbit.oak-blob-plugins:1.10.2]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:510) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:317) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:307) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:340) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:114) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:982) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:955) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:765) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:666) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:432) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:665) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:338) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:382) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.Activator.access$200(Activator.java:49) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:264) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [org.apache.felix.scr:2.1.16]
at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [org.apache.felix.scr:2.1.16]
at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:488)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:420)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)
at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450)
at org.apache.felix.framework.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:915)
at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:834)
at org.apache.felix.framework.EventDispatcher.fireBundleEvent(EventDispatcher.java:516)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4817)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2336)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
26.05.2020 15:18:37.145 *WARN* [FelixStartLevel] com.day.crx.sling.server.impl.jmx.SecureContentRepositoryAccess Denied reference from bundle 'org.apache.jackrabbit.oak-blob-cloud'.

Avatar

Employee
S3 connector 1.6.x works with AEM 6.5. The error might be related to some other issues with your AEM. You need to check a simple staff first: ver of JDK that AEM picks up, if you change the owner of folders "1" and "15" when move those to /crx-quickstart/install, etc

Avatar

Correct answer by
Employee

Hello Alex,

S3 connector 1.10.10 is not compatible with 6.5.4. I could reproduce the issue in my local instance as well. I have confirmed 1.10.0 works flawlessly.

Screenshot at May 26 10-58-56.png

https://repo.adobe.com/nexus/content/groups/public/com/adobe/granite/com.adobe.granite.oak.s3connect...

Avatar

Level 3

With 1.10.0 there is an activation but with errors also.

 

Captura de pantalla 2020-05-26 a las 15.18.21 copia.png

At error.log I can see this message:

25.05.2020 16:33:20.670 *INFO* [FelixStartLevel] org.apache.jackrabbit.oak-blob-cloud Service [org.apache.jackrabbit.oak.blob.cloud.s3.S3DataStore,815, [org.apache.jackrabbit.oak.spi.blob.BlobStore, org.apache.jackrabbit.oak.spi.blob.GarbageCollectableBlobStore, org.apache.jackrabbit.oak.api.blob.BlobAccessProvider]] ServiceEvent REGISTERED
25.05.2020 16:33:20.671 *ERROR* [FelixStartLevel] org.apache.aries.jmx.whiteboard.MBeanHolder register: Failure registering MBean org.apache.jackrabbit.oak.plugins.blob.BlobStoreStats@445351d
javax.management.InstanceAlreadyExistsException: org.apache.jackrabbit.oak:name=DataStoreBlobStore,type=BlobStoreStats
at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)

 

Thank you.

Regards,

Avatar

Employee

It looks like this error is specific to your instance. I do not see such errors.

26.05.2020 10:55:40.661 *INFO* [FelixStartLevel] org.apache.jackrabbit.oak-blob-plugins Service [698, [org.apache.jackrabbit.oak.spi.blob.stats.BlobStoreStatsMBean]] ServiceEvent REGISTERED

Screenshot at May 26 11-19-00.png

 

Avatar

Level 1

Hi vish_dhaliwal,

 

Am facing a issue while connecting S3 connector 1.10.10 with aem, am trying to access the adobe repo site, its in down for almost 2 weeks, can u able to share the s3 connector version 1.10.0 to me via mail or to reply post also.