Changing the WebSphere Portal URI to custom URI
I just updated my local WebSphere Portal env to Portal V8.5 and wanted to change the Portal URL from 'wps' to some custom uri. To make this happen I followed following steps in my local Portal.
Stop the WebSphere_Portal server.
- Open the the wkplc.properties and wkplc_comp.properties files in the /wp_profile_root/ConfigEngine/properties directory in some text editor.
- Open the wkplc.properties file and enter the value for your environment in the WpsContextRoot property. Save and close the file.
- Open the wkplc_comp.properties file and enter the appropriate value for your environment in the following properties:
WsrpContextRoot
WpsPersonalizedHome
WpsDefaultHome
Note : Do not enter the same value for WpsPersonalizedHome and WpsDefaultHome.
- Re Start the WebSphere_Portal server.
- Once again go to the /wp_profile_root/ConfigEngine directory using Command prompt and run the following task:
In Linux :./ConfigEngine.sh modify-servlet-path -DPortalAdminPwd=password -DWasPassword=password
In Windows: ConfigEngine.bat modify-servlet-path -DPortalAdminPwd=password -DWasPassword=password
Note: Check the output for any error messages before you proceed with the next task. If any of the configuration tasks fail, verify the values in thewkplc.properties and wkplc_comp.properties files.
- Again from the Comand prompt Run the following task to change the context root for the portlets:
Linux: ./ConfigEngine.sh modify-servlet-path-portlets -DPortalAdminPwd=password -DWasPassword=password
Windows: ConfigEngine.bat modify-servlet-path-portlets -DPortalAdminPwd=password -DWasPassword=password
Restart the WebSphere_Portal server.
- Verify the Portal URL now, should be pointing to the new custom URL.
Comments
Post a Comment