I am getting error while running the following command "java -jar crx2oak.jar [source CRX 2 repository] mongodb://remoteserver:27017/aem-author"
the error is :
Exception in thread "main" java.net.UnknownHostException: remoteserver
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
at java.net.InetAddress.getAllByName0(InetAddress.java:1246)
at java.net.InetAddress.getAllByName(InetAddress.java:1162)
at java.net.InetAddress.getAllByName(InetAddress.java:1098)
at java.net.InetAddress.getByName(InetAddress.java:1048)
at com.mongodb.ServerAddress.updateInetAddress(ServerAddress.java:204)
at com.mongodb.ServerAddress.<init>(ServerAddress.java:73)
at com.mongodb.ServerAddress.<init>(ServerAddress.java:46)
at com.mongodb.Mongo.getMongoAuthorityFromURI(Mongo.java:623)
at com.mongodb.Mongo.<init>(Mongo.java:318)
at com.mongodb.MongoClient.<init>(MongoClient.java:269)
at com.adobe.granite.crx2oak.CRX2Oak.crx2oak(CRX2Oak.java:160)
at com.adobe.granite.crx2oak.CRX2Oak.main(CRX2Oak.java:118)
Thanks,
Pavan
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Pavan,
Try with this java -jar cq-quickstart-6.0.0.jar -r crx3,crx3mongo -Doak.mongo.uri=mongodb:
//remoteserver
:27017
/aem-author
Also refer[1] to migrate of MongoDB
[1]
http://docs.adobe.com/docs/en/aem/6-0/deploy/upgrade.html
Thanks,
Lokesh
Views
Replies
Total Likes
Hi Pavan,
Try with this java -jar cq-quickstart-6.0.0.jar -r crx3,crx3mongo -Doak.mongo.uri=mongodb:
//remoteserver
:27017
/aem-author
Also refer[1] to migrate of MongoDB
[1]
http://docs.adobe.com/docs/en/aem/6-0/deploy/upgrade.html
Thanks,
Lokesh
Views
Replies
Total Likes
Also, crx2oak.jar is used to migrate to TarMK and not for MongoMK. You can follow the steps mentioned above to migrate to MongoDB
Views
Replies
Total Likes
The command that you mentioned allows you to have an AEM 6 instance running with MongoDB.
Assuming I have my content in tarmk in AEM 6 and for some reason I need to migrate to mongodb, how would I do that.
Siba
Views
Replies
Total Likes
Hi,
Migration from TarMK to MongoMK is not yet supported (TarPM -> MongoMK & TarPM -> TarMK are both supported using crx2oak). If you want to track this issue, watch https://issues.apache.org/jira/browse/OAK-1859 and file a DayCare issue so that this issue can be properly prioritized.
Regards,
Justin
Views
Replies
Total Likes