On Sat, Jun 19, 2010 at 6:06 PM, Afkham Azeez <[email protected]> wrote:
> P2 needs fixing. Having to restart the server on CAR deployment is not > acceptable. +1. We have to "improve" and "re-factor" P2 for our middleware case. As of now, it seem to assume IDE case. Samisa... > > Azeez > > On Sat, Jun 19, 2010 at 12:00 PM, Isuru Suriarachchi <[email protected]>wrote: > >> Hi all, >> >> While implementing the application deployer, I've found a P2 issue which >> affects updating exiting apps in the system. >> >> P2 issue : >> * register a p2 repository in carbon >> * Install a feature from that repository (id = foo, version = 1.0.0) >> * Restart the server and uninstall the installed feature >> * register another p2 repository (it also contains a feature with above id >> and version) >> * Install that feature and restart >> * You will still see the old feature which is installed from the first p2 >> repo >> >> How it affects cApp deployer : >> * cApp artifacts are installed as p2 features >> * Developer deploys a cApp and the deployer installs needed features from >> it >> * Developer undeploys this cApp and deploys an updated cApp (but it >> contains same feature ids and versions) >> * Restarts the server. But still he will see the old application >> >> Workaround : Eclipse tools have to upgrade the feature versions each and >> every time the cApp is updated. >> >> Can we fix the original P2 issue or are we going to stick to this >> workaround? >> >> Thanks, >> ~Isuru >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Afkham Azeez > Senior Software Architect & Product Manager, WSO2 WSAS; WSO2, Inc.; > http://wso2.com, Lean . Enterprise . Middleware > Member; Apache Software Foundation; http://www.apache.org/ > email: [email protected] cell: +94 77 3320919 > blog: http://blog.afkham.org > twitter: http://twitter.com/afkham_azeez > linked-in: http://lk.linkedin.com/in/afkhamazeez > > _______________________________________________ > Carbon-dev mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org
_______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
