[
https://issues.jboss.org/browse/AS7-3204?page=com.atlassian.jira.plugin.s...
]
Jean-Frederic Clere commented on AS7-3204:
------------------------------------------
that is not "misleading" the parser knows we support only on virtual-host and
fails the parsing and tells clearly what is wrong.
Fail to deploy war with reference to more than one virtual-host
---------------------------------------------------------------
Key: AS7-3204
URL:
https://issues.jboss.org/browse/AS7-3204
Project: Application Server 7
Issue Type: Bug
Components: Web
Reporter: Luis Barreiro
Assignee: Jean-Frederic Clere
When deploying a war with the following jboss-web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 5.0//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
<jboss-web>
<virtual-host>virtual.host</virtual-host>
<virtual-host>virtual.alias</virtual-host>
</jboss-web>
one gets the exception
MSC00001: Failed to start service
jboss.deployment.unit."jbossweb-virtual-host.war".PARSE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."jbossweb-virtual-host.war".PARSE: Failed to process phase
PARSE of deployment "jbossweb-virtual-host.war"
[...]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to
parse "/content/jbossweb-virtual-host.war/WEB-INF/jboss-web.xml" at [5,5]
at
org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:68)
[...]
that is, at least, misleading, because the XML is well formatted and is valid.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira