Hi,

As per the discussion with Johann and KasunG, I will remove bouncycastle
library from wss4j bundle, and create a separate bundle for older version
of bouncycastle with version as 1.32 (instead of 132.0.0 that was before).


On Wed, Jul 16, 2014 at 1:40 PM, Chamil Jeewantha <cha...@wso2.com> wrote:

> Hi Pulasthi,
>
> The package export versions are not 1.49 & 1.32. it is *1*.49.0.wso2v1 &
> *132*.0.0 So the older version has 132 hence OSGI loads that package from
> old. It should be fixed on orbit I think.
>
> Regards,
> Chamil
>
>
> On Wed, Jul 16, 2014 at 1:01 PM, Pulasthi Mahawithana <pulast...@wso2.com>
> wrote:
>
>> Hi
>>
>> I get the following error,
>>
>>
>> org.springframework.beans.factory.BeanCreationException: Error creating bean 
>> with name 'caEP': Cannot resolve reference to bean 'scepEndpointBean' while 
>> setting bean property 'serviceBeans' with key [3]; nested exception is 
>> org.springframework.beans.factory.BeanCreationException: Error creating bean 
>> with name 'scepEndpointBean' defined in URL 
>> [jndi:/localhost/ca/WEB-INF/cxf-servlet.xml]: Instantiation of bean failed; 
>> nested exception is java.lang.NoClassDefFoundError: 
>> org/bouncycastle/util/Store
>>
>>
>> I did some debugging from the osgi console. "org.bouncycastle.util" package 
>> is exported by two bundles with versions 1.49 and 1.32. The bundle with v 
>> 1.49 contain the "Store" class in "org.bouncycastle.util" package, but the 
>> bundle with v 1.32 doesn't. Does this error occur due to the webapp is 
>> trying to load the incorrect bundle? How can I correct this issue?
>>
>> Following is the output from osgi console.
>>
>> osgi> p org.bouncycastle.util
>>
>> org.bouncycastle.util; version="1.49.0.wso2v1"<bcprov-jdk15on_1.49.0.wso2v1 
>> [23]>
>>
>>   bcpkix-jdk15on_1.49.0.wso2v1 [22] imports
>>
>>   tomcat_7.0.52.wso2v3 [372] imports
>>
>> org.bouncycastle.util; version="132.0.0"<wss4j_1.5.11.wso2v7-SNAPSHOT [380]>
>>
>>   org.wso2.carbon.tomcat.patch_4.3.0.SNAPSHOT [327] imports
>>
>>
>>
>> --
>> *Pulasthi Mahawithana*
>> Software Engineer
>> WSO2 Inc., http://wso2.com/
>> Mobile: +94-71-5179022
>> Blog: http://blog.pulasthi.org
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> K.D. Chamil Jeewantha
> Associate Technical Lead
> WSO2, Inc.;  http://wso2.com
> Mobile: +94716813892
>
>


-- 
*Pulasthi Mahawithana*
Software Engineer
WSO2 Inc., http://wso2.com/
Mobile: +94-71-5179022
Blog: http://blog.pulasthi.org
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to