Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Error upgrading from AEM6.0 to AEM6.2

Avatar

Level 4

Hi Team,

I am facing issue in upgrading the AEM6.0 to AEM6.2 with the below error . Please help me to get the resolution

27.10.2016 08:03:21.779 *ERROR* [com.adobe.granite.crx2oak.quickstart.extension.Main] Main.java:352  Repository migration failed.
java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_101]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_101]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_101]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_101]
        at com.adobe.granite.crx2oak.quickstart.extension.Main.<init>(Main.java:321) [crx2oak-quickstart-extension.jar:1.0.16]
        at com.adobe.granite.crx2oak.quickstart.extension.Main.main(Main.java:396) [crx2oak-quickstart-extension.jar:1.0.16]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_101]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_101]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_101]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_101]
        at com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:862) [aem-quickstart-6.2.0.jar:0.0.0.0_0_0_6_2_]
        at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:940) [aem-quickstart-6.2.0.jar:0.0.0.0_0_0_6_2_]
Caused by: java.nio.channels.OverlappingFileLockException: null
        at sun.nio.ch.SharedFileLockTable.checkList(Unknown Source) ~[na:1.8.0_101]
        at sun.nio.ch.SharedFileLockTable.add(Unknown Source) ~[na:1.8.0_101]
        at sun.nio.ch.FileChannelImpl.lock(Unknown Source) ~[na:1.8.0_101]
        at java.nio.channels.FileChannel.lock(Unknown Source) ~[na:1.8.0_101]
        at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.<init>(FileStore.java:498) ~[na:na]
        at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.<init>(FileStore.java:91) ~[na:na]
        at org.apache.jackrabbit.oak.plugins.segment.file.FileStore$Builder.create(FileStore.java:359) ~[na:na]
        at org.apache.jackrabbit.oak.upgrade.cli.node.SegmentFactory.create(SegmentFactory.java:52) ~[na:na]
        at org.apache.jackrabbit.oak.upgrade.cli.node.StoreFactory.create(StoreFactory.java:56) ~[na:na]
        at org.apache.jackrabbit.oak.upgrade.cli.MigrationFactory.createTarget(MigrationFactory.java:73) ~[na:na]
        at org.apache.jackrabbit.oak.upgrade.cli.MigrationFactory.createSidegrade(MigrationFactory.java:62) ~[na:na]
        at org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.sidegrade(OakUpgrade.java:69) ~[na:na]
        at org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.migrate(OakUpgrade.java:55) ~[na:na]
        at com.adobe.granite.crx2oak.CRX2Oak.main(CRX2Oak.java:78) ~[na:na]
        ... 12 common frames omitted

 

Thanks in advance

4 Replies

Avatar

Level 10

Consult with the AEM docs here:

https://docs.adobe.com/docs/en/aem/6-2/deploy/upgrade.html

Make sure that you are following all the information. 

Avatar

Level 10

Consult with the AEM docs here:

https://docs.adobe.com/docs/en/aem/6-2/deploy/upgrade.html

Make sure that you are following all the information. 

Avatar

Level 1

Hi SumitSinghal/Smacdonald

I am also facing the same error/issue during AEM 6.0 to 6.2 upgrade.

I have followed all the steps mentioned https://docs.adobe.com/docs/en/aem/6-2/deploy/upgrade.html 

This is happening while executing the command (java -jar AEM_6.2_Quickstart.jar -v -x crx2oak -xargs -- -o migrate) while repository Migration.

Please help resolve.

Thanks in advance.

Avatar

Employee

What is in your upgrade.log file and stdout.log, can you attach them?

Does the process work for you if you take a vanilla 6.0 and upgrade it to 6.2?

Regards,

Opkar