Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-449

resteasy.unwrapped.exceptions context parameter cannot be overriden

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2.1-beta-1
    • 2.0.GA
    • None
    • None

      resteasy-deployer sets the "resteasy.unwrapped.exceptions" context parameter independently on whether the parameter has been in web.xml or not. This results in loss of user's setup.

      The code:
      ResteasyIntegrationDeployer.setContextParameter(webdata, ResteasyContextParameters.RESTEASY_UNWRAPPED_EXCEPTIONS, "javax.ejb.EJBException");

      RESTEasy deployer should check for existence of the context parameter in the servlet context and only set the parameter if it hasn't been specified.

            rhn-engineering-jharting Jozef Hartinger
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: