Grails

Duplicate page mapping for error code 500

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker 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:

  1. create a simple application
    grails create-app myapp
    cd myapp
  1. create the the war file
    grails war
  1. see generated web.xml
    unzip -p target/myapp-0.1.war WEB-INF/web.xml | xmllint --format -

Issue Links

Activity

Hide
Graeme Rocher added a comment -

prevents deployment on weblogic

Show
Graeme Rocher added a comment - prevents deployment on weblogic

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: