I get the following information about jboss-portlet.xml from the reference of jboss portal .
Beware of context-path change. If the context-path change the portal may not be able to find a reference on your portlets anymore. For that reason it's recommended to add the following descriptor WEB-INF/jboss-portlet.xml which is not mandatory: