[
https://issues.jboss.org/browse/AS7-4219?page=com.atlassian.jira.plugin.s...
]
Remy Maucherat resolved AS7-4219.
---------------------------------
Resolution: Duplicate Issue
AS7-2854
Invalid descriptor doesn't rejected - requirement of
<servlet-name> uniqueness by specs.
----------------------------------------------------------------------------------------
Key: AS7-4219
URL:
https://issues.jboss.org/browse/AS7-4219
Project: Application Server 7
Issue Type: Bug
Components: Web
Affects Versions: 7.1.2.Final
Reporter: Pavel Janousek
Assignee: Remy Maucherat
Invalid web.xml deployment descriptor like this:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
metadata-complete="false">
<servlet>
<servlet-name>ConflictServlet</servlet-name>
<servlet-class>org.jboss.as.test.integration.web.servlet.deployment.DummyServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>ConflictServlet</servlet-name>
<servlet-class>org.jboss.as.test.integration.web.servlet.deployment.DummyServlet</servlet-class>
</servlet>
</web-app>
{code}
isn't rejected during deploying a such WAR application.
Uniqueness of <servlet-name> is requirement of Servlet deployment descriptor.
--
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