Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8403

jboss-web.xml is not parsed when no web.xml is present

XMLWordPrintable

      I have Servlet 3 spec. compliant servlet that injects Web Service references.
      I provide jboss-web.xml to override some runtime data (wsdl-location namely).
      However this jboss-web.xml provided file seems ignored.

      I was debugging this problem and I found that
      org.jboss.web.deployers.WarAnnotationMetaDataDeployer
      creates JBossWebMetaData that are later used for Web Service References injection.
      What I'm missing is some "merge" code that will override WarAnnotationMetaDataDeployer
      provided JBossWebMetaData with JBossWebMetaData specified in jboss-web.xml

            ropalka Richard Opalka
            ropalka Richard Opalka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: