Uploaded image for project: 'XBean'
  1. XBean
  2. XBEAN-126

ClassFinder throwing "Could not load exceptions" on "classes" whose path includes a '.'

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6
    • finder
    • None

    Description

      Deployment of an opensso.war file is failing in Geronimo with the following:

      java.lang.Exception: Could not load 1/0/org/apache/xml/resolver/tools/ResolvingXMLReader.class
      at org.apache.xbean.finder.ClassFinder.readClassDef(ClassFinder.java:726)
      at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:141)
      at org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:154)

      webservices-tools.jar contains multiple files of the following form:

      rw-rr- 287 28-Mar-2005 12:20:36 1.0/com/sun/codemodel/CodeWriter.class
      rw-rr- 931 28-Mar-2005 12:20:38 1.0/com/sun/codemodel/JAnonymousClass.class
      rw-rr- 1939 28-Mar-2005 12:20:38 1.0/com/sun/codemodel/JArray.class
      rw-rr- 691 28-Mar-2005 12:20:38 1.0/com/sun/codemodel/JArrayClass$1.class
      rw-rr- 2365 28-Mar-2005 12:20:38 1.0/com/sun/codemodel/JArrayClass.class

      '1.0' is being converted to '1/0' and the subsequent load is failing.

      Attachments

        1. xbean-126_updated.patch
          0.9 kB
          Lin Quan Jiang

        Activity

          People

            dblevins David Blevins
            kevan Kevan Lee Miller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: