Created a PR [1] to fix this. Please review and merge. [1] https://github.com/wso2-dev/wso2-wss4j/pull/2
On Fri, Dec 5, 2014 at 12:45 PM, Pulasthi Mahawithana <[email protected]> wrote: > Hi Kishanthan, > > Will do. > > On Fri, Dec 5, 2014 at 12:22 PM, Kishanthan Thangarajah < > [email protected]> wrote: > >> @Pulasthi, can you work with ESB team and fix this? We need to fix the >> issue with orbit bundle and make the changes available in the master branch >> of wss4j. >> >> On Fri, Dec 5, 2014 at 11:24 AM, Kishanthan Thangarajah < >> [email protected]> wrote: >> >>> >>> >>> On Thu, Dec 4, 2014 at 9:50 PM, Jeewantha Dharmaparakrama < >>> [email protected]> wrote: >>> >>>> I have already tested with adding Dynamic Imports to the bundle and >>>> everything works as expected. We will need to release the bundle again. >>>> >>> >>> Can you sent the changes as a PR to master branch? >>> >>>> >>>> Thanks, >>>> Jeewantha >>>> >>>> On Thu, Dec 4, 2014 at 7:50 PM, Kishanthan Thangarajah < >>>> [email protected]> wrote: >>>> >>>>> The following commit has introduced this change : >>>>> https://github.com/wso2/wso2-wss4j/commit/3185c3f155df48f6a666cd79873010f62b8c97a9 >>>>> >>>>> @Pulasthi/Johann, the above commit has removed the >>>>> "<DynamicImport-Package>" tag in the orbit bundle. >>>>> >>>>> This change has no impact on kernel, but since wss4j-1.5.11-wso2v7 is >>>>> already released and bundled with kernel, we need to cancel the vote >>>>> called >>>>> for carbon-kernel RC1 release. >>>>> >>>>> @Jeewantha, you need to reply to the vote thread "[VOTE] Release WSO2 >>>>> Carbon Kernel 4.3.0 RC1" and CANCEL it with the explanation. >>>>> >>>>> We are currently looking for the possibilities of removing wss4j from >>>>> kernel and call for kernel RC2 ASAP. >>>>> >>>>> @Jeewantha, at the same time you can quickly do a test by introducing >>>>> <DynamicImport-Package>*</DynamicImport-Package> to the orbit pom of the >>>>> release tag of wss4j : >>>>> https://github.com/wso2/wso2-wss4j/releases/tag/wso2-wss4j-1.5.11-wso2v7 >>>>> and >>>>> build it and see. If this passes, we can do an immediate release of >>>>> wss4j-1.5.11-wso2v8. >>>>> >>>>> >>>>> On Thu, Dec 4, 2014 at 6:26 PM, Jeewantha Dharmaparakrama < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi IS team, >>>>>> >>>>>> Due to this Rampart fails to load custom Password Callback Handlers >>>>>> and many ESB security related integration tests fail. wss4j uses >>>>>> Class.forName() to load password callback handlers and therefor throws >>>>>> the >>>>>> following exception. How should we deal with this ? >>>>>> >>>>>> org.apache.axis2.AxisFault: Cannot load password callback class: >>>>>> samples.userguide.PWCallback >>>>>> at >>>>>> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76) >>>>>> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) >>>>>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313) >>>>>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262) >>>>>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427) >>>>>> at >>>>>> org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:278) >>>>>> at >>>>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) >>>>>> at >>>>>> org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:512) >>>>>> at >>>>>> org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:489) >>>>>> at >>>>>> com.dimuthuupeksha.clients.OrderProcessingSecureClient.main(OrderProcessingSecureClient.java:127) >>>>>> Caused by: org.apache.rampart.RampartException: Cannot load password >>>>>> callback class: samples.userguide.PWCallback >>>>>> at >>>>>> org.apache.rampart.util.RampartUtil.getPasswordCB(RampartUtil.java:144) >>>>>> at >>>>>> org.apache.rampart.util.RampartUtil.getPasswordCB(RampartUtil.java:118) >>>>>> at >>>>>> org.apache.rampart.builder.BindingBuilder.getSignatureBuilder(BindingBuilder.java:295) >>>>>> at >>>>>> org.apache.rampart.builder.BindingBuilder.getSignatureBuilder(BindingBuilder.java:252) >>>>>> at >>>>>> org.apache.rampart.builder.AsymmetricBindingBuilder.doSignature(AsymmetricBindingBuilder.java:762) >>>>>> at >>>>>> org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:419) >>>>>> at >>>>>> org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:90) >>>>>> at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147) >>>>>> at >>>>>> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65) >>>>>> ... 9 more >>>>>> Caused by: java.lang.ClassNotFoundException: samples.userguide.PWCallback >>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:366) >>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:355) >>>>>> at java.security.AccessController.doPrivileged(Native Method) >>>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:354) >>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424) >>>>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) >>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) >>>>>> at java.lang.Class.forName0(Native Method) >>>>>> at java.lang.Class.forName(Class.java:190) >>>>>> at org.apache.ws.security.util.Loader.loadClass(Loader.java:243) >>>>>> at org.apache.ws.security.util.Loader.loadClass(Loader.java:161) >>>>>> at >>>>>> org.apache.rampart.util.RampartUtil.getPasswordCB(RampartUtil.java:142) >>>>>> ... 17 more >>>>>> >>>>>> Thanks, >>>>>> Jeewantha >>>>>> >>>>>> -- >>>>>> Jeewantha Dharmaparakrama >>>>>> Software Engineer; WSO2, Inc.; http://wso2.com/ >>>>>> Phone : (+94) 778403757 >>>>>> Blog: http://jeewanthad.blogspot.com/ >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> *Kishanthan Thangarajah* >>>>> Senior Software Engineer, >>>>> Platform Technologies Team, >>>>> WSO2, Inc. >>>>> lean.enterprise.middleware >>>>> >>>>> Mobile - +94773426635 >>>>> Blog - *http://kishanthan.wordpress.com >>>>> <http://kishanthan.wordpress.com>* >>>>> Twitter - *http://twitter.com/kishanthan >>>>> <http://twitter.com/kishanthan>* >>>>> >>>> >>>> >>>> >>>> -- >>>> Jeewantha Dharmaparakrama >>>> Software Engineer; WSO2, Inc.; http://wso2.com/ >>>> Phone : (+94) 778403757 >>>> Blog: http://jeewanthad.blogspot.com/ >>>> >>> >>> >>> >>> -- >>> *Kishanthan Thangarajah* >>> Senior Software Engineer, >>> Platform Technologies Team, >>> WSO2, Inc. >>> lean.enterprise.middleware >>> >>> Mobile - +94773426635 >>> Blog - *http://kishanthan.wordpress.com >>> <http://kishanthan.wordpress.com>* >>> Twitter - *http://twitter.com/kishanthan >>> <http://twitter.com/kishanthan>* >>> >> >> >> >> -- >> *Kishanthan Thangarajah* >> Senior Software Engineer, >> Platform Technologies Team, >> WSO2, Inc. >> lean.enterprise.middleware >> >> Mobile - +94773426635 >> Blog - *http://kishanthan.wordpress.com >> <http://kishanthan.wordpress.com>* >> Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>* >> > > > > -- > *Pulasthi Mahawithana* > Software Engineer > WSO2 Inc., http://wso2.com/ > Mobile: +94-71-5179022 > Blog: http://blog.pulasthi.org > -- *Pulasthi Mahawithana* Software Engineer WSO2 Inc., http://wso2.com/ Mobile: +94-71-5179022 Blog: http://blog.pulasthi.org
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
