On Fri, Nov 5, 2010 at 1:04 AM, Isuru Suriarachchi <[email protected]> wrote:

>
>
> On Fri, Nov 5, 2010 at 12:15 PM, Hasini Gunasinghe <[email protected]>wrote:
>
>> Hi,
>>
>> Thank you for the replies. Please find the comments in-line.
>>
>> On Thu, Nov 4, 2010 at 11:05 PM, Isuru Suriarachchi <[email protected]>wrote:
>>
>>>
>>>
>>> On Fri, Nov 5, 2010 at 11:24 AM, Thilina Buddhika <[email protected]>wrote:
>>>
>>>> Hi,
>>>>
>>>> This might be due to moving back to WSS4J trunk. Isuru and me discussed
>>>> to move with WSS4J-1.5.X fixes branch, not with WSS4J trunk. (Rampart trunk
>>>> is not compatible with WSS4J trunk).
>>>>
>>>> I guess Isuru has changed this. In that case, please update and build
>>>> dependencies/wss4j.
>>>>
>>>
>>> Yes. Check the version of your dependencies/wss4j project. If it is
>>> 1.6-SNAPSHOT, delete the wss4j folder and take an svn up from dependencies
>>> and build wss4j.
>>>
>>
>> I checked the version of dependecies/wss4J in pom.xml and it is
>> 1.5.10-SNAPSHOT. In orbit/wss4j, version is 1.5.10.wso2v1.
>>
>>>
>>> Then svn up orbit and build wss4j. Then build components/security.
>>>
>>
>> I did svn up in dependencies/wss4j and orbit/wss4j and they are at the
>> latest revision. But still security component fails in building with the
>> same above compilation error.
>> Could I know what might be the reason for this please?
>>
>
> You have to svn up at orbit level. orbit/pom.xml should be updated. check
> the wss4j.version property in orbit/pom.xml. it should be 1.5.10-SNAPSHOT.
>
Yes, that is right. In orbit/pom.xml, it was 1.6-SNAPSHOT. So I updated it
and building again. Thanks a lot for the help in figuring it out.
Hasini.

>
> Thanks,
> ~Isuru
>
>
>>
>> Thanks,
>> Hasini.
>>
>>
>>> Thanks,
>>> ~Isuru
>>>
>>>
>>>>
>>>> Thanks,
>>>> Thilina
>>>>
>>>> On Fri, Nov 5, 2010 at 9:19 AM, Hasini Gunasinghe <[email protected]>wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I tried to build carbon with a latest checkout from trunk.
>>>>> Dependencies, orbit and core were built successfully. When building
>>>>> components, i get the following compilation error in security component. I
>>>>> would really appreciate any help in resolving this.
>>>>>
>>>>> [ERROR] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Compilation failure
>>>>>
>>>>> /home/hasini/WSO2/trunk/carbon/components/security/org.wso2.carbon.security.mgt/src/main/java/org/wso2/carbon/security/util/ServicePasswordCallbackHandler.java:[71,54]
>>>>> cannot find symbol
>>>>> symbol  : method getIdentifer()
>>>>> location: class org.apache.ws.security.WSPasswordCallback
>>>>>
>>>>> /home/hasini/WSO2/trunk/carbon/components/security/org.wso2.carbon.security.mgt/src/main/java/org/wso2/carbon/security/util/WSS4JUtil.java:[56,62]
>>>>> incompatible types
>>>>> found   : java.util.List
>>>>> required: java.util.Vector
>>>>>
>>>>> /home/hasini/WSO2/trunk/carbon/components/security/org.wso2.carbon.security.mgt/src/main/java/org/wso2/carbon/security/util/ServerCrypto.java:[76,7]
>>>>> org.wso2.carbon.security.util.ServerCrypto is not abstract and does not
>>>>> override abstract method
>>>>> isCertificateInKeyStore(java.security.cert.X509Certificate) in
>>>>> org.apache.ws.security.components.crypto.Crypto
>>>>>
>>>>>
>>>>> Thank you.
>>>>> Hasini.
>>>>>
>>>>> --
>>>>> Hasini Gunasinghe
>>>>> e-mail: [email protected]
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Carbon-dev mailing list
>>>>> [email protected]
>>>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thilina Buddhika
>>>> Senior Software Engineer
>>>> 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]
>>>> https://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]
>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Hasini Gunasinghe
>> e-mail: [email protected]
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://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]
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Hasini Gunasinghe
e-mail: [email protected]
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to