Oct 29, 2010

How to change WebSphere Portal default URI

By Default, WebSphere Portal has an URI to access portal site, as follows

http ://<WpsHostName>:<WpsHostPort>/<WpsContextRoot>/<WpsDefaultHome>

For Example: http://localhost:10040/wps/portal.

We can change this default URI to access portal site, to better suit the requirements of your organization like http://localhost:10040/coe/samportal.

Follow the steps to change WebSphere Portal default URI:

  • Stop the WebSphere Portal server.
    • a) Open a command prompt and change to the directory wp_profile_root\bin
    • b) Enter the following command to stop WebSphere Portal server
      • stopServer.bat WebSphere_Portal -username admin_userid -password admin_password
  • Locate the wkplc.properties and wkplc_comp.properties files, located in the wp_profile_root/ConfigEngine/properties directories, and create backup copies before changing any values.
  • After making a backup, use a text editor to open the wkplc.properties file and enter the values that are appropriate for your environment.
    • For WpsContextRoot = coe (For example)
  • Save and close the file.
  • After making a backup, use a text editor to open the wkplc_comp.properties file and enter the values that are appropriate for your environment.
    • a) For WsrpContextRoot = coewsrp(For Example)
    • b) For WpsPersonalizedHome = mysamportal(For example)
    • c) For WpsDefaultHome = samportal(For example)
  • Save and close the file.
  • Start server1
    • a) Open a command prompt and change to the directory wp_profile_root\bin
    • b) Enter the following command to stop WebSphere Portal server startServer.bat server1
  • Open a command prompt and change to the wp_profile_root/ConfigEngine directory
  • Perform the following steps to change the WebSphere Portal URI: 

ConfigEngine.bat modify-servlet-path -DPortalAdminPwd=password -DWasPassword=password

  • Restart server1 and the WebSphere_Portal servers.
    • a) Open a command prompt and change to the directory wp_profile_root\bin
    • b) Enter the following command to stop server1 and WebSphere Portal server
      • stopServer.bat server1 -username admin_userid -password admin_password
      • stopServer.bat WebSphere_Portal -username admin_userid -password admin_password
  • Log in to your portal using the new URI.

0 comments:

Text Widget

Copyright © Vinay's Blog | Powered by Blogger

Design by | Blogger Theme by