Is it possible to change the context-root in application.xml (ear) at runtime?
I would like to change the context-root from i.e. /usr to /newusr without to recompile the ear file. The changes should be set inside my application or in another configuration file (outside the ear file). Right now I have to hardcode this:
Do I have to applied all 100 context-root inside the application.xml if they use the same ear file. Another solution is to make ant build a application.xml for each customers but it can be differcult to manage if you have over 100 costumers. The best way is that each costumers can change the context-path in a configuration file outside the application(ear) or inside the application(ear) dynamic i.e. from web-interface via the context-path /adm
subject: change context-root in application.xml at runtime