Is possible to install WSO2 Identity server features on WSO2 App Server? - wso2

I have tried several options to install IS on App Server and using different repositories but it always complains about some packages. What is the easy way to get the correct dependencies and repositories?
This is an example of the errors:
Cannot complete the install because of a conflicting dependency.
Software being installed:
STS Feature 4.2.1 (org.wso2.carbon.sts.feature.group 4.2.1)
Software currently installed: WSO2 Carbon - Carbon Feature 4.4.1 (org.wso2.carbon.core.feature.group 4.4.1)
Only one of the following can be installed at once: WSO2 Carbon -
Carbon Feature 4.4.1 (org.wso2.carbon.core.feature.jar 4.4.1) WSO2 Carbon -
Carbon Feature 4.2.0 (org.wso2.carbon.core.feature.jar 4.2.0)

What version of IS and what version of App Server are you running? I have never tried to implement the scenario you are but I could see you getting that type of error if the version of App Server you are running is on Carbon 4.4 and the version of IS is still on Carbon 4.2. The current 5.0 release of IS runs on Carbon 4.2 but I think the 5.1 release of IS runs on Carbon 4.4 and should be available before long.
Joe

Related

issue in installing DSS feature on wso2 ESB 5.0

For a new project I'd like to setup the new ESB 5.0 adding the dss feature as well. I was about to do it from the wilkes repository (http://product-dist.wso2.com/p2/carbon/releases/wilkes/), but during installation it shows following error:
Cannot complete the install because of a conflicting dependency. Software being installed: Data Service Hosting Feature 4.3.4
(org.wso2.carbon.dataservices.feature.group 4.3.4) Software currently installed: WSO2 Carbon - Transaction Manager Feature 4.5.4
(org.wso2.carbon.transaction.manager.feature.group 4.5.4) Only one of the following can be installed at once: WSO2 Carbon - Transaction Manager Feature 4.4.7 (org.wso2.carbon.transaction.manager.feature.jar 4.4.7) WSO2 Carbon -
Transaction Manager Feature 4.5.4 (org.wso2.carbon.transaction.manager.feature.jar 4.5.4) Cannot satisfy dependency: From: Data Service Hosting Feature 4.3.4 (org.wso2.carbon.dataservices.feature.group 4.3.4) To: org.wso2.carbon.dataservices.server.feature.group [4.3.4] Cannot satisfy dependency: From: Data Service Hosting Feature 4.3.4 (org.wso2.carbon.dataservices.server.feature.group 4.3.4) To: org.wso2.carbon.transaction.manager.feature.group [4.4.0,4.5.0) Cannot satisfy dependency: From: WSO2 Carbon - Transaction Manager Feature 4.4.7 (org.wso2.carbon.transaction.manager.feature.group 4.4.7) To: org.wso2.carbon.transaction.manager.feature.jar [4.4.7] Cannot satisfy dependency: From: WSO2 Carbon - Transaction Manager Feature 4.5.4 (org.wso2.carbon.transaction.manager.feature.group 4.5.4) To: org.wso2.carbon.transaction.manager.feature.jar [4.5.4]
How can this be solved? the same procedure using ESB 4.9.0 works as expected. Is it something that still to be updated in the new ESB 5.0?
In that case what are the alternatives you suggest?
This seems like a bug. I have raised a Jira (https://wso2.org/jira/browse/DS-1249) to track this. This will be fixed in the next release.
Thanks.

Error trying install Stratos Message Broker as a feature in WSO2 ESB 4.9

WSO2 Message Broker v3.1 documentation suggests that it is possible to use Message Broker as an ESB Feature, called "Stratos Message Broker - Dashboard UI Features": from here
I am trying to install the MB as a Feature on the latest WSO2 ESB version (v4.9), just as it came.
To do that I'm using the latest P2 Repository:
from here
After selecting "Stratos Message Broker - Dashboard UI Features" v 3.1, I am getting the following error message:
Cannot complete the install because of a conflicting dependency.
Software being installed:
WSO2 Stratos Message Broker - Dashboard UI Features 3.1.0 (org.wso2.stratos.mb.dashboard.ui.feature.group 3.1.0)
Software currently installed:
WSO2 Carbon - Carbon UI Feature 4.4.1 (org.wso2.carbon.core.ui.feature.group 4.4.1)
Only one of the following can be installed at once:
WSO2 Carbon - Carbon UI Feature 4.4.1 (org.wso2.carbon.core.ui.feature.jar 4.4.1)
WSO2 Carbon - Carbon UI Feature 4.4.2 (org.wso2.carbon.core.ui.feature.jar 4.4.2)
WSO2 Carbon - Carbon UI Feature 4.4.3 (org.wso2.carbon.core.ui.feature.jar 4.4.3)
WSO2 Carbon - Carbon UI Feature 4.4.4 (org.wso2.carbon.core.ui.feature.jar 4.4.4)
Cannot satisfy dependency:
From: WSO2 Carbon - Carbon UI Feature 4.4.1 (org.wso2.carbon.core.ui.feature.group 4.4.1)
To: org.wso2.carbon.core.ui.feature.jar [4.4.1]
Cannot satisfy dependency:
From: WSO2 Carbon - Carbon UI Feature 4.4.3 (org.wso2.carbon.core.ui.feature.group 4.4.3)
To: org.wso2.carbon.core.ui.feature.jar [4.4.3]
Cannot satisfy dependency:
From: WSO2 Carbon - Carbon UI Feature 4.4.4 (org.wso2.carbon.core.ui.feature.group 4.4.4)
To: org.wso2.carbon.core.ui.feature.jar [4.4.4]
Cannot satisfy dependency:
From: WSO2 Stratos Message Broker - Dashboard UI Features 3.1.0 (org.wso2.stratos.mb.dashboard.ui.feature.group 3.1.0)
To: org.wso2.carbon.core.ui.feature.group [4.4.3,4.5.0)
Does it mean that it's not possible to use the latest version of MB as an ESB Feature? I tried others, no success..
Repo: WSO2 Carbon 4.2.0 (Turing) - MB version: 2.2.0 - Error message:
Cannot complete the install because of a conflicting dependency.
Software being installed:
WSO2 Stratos Message Broker - Dashboard UI Features 2.2.0 (org.wso2.stratos.mb.dashboard.ui.feature.group 2.2.0)
Software currently installed:
WSO2 Carbon - Carbon UI Feature 4.4.1 (org.wso2.carbon.core.ui.feature.group 4.4.1)
Only one of the following can be installed at once:
WSO2 Carbon - Carbon UI Feature 4.2.0 (org.wso2.carbon.core.ui.feature.jar 4.2.0)
WSO2 Carbon - Carbon UI Feature 4.4.1 (org.wso2.carbon.core.ui.feature.jar 4.4.1)
Cannot satisfy dependency:
From: WSO2 Carbon - Carbon UI Feature 4.2.0 (org.wso2.carbon.core.ui.feature.group 4.2.0)
To: org.wso2.carbon.core.ui.feature.jar [4.2.0]
Cannot satisfy dependency:
From: WSO2 Carbon - Carbon UI Feature 4.4.1 (org.wso2.carbon.core.ui.feature.group 4.4.1)
To: org.wso2.carbon.core.ui.feature.jar [4.4.1]
Cannot satisfy dependency:
From: WSO2 Stratos Message Broker - Dashboard UI Features 2.2.0 (org.wso2.stratos.mb.dashboard.ui.feature.group 2.2.0)
To: org.wso2.carbon.core.ui.feature.group [4.2.0,4.3.0)
Repo: WSO2 Carbon 4.1.7 - MB version: 2.1.1 - Error message:
Cannot complete the install because one or more required items could not be found.
Software being installed:
WSO2 Stratos Message Broker - Dashboard UI Features 2.1.1 (org.wso2.stratos.mb.dashboard.ui.feature.group 2.1.1)
Missing requirement:
WSO2 Stratos Message Broker - Dashboard UI Features 2.1.1 (org.wso2.stratos.mb.dashboard.ui.feature.group 2.1.1)
requires 'org.wso2.carbon.core.ui.feature.group [4.1.0,4.2.0)' but it could not be found
Any suggestion?
Does anyone already uses MB as an ESB feature? Which version?
Thanks!
I also tried and got the same error. It looks like a bug in WSO2 ESB 4.9.0. Hence reported a jira: https://wso2.org/jira/browse/ESBJAVA-4753
Successful install using the new version of WSO2 ESB 5.0.
Using wilkes repo and selecting "Stratos Message Broker - Dashboard UI Features version 3.1.0".
Actually to make it work I did: a search in my old MB, looking for features there (MB 3.1 alone) that don't exist here (ESB 5.0). That's the list:
Feature - Andes
Feature - Messaging Metrics
Metrics Group
Registry Content Search
Remote user management
Remote user management Client
Remote user management Server
SOAP Tracer
Stratos Message Broker - Dashboard UI Features
Then I had to edit master-datasources.xml file, to add WSO2MBStoreDB datasource configuration.
And after that, just install the features from the list above.

Integrating BAM and CEP. - No features to be installed

When I try to integrate CEP into BAM following the documentation I get a message that
no features will be installed.
Along with the summary.
Your original install request has been modified. org.wso2.carbon.cassandra.dataaccess.feature.group-4.2.2 will be ignored because a newer version is already installed. org.wso2.carbon.cassandra.common.feature.group-4.2.2 will be ignored because a newer version is already installed. org.wso2.carbon.cassandra.server.feature.group-4.2.3 will be ignored because a newer version is already installed. org.wso2.carbon.registry.resource.properties.feature.group-4.2.0 is already installed, so an update will be performed instead. org.wso2.carbon.databridge.streamdefn.registry.server.feature.group-4.2.1 will be ignored because a newer version is already installed. org.wso2.carbon.webapp.mgt.server.feature.group-4.2.2 will be ignored because a newer version is already installed. org.wso2.carbon.cassandra.mgt.feature.group-4.2.2 will be ignored because a newer version is already installed. Cannot complete the install because of a conflicting dependency. Software being installed: WSO2 Carbon - Service Management Feature 4.2.1 (org.wso2.carbon.service.mgt.feature.group 4.2.1) Software currently installed: Key Store Management Feature 4.2.4 (org.wso2.carbon.security.mgt.feature.group 4.2.4) Only one of the following can be installed at once: WSO2 Carbon - Security Management UI Feature 4.2.2 (org.wso2.carbon.security.mgt.ui.feature.jar 4.2.2) WSO2 Carbon - Security Management UI Feature 4.2.0 (org.wso2.carbon.security.mgt.ui.feature.jar 4.2.0) Cannot satisfy dependency: From: Key Store Management Feature 4.2.4 (org.wso2.carbon.security.mgt.feature.group 4.2.4) To: org.wso2.carbon.security.mgt.ui.feature.group [4.2.2] Cannot satisfy dependency: From: WSO2 Carbon - Security Management UI Feature 4.2.0 (org.wso2.carbon.security.mgt.ui.feature.group 4.2.0) To: org.wso2.carbon.security.mgt.ui.feature.jar [4.2.0] Cannot satisfy dependency: From: WSO2 Carbon - Security Management UI Feature 4.2.2 (org.wso2.carbon.security.mgt.ui.feature.group 4.2.2) To: org.wso2.carbon.security.mgt.ui.feature.jar [4.2.2] Cannot satisfy dependency: From: WSO2 Carbon - Service Management Feature 4.2.1 (org.wso2.carbon.service.mgt.feature.group 4.2.1) To: org.wso2.carbon.service.mgt.ui.feature.group [4.2.0] Cannot satisfy dependency: From: WSO2 Carbon - Service Management UI Feature 4.2.0 (org.wso2.carbon.service.mgt.ui.feature.group 4.2.0) To: org.wso2.carbon.security.mgt.ui.feature.group [4.2.0]
Any ideas how to resolve this and integrate these?
It appears to be an issue with recent releases, old releases integrate fine. Dropping features to be integrated as they cause issues which are highlighted in the summary seems to be one way to work past this but is far from ideal.
From BAM 2.4.0 onwards, the core CEP features have also been included inside BAM by default. There is no need to install CEP features separately. However, the CEP dashboard will not be available since BAM has its own dashboard.
If you use BAM 2.4.0, CEP features released for CEP 3.0.0 will be available. If you need CEP 3.1.0 features in a BAM pack, you can use BAM 2.4.1.
You can verify what is the corresponding version of CEP features for a particular BAM pack by referring to the WSO2 release matrix [1]. The latest BAM pack will always ship with the latest CEP features available.
[1] http://wso2.com/products/carbon/release-matrix

Error installing WSO2Cep2.1.0 on WSO2Carbon4.2.0

I tried installing WSO2Cep2.1.0 as a feature on WSO2Carbon4.2.0 platform. By looking at Release Matrix, I see that CEP2.1.0 is at repository 4.0.7. On WSO2Carbon, I select the related repository and then WSO2Cep and then I click install. The error below is produced.
Cannot complete the install because of a conflicting dependency.
Software being installed: WSO2 Carbon - Data Bridge - Data Publisher Aggregate Feature 4.0.7 (org.wso2.carbon.databridge.datapublisher.feature.group 4.0.7)
Software currently installed: WSO2 Carbon - Carbon Feature 4.2.0 (org.wso2.carbon.core.feature.group 4.2.0)
Only one of the following can be installed at once: WSO2 Carbon - Carbon UI Feature 4.0.0 (org.wso2.carbon.core.ui.feature.jar 4.0.0) WSO2 Carbon - Carbon UI Feature 4.2.0 (org.wso2.carbon.core.ui.feature.jar 4.2.0) WSO2 Carbon - Carbon UI Feature 4.0.6 (org.wso2.carbon.core.ui.feature.jar 4.0.6)
Cannot satisfy dependency: From: WSO2 Carbon - Carbon Feature 4.0.6 (org.wso2.carbon.core.feature.group 4.0.6) To: org.wso2.carbon.core.ui.feature.group [4.0.6]
Cannot satisfy dependency: From: WSO2 Carbon - Carbon Feature 4.2.0 (org.wso2.carbon.core.feature.group 4.2.0) To: org.wso2.carbon.core.ui.feature.group [4.2.0]
Cannot satisfy dependency: From: WSO2 Carbon - Carbon UI Feature 4.0.6 (org.wso2.carbon.core.ui.feature.group 4.0.6) To: org.wso2.carbon.core.ui.feature.jar [4.0.6]
Cannot satisfy dependency: From: WSO2 Carbon - Carbon UI Feature 4.2.0 (org.wso2.carbon.core.ui.feature.group 4.2.0) To: org.wso2.carbon.core.ui.feature.jar [4.2.0]
Cannot satisfy dependency: From: WSO2 Carbon - Data Bridge - Data Publisher Aggregate Feature 4.0.7 (org.wso2.carbon.databridge.datapublisher.feature.group 4.0.7) To: org.wso2.carbon.core.feature.group [4.0.5,4.1.0)
This is not meaningful to me. How can I accomplish the installation?
To add to Ragavan's answer, if you need to install CEP 2.1.0 features, you need to have a Carbon 4.0.x kernel (Carbon kernel has the bare bones carbon server, or simply Carbon). The above error is coming because the related CEP features for CEP 2.1.0 depend on carbon kernel components with 4.0.x versions and the carbon 4.2.0 kernel components conflict with them.
You would not be able to add CEP 2.1.0 features to a Carbon 4.2.0 server. However, you can install CEP 2.1.0 features on top of ESB 4.6.0, vice versa or install both product features on a Carbon 4.0.x kernel.
CEP 3.0.0 which is based on Carbon 4.2.0 is already released. However, if you want to install ESB features as well, you would need to wait for ESB 4.8.0 which is the ESB version that is based on Carbon 4.2.0. ESB 4.8.0 is due to be released in about a week. You can find the RC1 pack here and the relevant P2-repo here.
You can't install CEP 2.1.0 on Carbon 4.2.0. As you see in Release Matrix CEP 2.1.0 is released on carbon 4.0.7. CEP for Carbon 4.2.0 will be released soon.

How to install WSO2 products (ESB, AS, BPEL, IS) on a single Carbon platform?

I was able to install Carbon 4.0.1 with ESB and AS features installed.
However, when I try to install Identity Server and BPEL, there is an error because the Carbon core is not the same. I think there are not compatible with Carbon 4 yet.
Is there still a way to install these two products on Carbon 4.0.1?
If not and I have to install Identity Server and BPEL separately, will I encounter compatibility issues?
BPEL and Identity features for the new carbon version will be released soon under 4.0.2 release very soon. You need to use older carbon version 3.2.3 and install features using this p2 repo.If you are going to use BPEL and IS separately installed it should work.
You have to setup the Offset parameter in $CARBON_HOME/repository/conf/carbon.xml file in order to setup multiple wso2 products on the same server. For example if you want to setup ESB, BPS and IS you have to modify the installation for each of the product and specify a different offset.
Currently, we cannot configure multiple wso2 products on the same carbon platform. You can install multiple products on the same server but each of them will run in their own carbon environment.