Hi Thilina and Isuru,

On Mon, Aug 22, 2011 at 2:44 PM, Thilina Buddhika <[email protected]> wrote:

>
>
> On Mon, Aug 22, 2011 at 2:39 PM, Isuru Suriarachchi <[email protected]>wrote:
>
>>
>>
>> On Mon, Aug 22, 2011 at 10:17 AM, Thilina Buddhika <[email protected]>wrote:
>>
>>> Hi Amila,
>>>
>>> 1_6 branches of Axis2, Rampart is still dependent on Neethi 2.0.x. There
>>> are some huge API changes for Neethi 3.0.x which are not backward
>>> compatible. So currently only Axis2 and Rampart trunks are depending on
>>> Neethi 3.0.x. This is a collective decision took sometime back both in WSO2
>>> and Axis2 community.
>>>
>> Thanks for the explanation.

>
>> Yes, but to fix the issue in trunk which is described by Amila, we have to
>> fix the throttle trunk. If both Axis2 and Synapse trunks depend on Neethi
>> 3.0.x, we have to make the Throttle trunk compatible with Neethi 3.0.x.
>>
>
> +1. It is not hard to migrate to Neethi 3.0.x. The only catch is we need to
> test it thoroughly. But making this migration in trunk now will give us
> enough time to test it.
>
+1. I'd like to contribute to this effort.

>
> Thanks,
> Thilina
>
>
>>
>> Thanks,
>> ~Isuru
>>
>>
>>>
>>> Thanks,
>>> Thilina
>>>
>>> On Mon, Aug 22, 2011 at 2:44 AM, Amila Silva <[email protected]> wrote:
>>>
>>>> Hi devs,
>>>>
>>>> I ran into this issue while working on synapse sample automation
>>>> framework.
>>>>
>>>> There has been (apparently) a typo in the class name
>>>> org.apache.neethi.builders.xml.XmlPrimtiveAssertion in Neethi 2.0.x
>>>> releases.
>>>> This has been fixed in Neethi 3.0.x to
>>>> org.apache.neethi.builders.xml.Xml*Primitive*Assertion.
>>>>
>>>> However org.wso2.throttle.ThrottleFactory (in trunk [1]) still uses
>>>> XmlPrimtiveAssertion.
>>>>
>>>> Synpase uses wso2throttle snapshot version for throttle mediator. Due to
>>>> above issue, Neethi 3.0.x cannot be used.
>>>>
>>>> According to [2], Axis2 version (1.7.0-SNAPSHOT) used by Synapse
>>>> requires Neethi 3.0.x.
>>>>
>>>> Therefore synapse's WS-Security and WS-RM samples (Sample100, Sample101
>>>> [3]) don't work when Neethi 2.0.x is used.
>>>> (java.lang.NoSuchMethodError:
>>>> org.apache.neethi.Policy.normalize(Z)Lorg/apache/neethi/Policy;)
>>>>
>>>> Changing Neethi version to 3.0.x breaks the throttling samples
>>>> (Sample370, Sample 371...)
>>>> (java.lang.NoClassDefFoundError:
>>>> org/apache/neethi/builders/xml/XmlPrimtiveAssertion)
>>>>
>>>> This should be solved from wso2throttle side, right?
>>>>
>>>> [1] - http://wso2.org/repos/wso2/trunk/commons/throttle
>>>> [2] - https://issues.apache.org/jira/browse/SYNAPSE-788
>>>> [3] - http://synapse.apache.org/Synapse_Samples.html#Sample100
>>>>
>>>> --
>>>> Regards,
>>>> Amila Manoj
>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Thilina Buddhika
>>> Associate Technical Lead
>>> WSO2 Inc. ; http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> phone : +94 77 44 88 727
>>> blog : http://blog.thilinamb.com
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Isuru Suriarachchi
>> Technical Lead & Product Manager, WSO2 Application Server
>>
>> WSO2 Inc. http://wso2.com
>> email : [email protected]
>> blog : http://isurues.wordpress.com/
>>
>> lean . enterprise . middleware
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Thilina Buddhika
> Associate Technical Lead
> WSO2 Inc. ; http://wso2.com
> lean . enterprise . middleware
>
> phone : +94 77 44 88 727
> blog : http://blog.thilinamb.com
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
-- 
Regards,
Amila Manoj
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to