Monday, March 5, 2012

How to install BPEL features via Feature Manager

You can install feature to any Carbon server using;
  1. Equinox OSGi console or using
  2. Carbon management console.
1. Using Equinox OSGi console.

Start the Carbon server with osgiConsole.
thilini@thilini:~/home/thilini/wso2greg-4.1.1/bin$ ./wso2server.sh -DosgiConsole

Now specify the artifact and metadata repositories in the OSGi console.
osgi>
provaddrepo https://svn.wso2.com/repo/p2repo/carbon/releases/3.2.0/
osgi>provaddartifactrepo https://svn.wso2.com/repo/p2repo/carbon/releases/3.2.0/ 

Check the installable features included in the above artifact repository via;
osgi>provlg

Now install the BPEL feature as follows.
osgi>provinstall org.wso2.carbon.bpel.feature.group 3.2.0

If the installation is successful, you will get the "Installation complete" message.

Then restart the carbon server to apply the changes. To shutdown the server;
osgi>shutdownCarbon
Then start the server again to see the Business Process Server functionality.
thilini@thilini:~/home/thilini/wso2greg-4.1.1/bin$ ./wso2server.sh

2. Using Carbon Management Console

Figure1: Add p2 repository location.

If the required repository is not in the list, add the new p2 repository location. 

Figure2: Filter 'BPEL' Feature via Find Features option 

This allows you to search for available features in repositories. You can select the exact repository or all available repositories. Some repositories contains multiple versions of features. If you are only interested in latest versions, you can use the "Show only the latest versions" option. 

If the selected repository contains features which are already installed in the system, they will not be shown under the available features list and also the previous versions of installed features will not be shown.


Figure3: Available feature list.

Select 'BPEL' and click install to proceed to the next step. 'BPEL' feature contains the bundles required for BPEL functionality.

 Figure4: Installation..


Figure5: Accept the terms of the license agreement.

 Figure6: Installation..

Then you will get the 'Installation Complete' message. Now restart the server and check whether the features are correctly installed.


Figure7: Business Processes capabilities are available via the Carbon server Management Console.

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.
Refer more details on Provisioning WSO2 Carbon based SOA Products with Equinox P2 and find p2repository locations from [3].

No comments:

Post a Comment