Sorry wrong duplicated message and right name is jboss-portlet.xml
Sorry one more time....
Thank you Wesley for your fast answer. It seems that in your code there are two portlets packed in the same war file, isn't it (relative path is the same and share same descriptor file)? In my question I was trying to do a reference to an externe file but also packed in a different WAR file, e.g.:
in jboss-portlet.xml in MY_FILE_A.war:
and in jboss-portlet.xml in MY_FILE_B.war:
But this last reference does not work. Maybe am I wrong with this approach?
Thank you very much one more time.
I think the jboss-portlet.xml may add the servlet context (can't remember), but just see how your prtlet renders it locally by viewing html source. Then use that path in your other portlet, however you may need to create a top level template and ref your css and js in that.