Portal Default Context root (/wps) can be changed after the installation for websphere portal and Portlets.
The below context roots cannot be changed.
1) Stop the Web Sphere Portal Server.
2) log on to the portal server and navigate to {wp_profile_root}/ConfigEngine/properties
3) Make a backup of wkplc.properties. and edit the original wkplc.properties file
4) change the value of WpsContextRoot property from wps to the value you want to change it to.
see the screenshot below.
save and close the file.
Open Command Prompt and go to {wp_profileroot}/configEngine directory and run the following command
Start your portal server and you can asses your portal using the new context root instead of wps. in my case its /venkatportal.
Run the following steps if you want to change the context root for the portlets as well.
The below context roots cannot be changed.
- /wps_semanticTag
- /portal_dojo
- /mum
- /EnhancedTheme
- CNHTheme
- /dp6/
1) Stop the Web Sphere Portal Server.
2) log on to the portal server and navigate to {wp_profile_root}/ConfigEngine/properties
3) Make a backup of wkplc.properties. and edit the original wkplc.properties file
4) change the value of WpsContextRoot property from wps to the value you want to change it to.
see the screenshot below.
save and close the file.
Open Command Prompt and go to {wp_profileroot}/configEngine directory and run the following command
- UNIX™: ./ConfigEngine.sh modify-servlet-path -DPortalAdminPwd=password -DWasPassword=password
- Windows™: ConfigEngine.bat modify-servlet-path -DPortalAdminPwd=password -DWasPassword=password
Start your portal server and you can asses your portal using the new context root instead of wps. in my case its /venkatportal.
Run the following steps if you want to change the context root for the portlets as well.
- UNIX: ./ConfigEngine.sh modify-servlet-path-portlets -DPortalAdminPwd=password -DWasPassword=password
- Windows: ConfigEngine.bat modify-servlet-path-portlets -DPortalAdminPwd=password -DWasPassword=password
after i run the command i get error
ReplyDeleteAccess denied
did the command run successfully and you got error when you try to go to home page? did the command itself fail with access denied error?
Delete