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.

Inplace Migration From 5.56 to 6.2

Avatar

Level 4

Hi,

I followed following link:-https://docs.adobe.com/docs/en/aem/6-2/deploy/upgrade.html

Steps:

1) Disable the custom login module

2)  stop the instances

3) place the aem-6.2.jar  file parallel to aem-5.56.jar.

4). Run following commands:

a). java -jar aem-quickstart-6.2.0.jar -unpack

b). java -jar aem-quickstart-6.2.0.jar -v -x crx2oak

c). java -jar aem-quickstart-6.2.0.jar -v -x crx2oak

I  edited  the org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.cfg file that has been generated under crx-quickstart/install. like these path=./crx-quickstart/repository/repository/datastore

d) java -Xmx4096m -XX:MaxPermSize=2048M -jar aem-quickstart-6.2.0.jar -v -x crx2oak -xargs -- -o migrate

 e) java -jar aem-quickstart-6.2.0.jar -r author,crx3,crx3tar

But in stderror file following logs are found:-

d constraint in bundle com.adobe.granite.jmx [17]: Unable to resolve 17.0: missing requirement [17.0] package; (package=javax.servlet)
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3439)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
    at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.commons.fileupload [18]: Unable to resolve 18.0: missing requirement [18.0] package; (package=javax.servlet)
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3439)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
    at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.felix.http.whiteboard [23]: Unable to resolve 23.0: missing requirement [23.0] package; (package=javax.servlet)
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3439)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
    at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.felix.webconsole [24]: Unable to resolve 24.0: missing requirement [24.0] package; (&(package=javax.servlet)(version>=2.4.0))
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3439)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
    at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.felix.webconsole.plugins.ds [25]: Unable to resolve 25.0: missing requirement [25.0] package; (package=javax.servlet)
    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3439)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
    at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
    at java.lang.Thread.run(Unknown Source)
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.felix.webconsole.plugins.packageadmin [28]: Unable to resolve 28.0: missing r

It is not running. 

Thanks

4 Replies

Avatar

Level 10

If you are following docs and these errors occur - you need to get Support input - please open a ticket. 

Avatar

Administrator

For your reference read this community article:-

Link:- http://blog.justinedelson.com/2016/04/27/recompile-code-for-aem62.html

// Do I need to recompile my AEM code for 6.2?

Try to do it again, if problem still persist please reach out to day care. 

Also do post the solution here once you overcome the problem.

~kautuk



Kautuk Sahni

Avatar

Level 9

What is the java version?. it seems issue is with some bundle version mismatch. 

Avatar

Administrator

Any updates on this? 

Have you found out any solution to this? Please share the solution here if Support had provided you with the answer.

~kautuk



Kautuk Sahni