Robert,
I am fairly sure you are using GateIn Portlet Container 2.1 with JBoss AS 5.1. Can you confirm that?
The issue with this container is fixed within https://jira.jboss.org/browse/JBIDE-6719
Reply to this message by going to Community
Start a new discussion in JBoss Tools Development at Community