Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5382

XML descriptors don't work in static deployment.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • CDI / Weld, Class Loading
    • None

    Description

      I have one module with stateless EJB bean and two configuration files - persistence.xml and ejb-jar.xml in META-INF.
      I try to deploy it in static context with jar index, created by Jandex, inside. For depends dynamically deployed modules I wrote 'Dependencies: core.module.name annotations' to manifest file, like in this issue: https://issues.jboss.org/browse/WFLY-4386
      My bean found by WELD, but it can't take xml files - Persistence Context, which I configure in persistence.xml, not found, and Module Name from ejb-jar.xml are wrong, too.
      How I can configure module for work with this xml files?

      Attachments

        Activity

          People

            ajustin@redhat.com Ales Justin
            dansofinskiy Danila Sofinskii (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: