Problems facing in up-gradation from Adobe CQ5.5 to AEM 6.1 | Community
Skip to main content
Level 2
October 16, 2015
Solved

Problems facing in up-gradation from Adobe CQ5.5 to AEM 6.1

  • October 16, 2015
  • 13 replies
  • 2612 views

Hi,

I am trying to follow the steps in https://docs.adobe.com/docs/en/aem/6-1/deploy/upgrade.html.

After trying the command "java -jar aem-quickstart-6.1.0.jar -v -x crx2oak" .It is throwing the exception,

Preparing to execute extension /C:/Users/ND%20-%20Yvonne/Desktop/author%20%20backup/crx-quickstart/opt/extensions/crx2oak-quickstart-extension.jar
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:862)
        at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:940)
Caused by: java.lang.ExceptionInInitializerError
        at com.adobe.granite.crx2oak.quickstart.extension.Main.getHelpFormatter(Main.java:131)
        at com.adobe.granite.crx2oak.quickstart.extension.Main.<init>(Main.java:142)
        at com.adobe.granite.crx2oak.quickstart.extension.Main.main(Main.java:392)
        ... 6 more
Caused by: com.adobe.granite.crx2oak.quickstart.extension.exceptions.CRX2OakException: Cannot find file /C:/Users/ND%20-%20Yvonne/Desktop/author%20%20backup/crx-quickstart/opt/extensions/crx2oak-quickstart-extension.jar
        at com.adobe.granite.crx2oak.quickstart.extension.jar.JarFile.<init>(JarFile.java:44)
        at com.adobe.granite.crx2oak.quickstart.extension.ExtensionInfo.<clinit>(ExtensionInfo.java:33)
        ... 9 more
Quickstart: aborting.

I am able to find the file, crx2oak-quickstart-extension.jar in the  above mentioned path.

Please help me  out..

Thanks much,Veeru

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 ogill

Hi Veeru,

please check with the developers about the packages not being installed.

The following error is strange: 

Caused by: java.io.FileNotFoundException: .crx-quickstart\repository
epositorydatastore\repository-c862c9b6-2706-45ec-bec6-a2e8324eb7a8 (The filename, directory name, or volume label syntax is incorrect)

The following path is obviously wrong: "epositorydatastore\repository-c862c9b6-2706-45ec-bec6-a2e8324eb7a8 "

What changes did you make as far as the known issues go? I take it you removed spaces in the folder path, but did you update the cfg file:

  • Update to 6.1 from 5.x and 6.0+CRX2 fails on Windows due to backslashes written to FileDataStore.cfg. Workaround is to modify the 'org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.cfg' file with datastore path before we run Migration command (CQ-42291)

Regards,

Opkar

13 replies

Adobe Employee
October 16, 2015

Hi Veeru,

unfortunately this looks like an exception occurred during startup. The above error is a symptom and not the cause. The actual exception causing this will be before the above message in your crx/quickstart/logs/error.log file

Did you run your migration from a copy of your original or just carry on with the partially migrated instance? It would be best to start the migration process from a copy of the original instance.

Regards,

Opkar

Level 2
October 16, 2015

Hi Gill,

Thank you very much.

Successfully migrated to AEM 6.1,But unable to start..Please find the below exception in error.log.

20.08.2015 13:46:43.993 *ERROR* [qtp190485129-83] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
20.08.2015 13:46:43.993 *ERROR* [qtp190485129-83] org.apache.sling.engine.impl.SlingHttpContext handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.

Please find the  attached screenshot. Thank you..

Thanks much,Veeru

Adobe Employee
October 16, 2015

Hi Veeru,

please review the known issues for upgrading to AEM6.1[1], there are specific issues for windows.

Regards,

Opkar

[1] http://docs.adobe.com/docs/en/aem/6-1/release-notes/known-issues.html