Tuesday, August 23, 2011

Packaging Components in a Single Server: P2 Feature Management

Written by Thilini

Packaging components on one server is a marvelous feature addition that will enable you to create your own SOA solution with all wanted features.



As a example lets assume you need to get Data Service Hosting functionality inside Enterprise Service Bus (ESB), You simply need to install it as a p2 feature inside ESB.



P2 features come as a hosted solution as well as a zip archive. You can use either the hosted solution [1] or the packaged solution [2], but if you are behind a proxy you will face a problem when using hosted solution. In that case use the zip archive.



[1] https://svn.wso2.com/repo/p2repo/carbon/releases/3.2.0/

[2] http://dist.wso2.org/p2-zip/carbon/releases/3.2.0/20-06-2011/p2-repo.zip



 Add p2 location: Point to either [1] or [2]





 Find Features



Select components that you need to install.

          eg: Service Hosting (for WSO2 App Server features) , Data Service Hosting / Datasource Management (for WSO2 Data Services Server)











Restart the server after successfully installing selected features.







Finds installed features as shown below.





Refer more details on Provisioning WSO2 Carbon based SOA Products with Equinox P2 and find p2repository locations from [3].

[3] http://wso2.org/projects/carbon/provisioning-wso2-carbon-with-equinox-p2



See original post

No comments:

Post a Comment

 

Copyright 2009 All Rights Reserved Revolution Two Church theme modified by Milinda Pathirage