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

MainDeployer.parseManifestLibraries does not log underlying exceptions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • JBossAS-3.2.5 Final, JBossAS-4.0.0 Final, JBossAS-4.0.1RC1, JBossAS-3.2.6 Final, JBossAS-3.2.7 Final, JBossAS-4.0.1 Final, JBossAS-4.0.1 SP1, JBossAS-4.0.2RC1
    • Deployers
    • None

    Description

      MainDeployer.parseManifestLibraries contains:

      try {
      [30+ lines of code to validate and load manifest Class-Path jars]
      } catch (Exception ignore)
      {
      log.debug("The manifest entry in "sdi.url" references URL "lib
      " which could not be opened, entry ignored");
      }

      The fact that the underlying exception is not logged can lead to confusion when attempting to diagnose problems with a jar's manifest.mf. Perhaps the exception could be added to the current log statement like:

      try {
      [30+ lines of code to validate and load manifest Class-Path jars]
      } catch (Exception theException)
      {
      log.debug("The manifest entry in "sdi.url" references URL "lib
      " which could not be opened, entry ignored", theException);
      }

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            jimm_jira jimm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: