Applied the same fix that was applied to fix a similar p2 issue reported
earlier, as discussed in [1].

Changed the 'overwrite' property to true from false, in p2.inf
of org.wso2.carbon.tenant.mgt.core.feature, when
installing cloud-services-desc.xml file.

This fix worked in the earlier case[1]  though I am not quite clear about
the logic behind it. It would be great if someone could please explain the
usage of 'overwrite' property in p2.inf and why it could have caused an
issue as above.

[1] http://www.mail-archive.com/carbon-dev@wso2.org/msg13357.html

Thanks,
Hasini.
On Sat, Apr 2, 2011 at 9:50 PM, WSO2 Builder <buil...@wso2.org> wrote:

> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.tenant.mgt.core-1.1.0.SNAPSHOT.jar
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.core/cache/binary/org.wso2.carbon.tenant.mgt.core_root-1.1.0.SNAPSHOT
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.tenant.reg.agent.service-1.1.0.SNAPSHOT.jar
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.theme.mgt-1.1.0.SNAPSHOT.jar
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.throttling.agent-1.1.0.SNAPSHOT.jar
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/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/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.ui.menu.stratos-1.1.0.SNAPSHOT.jar
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/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/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.carbon.usage.agent-1.1.0.SNAPSHOT.jar
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/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/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.stratos.identity.dashboard.ui-1.1.0.SNAPSHOT.jar
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.stratos.identity.login.ui-1.1.0.SNAPSHOT.jar
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.stratos.identity.saml2.sso.mgt-1.1.0.SNAPSHOT.jar
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.stratos.identity.saml2.sso.mgt.ui-1.1.0.SNAPSHOT.jar
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/org.wso2.stratos.identity.styles-2.0.0.SNAPSHOT.jar
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/quartz-1.6.0.wso2v1.jar
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/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/service/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/service/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/service/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/service/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/service/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/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/plugins/synapse-tasks-2.1.0.wso2v2.jar
> [ERROR] Artifact repository out of sync. Overwriting
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/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.tenant.mgt.core.feature.group
> 1.1.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/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/cloud-services-desc.xml
> - see details.
> [ERROR] Caused by:  java.io.IOException: Target:
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/../conf/cloud-services-desc.xml
> already exists
> [ERROR] Application failed, log file location:
> /home/carbon/carbon/products/is/modules/p2-profile-gen/service/target/p2-agent/configuration/1301761196818.log
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 295 minutes 24 seconds
> [INFO] Finished at: Sat Apr 02 21:50:24 IST 2011
> [INFO] Final Memory: 1422M/1862M
> [INFO]
> ------------------------------------------------------------------------
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to