Can I set the runtime name of a deployment by configuring a XML file inside .war file?
besides the file name of the .war, is there a way to configure the name and runtime name of a deployment using XML?
Can I set the runtime name of a deployment by configuring a XML file inside .war file?
besides the file name of the .war, is there a way to configure the name and runtime name of a deployment using XML?
You can do it in jboss-web.xml and place that in WEB-INF. Here is sample.
<?xml version="1.0"?> <jboss-web><context-root>Hello</context-root></jboss-web>
Read more here Changing Context Root