You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/09/03 14:17:12 UTC
[jira] Created: (SMX4-352) Fix the ClassNotFoundException in the
xml security bundle
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: Willem Jiang
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.
[jira] Updated: (SMX4-352) Fix the ClassNotFoundException in the
xml security bundle
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang updated SMX4-352:
------------------------------
Fix Version/s: 4.1.0
> 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: Willem Jiang
> 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.
[jira] Assigned: (SMX4-352) Fix the ClassNotFoundException in the
xml security bundle
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Work started: (SMX4-352) Fix the ClassNotFoundException in
the xml security bundle
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on SMX4-352 started by Freeman Fang.
> 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.
[jira] Resolved: (SMX4-352) Fix the ClassNotFoundException in the
xml security bundle
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved SMX4-352.
-------------------------------
Resolution: Fixed
apply patch on behalf of Willem
http://svn.apache.org/viewvc?rev=811215&view=rev
> 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.
[jira] Updated: (SMX4-352) Fix the ClassNotFoundException in the
xml security bundle
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang updated SMX4-352:
------------------------------
Attachment: xmlsec-1.4.3.patch
> 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: Willem Jiang
> 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.