Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-836

ReportValidationResults should log.info about the root cause

    XMLWordPrintableJSON

Details

    Description

      I'm having an EJB which references a @PersistenceContext with a not yet defined DataSource.
      This leads to a Deployment error, but the real cause is well hidden internally and doesn't get logged properly.
      Same happens if the persistence unit itself is not configured.

      This currently doesn't even lead to a deployment Exception but OpenEJB just resumes to start.

      If I debug into ReportValidationResults#deploy line 66 uberContext.addFailure(failure);
      then I see the issue. But it doesn't get logged it seems.

      This should at least be logged with INFO level imo.

      Attachments

        Activity

          People

            Unassigned Unassigned
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: