Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1347

ClassCastException in ClassLoaderUtil.clearSunJarFileFactoryCache

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.0.2, 3.1.3, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      java version "1.6.0_21"
      Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
      Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)

      Description

      During undeploy, i got:

      ERROR - Unable to clear Sun JarFileFactory cache
      java.lang.ClassCastException: java.lang.String cannot be cast to java.net.URL
      at org.apache.openejb.ClassLoaderUtil.clearSunJarFileFactoryCache(ClassLoaderUtil.java:173)
      at org.apache.openejb.ClassLoaderUtil.destroyClassLoader(ClassLoaderUtil.java:130)
      at org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:918)
      at org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:785)

      This relates to https://issues.apache.org/jira/browse/OPENEJB-1131

        Attachments

          Activity

            People

            • Assignee:
              jlmonteiro Jean-Louis MONTEIRO
              Reporter:
              michaelschuetz Michael Schuetz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: