]
Brian Stansberry resolved WFLY-9640.
------------------------------------
Assignee: Brian Stansberry (was: Stuart Douglas)
Resolution: Won't Do
The runtime name needs to be known before any code that could extract it from a deployment
descriptor etc could run.
The runtime name can be set in standalone.xml (or domain.xml in a managed domain.)
Configuring deployment runtime name with XML
--------------------------------------------
Key: WFLY-9640
URL:
https://issues.jboss.org/browse/WFLY-9640
Project: WildFly
Issue Type: Feature Request
Components: Application Client, Server
Affects Versions: 10.1.0.Final, 11.0.0.Final
Reporter: dbdbdb dbdbdb
Assignee: Brian Stansberry
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.