This was fixed by setting the overwrite properties to true in p2.inf of
org.wso2.carbon.identity.provider.server.feature when copying UserRP.jks
and wso2is-user-certs.jks.

Thanks,
Hasini.

On Mon, Mar 21, 2011 at 7:31 AM, Hasini Gunasinghe <[email protected]> wrote:

> Hi,
>
> It is a similar incident as the previous time that we discussed about the
> build failure due to two features trying to install the same file
> --claim-config.xml
> Above build error is also due to same two features try to install another
> two files as well, as mentioned in their p2.inf files-- userRP.jks,
> wso2is-user-certs.jks, and one feature has set overwrite to false.
>
> We can avoid this too by setting it to true, like we did last time. But I
> am not quite sure whether it is the proper fix, since the same thing has
> worked before.
> So I will discuss with the team too regarding this and will provide a
> proper fix soon.
>
> Thanks,
> Hasini.
>
> On Mon, Mar 21, 2011 at 12:55 AM, Hasini Gunasinghe <[email protected]>wrote:
>
>>
>>
>> On Mon, Mar 21, 2011 at 12:38 AM, Harshana Martin <[email protected]>wrote:
>>
>>>
>>>
>>> On Mon, Mar 21, 2011 at 12:09 AM, WSO2 Builder <[email protected]> wrote:
>>>
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.security.mgt-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.security.mgt.ui-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.service.mgt-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.statistics-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.statistics.ui-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.sts-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.sts.ui-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.tracer-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.tracer.ui-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.ui.menu.registry-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.um.ws.service-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.xfer-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.xkms-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.xkms.mgt-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.xkms.mgt.ui-3.2.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.identity.styles-2.0.0.SNAPSHOT.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/rampart-core-1.6.1.wso2v1.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/rampart-policy-1.6.1.wso2v1.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/rampart-trust-1.6.1.wso2v1.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/smack-3.0.4.wso2v1.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/spring.framework-2.5.1.wso2v1.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/step2-1.0.0.wso2v1.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/sun-xacml-2.0.1.wso2v1.jar
>>>> [ERROR] Artifact repository out of sync. Overwriting
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/xkms-2.4.0.wso2v1.jar
>>>> [ERROR] An error occurred while configuring the installed items
>>>> [ERROR]  session context was:(profile=WSO2CarbonProfile,
>>>> phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Configure,
>>>> operand=null --> [R]org.wso2.carbon.identity.provider.server.feature.group
>>>> 3.2.0.SNAPSHOT,
>>>> action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
>>>> [ERROR]  I/O Error while copying
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/userRP.jks
>>>> - see details.
>>>>
>>>
>>> This time it is a different file,  userRP.jks. Is there any specialty
>>> about this file? Some other component set permissions for this too?
>>>
>>
>> Looking into this...
>> Thanks,
>> Hasini.
>>
>>>
>>> Thanks and Regards,
>>> Harshana
>>>
>>>> [ERROR] Caused by:  java.io.IOException: Target:
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/../../resources/security/userRP.jks
>>>> already exists
>>>> [ERROR] Application failed, log file location:
>>>> /home/carbon/carbon/products/is/modules/p2-profile-gen/product/target/p2-agent/configuration/1300646324024.log
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 278 minutes 1 second
>>>> [INFO] Finished at: Mon Mar 21 00:09:07 IST 2011
>>>> [INFO] Final Memory: 1360M/1802M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>
>>>
>>>
>>> --
>>> Harshana Martin
>>> Software Engineer
>>> WSO2 Inc.
>>> Web:http://wso2.com
>>>           http://wso2.org
>>>
>>> Mobile: +94 716062650
>>> Blog: http://harshana05.blogspot.com
>>> Profile: https://www.google.com/profiles/harshana05
>>> Twitter: http://twitter.com/harshana05
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to