Friday, November 14, 2008

Portal Server Administration Link Missing...

I have recently experienced the an issue with IBM Portal Server 5.1. I have installed the Portal server and it was working fine, after few days i was experimenting with the theme which cost me a lot. After changing the theme when i came back to 'my portal', the administration link was no more available. After lods of google and other search, finally i found the solution to this issue. Sharing with you so that this could help you, if you are in similar situation. The solution is to Reset the theme setting using XMLAccess of the portal server.

Steps are as follows to reset the theme setting of Portal Server:
1. Start the portal server.
2. Go to command prompt \PortalServer\bin
3. Create a xml file inside the same folder (easy to use)
export.xml (export all administration label and pages) the content should be:




On command promt use:
command promt>xmlaccess.bat -in export.xml -user wpsadmin -user wpsadmin -url http://localhost:9081/wps/config -out adminpage.xml
Note:URL you need to replace with your system specific.

4. Next, modify the same export.xml replace the content with.







5. Execute following command
command prompt> xmlaccess.bat -in export.xml -user wpsadmin -user wpsadmin -url http://localhost:9081/wps/config -out themeSetting.xml
Note:URL you need to replace with your system specific.

6. Now search for content-node in adminpage.xml and then for wps.administration then change themeref to default theme object id.
7. Open the themeSetting.xml change the wps.theme.webSphere as default=true and make other theme as default=false.
8. Import both xml to server using following commands.
command prompt> xmlaccess.bat -in adminpage.xml -user wpsadmin -user wpsadmin -url http://localhost:9081/wps/config

command prompt> xmlaccess.bat -in themeSetting.xml -user wpsadmin -user wpsadmin -url http://localhost:9081/wps/config
Note:URL you need to replace with your system specific.

9. Re-start you portal server, you could see you administration link is back.

All the best !! and leave your comments.

No comments:

Post a Comment