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

Any changes to persistence.xml in an EJB module are ignored until server restart

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • No Release
    • JBossAS-5.0.0.GA
    • EJB
    • None

    Description

      I had an EJB module containing EJB3 entity beans. I forgot to include persistence.xml into the .jar archive and got an exception about that. So I put the file in META-INF and redeployed the .ear package containing the EJB .jar module. The server still complained about null persistent manager.

      After server restart it worked well. So I removed persistence.xml again and redeployed the package. Surprisingly, it worked well until server restart.

      To me it seems like the configuration is being cached.

      Attachments

        Activity

          People

            rhn-engineering-cdewolf Carlo de Wolf
            mvecera Martin Vecera
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: