I’m following the installation guide for the Amazon S3 Data Store:
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:
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:
But one dependency it cannot resolve is clearly installed and activated:
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,
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
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.
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 ?
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.
Views
Replies
Total Likes
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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.
Thank you.
Regards.
Views
Replies
Total Likes
You should use S3 connector of ver 1.6.x
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'.
Views
Replies
Total Likes
Views
Replies
Total Likes
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.
With 1.10.0 there is an activation but with errors also.
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,
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies