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

After upgrade from Wildfly-35.0.0.Final to 36.0.1.Final application is not coming up, after analyzing it was found that persistence unit in module is not getting loaded, because of the latest JPA commit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 36.0.1.Final
    • JPA / Hibernate
    • None

      we are trying to deploy an ear which contains modules and jars inside the lib/ of ear, in one module we have the persistence.xml file, First JPA is checking the persistence.xml file in all the jars which are under <ear>/lib/, but its not checking the META-INF of modules directory, due to this the persistence.xml file which are under modules directory is not getting loaded, 

      When we analyzed further, we identified that below commit is causing the issue, could you please suggest us is there any configuration we are missing..?

      [WFLY-20277] Fix for ignoring persistence units in app-client contain… · wildfly/wildfly@1c6231f

        1. image-2025-06-16-19-08-16-098.png
          157 kB
          KHAJA MOHIDDIN
        2. screenshot-1.png
          129 kB
          KHAJA MOHIDDIN
        3. server_logs_wildfly_35.0.0.FInal.log
          33 kB
          KHAJA MOHIDDIN
        4. server_logs_wildfly_36.0.1.Final.log
          698 kB
          KHAJA MOHIDDIN

              smarlow1@redhat.com Scott Marlow
              khaja.mohiddin33 KHAJA MOHIDDIN (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: