Migrating to WebSphere Portal 6.1

Recently (late though..) we migrated our portal application from Websphere Portal 5.1 to Websphere Portal 6.1 using RAD 7. Initially we had some issues in getting the environment ready. Even sample projects was not getting published. Server was just showing "Starting..." and never finished. Due to this the projects never got published.
After googling found this was issue with RAD and upgrading RAD from 7.0.0 to 7.0.5 solved this issue.

Migration Steps I followed

1. Created a dummy FacesPortlet Project in RAD 7.x and take the follwing jar files.
jsf-api.jar, jsf-ibm.jar , jsf-impl.jar , jsf-impl-messages.jar , jsf-portletbridge.jar
Update your jar files with the above files. jsf-portletbridge.jar will not be there in the old project.


2. Extend the portlet with FacesPortlet
public class MyPortlet extends FacesPortlet
previously I had
public class MyPortlet extends FacesGenericPortlet

3. Remove com.ibm.faces.context.PortletFacesContextFactoryImpl from faces-config.xml
This is the faces-config I created newly.



This will be the minimal chages to get your Portlet initialized. But to get the User and Group info there are some minor changes in PUMA API. Also to locate the faces context need some changes. Steps I followed are published as different posts.

No comments:

Post a Comment