Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2048

WAR uses filter of another WAR in the same EAR

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Beta1
    • 7.0.0.Final, 7.0.1.Final, 7.0.2.Final
    • Server
    • None
    • Hide

      Create a EAR with two WARs and a JAR with a Filter.
      Put the JAR into both WARs and use the Filter from it.
      Deploy the EAR and check the Classloader of the Filter.

      Show
      Create a EAR with two WARs and a JAR with a Filter. Put the JAR into both WARs and use the Filter from it. Deploy the EAR and check the Classloader of the Filter.

    Description

      I have an EAR with to WARs in it. Both WARs contain a JAR (in they're lib folder) which contain a Filter. If i deploy the EAR and log the loaded classes i see that the filter from both WARs are loaded but if i open the web context then only the first loaded filter will be used - for both WARs. This will lead to some classloading problems in the following process.

      For a more detailed description see the forum reference.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            swoeste_jira Sebastian Woeste (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: