You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-dev@geronimo.apache.org by "Shawn Jiang (JIRA)" <ji...@apache.org> on 2009/05/25 11:43:45 UTC

[jira] Updated: (XBEAN-126) ClassFinder throwing "Could not load exceptions" on "classes" whose path includes a '.'

     [ https://issues.apache.org/jira/browse/XBEAN-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang updated XBEAN-126:
------------------------------

    Attachment: xbean-126.patch

This jira is caused by  replacement between  "/" and "."  back and forth. The patch attached keep '.' in path by encoding '.' to another char before replacing all '/' to '.'



> ClassFinder throwing "Could not load exceptions" on "classes" whose path includes a '.'
> ---------------------------------------------------------------------------------------
>
>                 Key: XBEAN-126
>                 URL: https://issues.apache.org/jira/browse/XBEAN-126
>             Project: XBean
>          Issue Type: Bug
>          Components: finder
>            Reporter: Kevan Miller
>             Fix For: 3.5
>
>         Attachments: xbean-126.patch
>
>
> 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-r--r--       287  28-Mar-2005  12:20:36  1.0/com/sun/codemodel/CodeWriter.class
>   -rw-r--r--       931  28-Mar-2005  12:20:38  1.0/com/sun/codemodel/JAnonymousClass.class
>   -rw-r--r--      1939  28-Mar-2005  12:20:38  1.0/com/sun/codemodel/JArray.class
>   -rw-r--r--       691  28-Mar-2005  12:20:38  1.0/com/sun/codemodel/JArrayClass$1.class
>   -rw-r--r--      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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.