Just as I thought. I had included the portal-api.jars in my portlet-war file. This made
the code confused because the ContextImpl was already loaded from the jboss-portal.sar.
Therefor the ClassCastException.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035972#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...