[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-security-dev
Subject:    DO NOT REPLY [Bug 47784] New: ClassNotFoundException when init the
From:       bugzilla () apache ! org
Date:       2009-09-04 3:10:38
Message-ID: bug-47784-6260 () https ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

https://issues.apache.org/bugzilla/show_bug.cgi?id=47784

           Summary: ClassNotFoundException when init the xml security in
                    OSGi plateform
           Product: Security
           Version: unspecified
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Canonicalization
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: willem.jiang@gmail.com


--- Comment #0 from Willem <willem.jiang@gmail.com> 2009-09-03 20:10:35 PDT ---
Created an attachment (id=24207)
The patch introduced a ClassLoaderUtils to try loader the class from thread
context classloader , caller classloader, ClassLoaderUtils classloader in the
Transform register method.

Here is the stack trace.

java.lang.RuntimeException: java.lang.ClassNotFoundException:
org.apache.xml.security.transforms.implementations.TransformBase64Decode
    at org.apache.xml.security.transforms.Transform.register(Unknown Source)
    at org.apache.xml.security.Init.init(Unknown Source)
    at org.apache.ws.security.WSSConfig.staticInit(WSSConfig.java:279)
    at org.apache.ws.security.WSSConfig.<init>(WSSConfig.java:304)
    at org.apache.ws.security.WSSConfig.getNewInstance(WSSConfig.java:313)
    at org.apache.ws.security.WSSConfig.getDefaultWSConfig(WSSConfig.java:322)
    at
org.apache.ws.security.WSSecurityEngine.getWssConfig(WSSecurityEngine.java:155)
    at com.fusesource.security.Activator.start(Activator.java:17)

You can find the back ground of this issue here[1]

[1]http://fusesource.com/issues/browse/ESB-838

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic