[
https://issues.jboss.org/browse/AS7-5444?page=com.atlassian.jira.plugin.s...
]
Chao Wang commented on AS7-5444:
--------------------------------
Its the name and runtime-name in deployers we choose to log message,
For example : use ServerLogger.ROOT_LOGGER.deploymentDeployed(deploymentUnitName); Or
ServerLogger.ROOT_LOGGER.deploymentDeployed(managementName);
However, it looks like all LOG messages used deploymentUnitName instead of managementName,
Isn't it the expected action to use runtime-name here?
runtime-name is used when logging deploy and undeploy
-----------------------------------------------------
Key: AS7-5444
URL:
https://issues.jboss.org/browse/AS7-5444
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.1.2.Final (EAP)
Reporter: Cheng Fang
Fix For: 7.2.0.Alpha1
deploy a war and specify its runtime-name, and undeploy it:
{noformat}
deploy --runtime-name=nnn.war /Users/cfang/tmp/hello.war
undeploy hello.war
{noformat}
In the server log it used the runtime-name to refer to the deployed and undeployed war,
whereas I think the name (hello.war) should be used for this purpose.
{noformat}
10:21:45,598 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876:
Starting deployment of "nnn"
10:21:45,853 INFO [org.jboss.as.server] (management-handler-thread - 1) JBAS018559:
Deployed "nnn"
10:22:19,016 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877:
Stopped deployment nnn in 25ms
10:22:19,021 INFO [org.jboss.as.repository] (management-handler-thread - 1) JBAS014901:
Content removed from location
/Users/cfang/as/standalone/data/content/33/6fe6448f88e335b46336d8509869c990c700fc/content
10:22:19,021 INFO [org.jboss.as.server] (management-handler-thread - 1) JBAS018558:
Undeployed "nnn"
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira