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

Freeman Fang reassigned SMX4-352:
---------------------------------

    Assignee: Freeman Fang  (was: Willem Jiang)

> Fix the ClassNotFoundException in the xml security bundle
> ---------------------------------------------------------
>
>                 Key: SMX4-352
>                 URL: https://issues.apache.org/activemq/browse/SMX4-352
>             Project: ServiceMix 4
>          Issue Type: Improvement
>            Reporter: Willem Jiang
>            Assignee: Freeman Fang
>             Fix For: 4.1.0
>
>         Attachments: xmlsec-1.4.3.patch
>
>
> When call the WSS4J to create a WSSecurityEngine in ServiceMix 
> 4.1.0-SNAPSHOT, you will get below error.
> Since this package is in the same bundle of caller,  we need use a better 
> class loader search mechanism to load the class.
> {code}
>        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)
> {code}

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

Reply via email to