This content has been marked as final.
Show 3 replies
-
1. Re: Serious bug if you rename a portal war
julien1 Aug 23, 2007 2:40 PM (in response to webhunter)what happens ?
is it because the name changes so the portlet references are changed ? if so you can have a file jboss-app.xml in WEB-INF and the portal will use it to namespace your portlets instead of using the war file name:<jboss-app> <app-name>portal</app-name> </jboss-app>
-
2. Re: Serious bug if you rename a portal war
webhunter Aug 24, 2007 10:29 AM (in response to webhunter)What happens is the new portlets (after renaming) are not deployed again (or atleast not rendered on the page). I am surprised just renaming a war can have such an effect. ( I could be doing something wrong though ..)
I will have to try the jboss-app.xml approach you have suggested. -
3. Re: Serious bug if you rename a portal war
theute Aug 27, 2007 8:19 AM (in response to webhunter)
JBoss AS names the context of your web application based on the name of the war file as default. If you change the name you change the context, unless you specify it in jboss-web.xml.
The other option is to use Julien's solution.