Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.7
-
None
-
None
Description
When application.xml is generated for an EAR project. The Cactus web application's context root is the same as the web application's context root. This is not allowed. Therefore I suggest the following chanage:
<x:element name="application">
<x:element name="display-name">${pom.name} for Cactus</x:element>
<!-- cactus war file -->
<x:element name="module">
<x:element name="web">
<x:element name="web-uri">${cactus.war.name}</x:element>
<x:element name="context-root">${cactus.war.context.root}</x:element>
</x:element>
</x:element>
The user can define cactus.war.context.root but it may default to 'cactus'