Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.2 final
-
Fix Version/s: 1.2.1
-
Component/s: None
-
Labels:None
-
Environment:Mac OSX 10.6 Snow Leopard
Grails 1.2
Java 1.6
Description
The generated web.xml contains duplicate mapping of an error page for error code 500:
...
<error-page>
<error-code>500</error-code>
<location>/grails-errorhandler</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/grails-errorhandler</location>
</error-page>
...
There are no plugins installed, the UrlMappings are as created by grails create-app (i.e. the default mapping for error code 500)
Steps to reproduce:
- create a simple application
grails create-app myapp
cd myapp
- create the the war file
grails war
- see generated web.xml
unzip -p target/myapp-0.1.war WEB-INF/web.xml | xmllint --format -
Issue Links
| This issue duplicates: | ||||
| GRAILS-5661 | Deployment fails on Weblogic due to duplicate web.xml entry. |
|
|
|
prevents deployment on weblogic