Details
-
Feature Request
-
Resolution: Won't Do
-
Major
-
None
-
10.1.0.Final, 11.0.0.Final
-
None
Description
In my opinion, Wildfly should have an option to define the name and runtime name of a web application (.war) in a XML file.
Like jboss-web.xml and ejb-jar.xml, it would be great if we could set the runtime name in a XML whatever the .war filename is. It would be very useful, not only to prevent human error when deploying via web console (filling the upload form with wrong runtime name), but also when the applications are deployed by copying the .war file into deployments directory.
The correct runtime name is important because Wildfly uses this name for object serialization (Infinispan, JMS, etc). And if the runtime name changes, Wildfly can't deserialize objects when it was previously serialized.