Changing Websphere Portal context root

I must remember that when changing the Portal context root to REMOVE THE WINDOWS SERVICE .. if you don’t it WILL fail …

so

Step 1 – REMOVE THE WINDOWS SERVICE

Step 2 – change the context root – Edit wkplc.properties file (in ConfigEngine/properties, change WpsContextRoot from wps to < context of your choice >

Step 3 – run ConfigEngine.bat modify-servlet-path –DPortalAdminPwd=password –DWasPassword=password – where password is the Portal / Was Admin passwords

Step 4 – regen and re prop the WebServer plugin file

Step 5 – re-add the service, restart portal and away you go

This note is mainly for my benefit as I ALWAYS forget to remove the windows service !!!!