Wednesday 10 December 2014

Changing the portal URI after an installation in websphere portal server 8.5


  •           Stop the WebSphere_Portal server.
  •            Locate the wkplc.properties and wkplc_comp.properties files in the wp_profile_root/ConfigEngine/properties directory and create backup copies before you change any values.
  •       Change the WpsContextRoot property in wkplc.properties            WpsContextRoot=wps                                                                                                    to                                                                                                WpsContextRoot=wp85
  •        Change properties in wkplc_comp.properties                        WsrpContextRoot=wps/wsrp to WsrpContextRoot=wps85/wsrp          WpsPersonalizedHome=myportal to WpsPersonalizedHome=wp85myportal   WpsDefaultHome=portal  to  WpsDefaultHome=wp85portal                     Attention: Do not enter the same value for WpsPersonalizedHome and      WpsDefaultHome.
  •         Start the WebSphere_Portal server.                                                                              
  •          To change the context root for the values that you entered in the WpsContextRoot, WsrpContextRoot, WpsPersonalizedHome, and or WpsDefaultHome properties ,run the following command                                                                           ConfigEngine.bat modify-servlet-path -DPortalAdminPwd=password -DWasPassword=password 
  •       Restart the WebSphere_Portal server.    
  •       To change the context root for the values that you entered in the WpsContextRoot, WsrpContextRoot, WpsPersonalizedHome, and or WpsDefaultHome properties ,run the following command                                                                              ConfigEngine.bat modify-servlet-path-portlets-DPortalAdminPwd=password -DWasPassword=password


  •              Navigate to C:\IBM\WebSphere\PortalServer\wcm\prereq.wcm\config\nodetypes,in ibmcontentwcm.registernodetypes , Update all lines that contain the         <ApplicationURI name="wps/mypoc/?view=auth&uri=wcm:oid:"/>                                  to                                                                                                                 <ApplicationURI name="wp85/mypoc/?view=auth&uri=wcm:oid:"/>

  •         Run the following ConfigeEngine:                                                                  ConfigEngine.bat action-register-wcm-nodetypes -DWasPassword=passw0rd_123 -DPortalAdminPwd=passw0rd_123 
  • ·      Run SELECT * FROM "JCR"."ICMSTJCRNODEREGISTER" to confirm:
                                                                                                                                 
  •         Log on to WebSphere Portal.Go to Applications > Content > Web Content Management. Under Preferences, select Edit Shared Settings. Under Library Selection, add Web Resources v70 to the Selected Libraries list. Click OK. Under Item Views, select All Items > All > Components > JSP. Select every JSP component from the Web Resources v70 library and then click Edit. Update the Path field for every JSP component with the new context root path.Change                                              /wcmextension;…
          to
           /wps85/ /wcmextension;……   

  •         Log on to WebSphere Portal as the administrator. Click the Administration menu icon in the toolbar. Click Search Administration > Manage Search. Click Search Collections. Click the search collection that you want to update. For example: Default Search Collection.

              
  •     Click the Edit Content Source icon for the first content source in the list. Edit the URL listed in the Collect documents link from the URL with the new context root. Click Save. Edit the URL in each remaining Log in to the WebSphere Integrated Solutions Console. Go to Applications > Application Types > WebSphere enterprise applications. Click the Seedlist_Servlet application link. Click Context Root For content source and then save your changes.
  •       Web Modules.Change the context root and then click OK.
  •      Run the following task to create the WebSphere environment variables for Web               Content  Manager:                                                                             
          ConfigEngine.bat create-wcm-servletpath-variables          DServerName=WebSphere_Portal -DWasPassword=passw0rd_123                

     Please refer wkplc.properties, for ServerName property.




No comments:

Post a Comment