Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-298

Class loading not J2EE compliant in PlutoFactoryFactoryBean

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-M3
    • 2.0-M4
    • Other
    • None
    • JBoss/HSQLDB

    Description

      PlutoFactoryFactoryBean.java uses Class.forName to load a class. This does not work if jetspeed-cm-*.jar is not bundled in the WAR (or better: not loaded by the WAR-classloader) but available as a library in an EAR (the WAR classloader searching EAR libraries first to allow simple EJB invocation). As generally recommended, the context classloader should be used (see patch).

      Attachments

        1. patch1.txt
          0.8 kB
          Michael Lipp

        Activity

          People

            taylor David Sean Taylor
            drmlipp Michael Lipp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: