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

Depends element in jboss-web.xml ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.0.0.Beta4
    • JBossAS-5.0.0.Beta2
    • Deployers
    • None

      Adding a depends element to jboss-web.xml seems to have no effect. Simplest way to confirm this is to add a jboss-web.xml with the following to deploy/ROOT.war/WEB-INF and start JBoss:

      <!DOCTYPE jboss-web PUBLIC
      "-//JBoss//DTD Web Application 5.0//EN"
      "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">

      <jboss-web>
      <depends>jboss:service=NonExistent</depends>
      </jboss-web>

      The ROOT.war deploys without issue even though the dependency is unresolved.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: