{"id":37779,"date":"2015-06-24T05:54:11","date_gmt":"2015-06-24T12:54:11","guid":{"rendered":"http:\/\/localhost\/exoblog\/?p=9047"},"modified":"2023-07-03T13:48:02","modified_gmt":"2023-07-03T11:48:02","slug":"jboss-portal-migration-guide-from-jpp-5-2-to-exo-platform-4-2-in-a-blink","status":"publish","type":"post","link":"https:\/\/www.exoplatform.com\/blog\/jboss-portal-migration-guide-from-jpp-5-2-to-exo-platform-4-2-in-a-blink\/","title":{"rendered":"JBoss Portal Migration Guide: From JPP 5.2 to eXo Platform 4.2 in a blink"},"content":{"rendered":"<p><a href=\"https:\/\/www.exoplatform.com\/blog\/jboss-portal-migration-guide-from-jpp-5-2-to-exo-platform-4-2-in-a-blink\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-9048\" src=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2015\/06\/migration-guide-JBoss-Portal-eXo-Platform.png\" alt=\"migration-guide-JBoss-Portal-eXo-Platform\" width=\"650\" height=\"220\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2015\/06\/migration-guide-JBoss-Portal-eXo-Platform.png 650w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2015\/06\/migration-guide-JBoss-Portal-eXo-Platform-300x102.png 300w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2015\/06\/migration-guide-JBoss-Portal-eXo-Platform-500x169.png 500w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2015\/06\/migration-guide-JBoss-Portal-eXo-Platform-360x122.png 360w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2015\/06\/migration-guide-JBoss-Portal-eXo-Platform-200x68.png 200w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2015\/06\/migration-guide-JBoss-Portal-eXo-Platform-100x34.png 100w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2015\/06\/migration-guide-JBoss-Portal-eXo-Platform-70x24.png 70w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>As with previous JBoss Portal Platform (JPP or EPP) versions, we will see in this guide how to migrate easily from JPP 5.2 to eXo Platform 4.2.<br \/>\n<!--more--><\/p>\n<h2>Installation<\/h2>\n<ul>\n<li>Download <a href=\"https:\/\/repository.exoplatform.org\/content\/groups\/public\/org\/exoplatform\/addons\/staging\/staging-extension-jpp\/2.3.3\/staging-extension-jpp-2.3.3.zip\" target=\"_blank\" rel=\"noopener\">Staging Extension &#8211; JPP package<\/a><u>.<\/u><\/li>\n<li>Extract this archive into the root folder of your JPP server.<\/li>\n<\/ul>\n<h2>Steps<\/h2>\n<p>We will follow exactly the same steps described in a <a href=\"https:\/\/www.exoplatform.com\/blog\/great-and-easy-guide-for-migrating-from-epp-5-2-to-exo-platform-4\/\">previous migration procedure<\/a>:<\/p>\n<p>1. Start the EPP server.<\/p>\n<p>2. Connect using an SSH client:<\/p>\n<pre class=\"lang:default decode:true \">ssh -p 2001 root@localhost\r\nmgmt connect<\/pre>\n<p>3. Export the site resources. These resources contain all the portal, group and user sites and pages:<\/p>\n<pre class=\"lang:default decode:true \">cd mop\/portalsites\r\nexport -f \/any_path\/mop.zip<\/pre>\n<p><em><u>Note:<\/u><\/em> The exported file will contain the files pages.xml, navigation.xml and portal.xml for all websites.<\/p>\n<p>4. Export the application registry resources:<\/p>\n<pre class=\"lang:default decode:true \">cd registry\r\nexport -f \/any_path\/registry.zip<\/pre>\n<p><em><u>Note:<\/u><\/em> The exported file will contain configuration files that can be used in a WAR configuration extension.<\/p>\n<p>5. If you have defined new gadgets, you will have to export the gadget resources:<\/p>\n<pre class=\"lang:default decode:true \">cd gadget\r\nexport -f \/any_path\/gadget.zip<\/pre>\n<p><em><u>Note:<\/u><\/em> The exported file will contain a JCR export of each gadget. All remote and local gadgets will be exported.<\/p>\n<p>6. Stop the JBoss EPP server.<\/p>\n<p>7. Copy your custom applications (portlets) and GateIN extensions into eXo Platform 4 (EAR, JAR, WAR, etc.).<\/p>\n<p><em><u>Important:<\/u><\/em> If you use eXo Platform 4.2 with Apache Tomcat 7, then copy the custom JAR in Tomcat\/lib and custom WAR in Tomcat\/webapps.<\/p>\n<p>8. Copy the IDM data source configuration from the JBoss EPP 5.2 server to the eXo Platform 4.2 server.<\/p>\n<p>9. Start eXo Platform 4.2.<\/p>\n<p>10. Connect using an SSH client:<\/p>\n<pre class=\"lang:default decode:true \">ssh -p 2001 root@localhost\r\nmgmt connect<\/pre>\n<p>11. Import the gadget resources that you exported from EPP:<\/p>\n<pre class=\"lang:default decode:true \">cd gadget\r\nimport -f \/same_path\/gadget.zip<\/pre>\n<p>12. Import the application registry resources that you exported from EPP:<\/p>\n<pre class=\"lang:default decode:true \">cd registry\r\nimport -f \/same_path\/registry.zip<\/pre>\n<p>13. Import the site resources that you exported from EPP:<\/p>\n<pre class=\"lang:default decode:true \">cd mop\r\nimport -f \/same_path\/mop.zip<\/pre>\n<p>14. Test your modifications.<\/p>\n<p>That\u2019s all you need to do. Now you should be able to see your portal working with eXo Platform 4. Enjoy!<\/p>\n<h2>Previous articles<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.exoplatform.com\/blog\/great-and-easy-guide-for-migrating-from-epp-5-2-to-exo-platform-4\/\">Great and Easy Guide for Migrating from JBoss Enterprise Portal Platform 5.2 to eXo Platform 4<\/a><\/li>\n<li><a href=\"https:\/\/www.exoplatform.com\/blog\/another-great-guide-migrating-from-jboss-portal-6-to-exo-platform-4-in-a-blink\/\">Another Great Guide: Migrating From JBoss Portal 6 to eXo Platform 4 in a Blink<\/a><\/li>\n<\/ul>\n<div style=\"text-align: center;\">Get your FREE Migration to eXo Platform!<\/div>\n<p><!--begin adv-events--><\/p>\n<div class=\"adv-events\" style=\"background: #476fad; padding: 30px 20px; color: white;\">\n<div class=\"media\">\n<div class=\"pull-right\"><a href=\"https:\/\/www.exoplatform.com\/contact-us\/\"><br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-6587 alignright\" src=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2014\/02\/how-to-make-the-most-of-eXo-platform41.png\" alt=\"make-the-most-out-of-eXo-platform4\" width=\"161\" height=\"85\" \/><br \/>\n<\/a><\/div>\n<div class=\"media-body\">\n<h4 class=\"media-heading\">Make the most out of eXo Platform 4<\/h4>\n<p>Register to the next weekly live demo session and get a complete overview of what you can do with eXo Platform 4. <strong><a href=\"https:\/\/www.exoplatform.com\/contact-us\/\">Reserve your seat now!<\/a><\/strong><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!--end adv-events--><\/p>\n","protected":false},"excerpt":{"rendered":"As with previous JBoss Portal Platform (JPP or EPP) versions, we will see in this guide how to migrate easily from JPP 5.2 to eXo Platform 4.2.","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[699],"tags":[],"lang":"en","translations":{"en":37779},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/posts\/37779"}],"collection":[{"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/comments?post=37779"}],"version-history":[{"count":0,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/posts\/37779\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/media?parent=37779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/categories?post=37779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/tags?post=37779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}