WSO2 ESB - Adding databases through Admin Console Feature - wso2

I am new to WSO2 ESB and then I've started by following the initial steps described on WSO2 ESB product documentaion page. After the first samples succesfully run, I've got myself stuck trying to exercise the Database mechanism.
According to WSO2 ESB documentation - http://docs.wso2.org/wiki/display/ESB460/Databases - Admin Console feature must be installed to add a new database. So, I've tried to add that feature to my ESB installation by creating several repositories (http://dist.wso2.org/p2/carbon/releases/3.0.0 up to 4.0.5 and even the local version of 4.0.5 p2-repo.zip) , but after all I had no success in finding the Admin Console Feature, so no Database option for me. Even after adding the Datasources Feature, the Database option did not show up.
What am I missing here ? Is the documentation outdated ?
Thanks.

Otmar, That particular database provisioning feature that you are referring to as admin console feature was renamed to "rss manager". Please lookup for the feature with that name in the p2 feature repository.

Related

WSO2 EMM - How to config project

When i develop with WSO2 EMM, i don't understand how to config project to run on local. I has config run on local success, but i don't go to the address same as the tutorial: Youtube link
Please tell me how to make it.
Thanks!
Every EMM version has the same URL if you are using a fresh pack with out modifying the offset configuration in carbon.xml the default url will be as following,
https://localhost:9443/emm
the tutorial you are referring is for EMM 1.. release. The latest version of EMM is 2.2.0 which is available in EMM product page.
The functionalities are most likely the same with new and improved UI and much more features and higher performances.So its best if you can use the new version to get started with wso2 EMM.

WSO2 Identity Server 5.1.0 undocumented databases WSO2METRICS_DB and jpadb

A standard installation of Identity Server 5.1.0 creates beside the known WSO2CARBON_DB database two other h2 databases: "WSO2METRICS_DB" and "jpadb".
Unfortunately we couldn't find any documentation on this databases. Could someone please provide us with an pointer to the docs or give us a hint how to answer the following questions:
Are these two databases required? For what are they used?
If you configure WSO2 IS against a MySQL database, do I need to create these databases in MySQL as well?
Do I need to backup these databases?
In case of an upgrade of IS 5.0.0 to 5.1.0. How do I handle the two databases?
If you are migrating WSO2 Identity Server 5.0.0 to 5.1.0, you can refer the official documentation [1].
Metrics is a new feature added to Identity Server with 5.1.0 version. It has a separate database and the datasource is defined in repository/conf/datasources/metrics-datasources.xml file. The metrics feature is by default enabled in the config file repository/conf/metrics.xml file. With this feature, you can view JVM metrics by going to Configure -> Metrics -> JVM Metrics feature in the IS management console. All the metrics related data is stored in this new database.
For the metrics database, the database script is located in IS_HOME/dbscripts/metrics directory and there you can find the tables related to this feature which are created in the metrics database.
If you don't wish to use this feature, you may disable it from the metrics.xml file in conf.
The other jpadb is for the workflow feature introduced with IS 5.1.0. You can find documentation in [2]. So in a migration, these should be created separately and you don't need backup as these are new databases.
For your existing database in IS 5.0.0, there are some schema changes for existing tables. You can find DB migration scripts in [1].
[1] https://docs.wso2.com/display/IS510/Upgrading+from+a+Previous+Release#UpgradingfromaPreviousRelease-Upgradingthedatabase
[2] http://wso2.com/library/articles/2015/09/article-wso2-identity-server-5.1.0-workflow-feature-and-use-cases/
This jpabd is used by human task feature to store the task related information.
Identity server ships BPEL and HumanTask features and jpabd is part of that.
WSO2_METRICS_DB is used for WSO2 Carbon Metrics. https://docs.wso2.com/display/ML100/JVM+Metrics

WSO DSS 3.5.0 Quality of Service Configuration Panel empty

Kinda new to WSO products. Installed WSO DSS 3.5.0 and created a simple test data service following all the instructions on WSO documentation. it is working fine except I can not find out how to implement the security for data service as mentioned in the documentation :
https://docs.wso2.com/display/DSS350/Filtering+Content+to+Specific+User+Roles
The problem is that Quality Of Service Configuration Panel is empty in my web console and no menu exists there for security or anything else except the edit data service menu as you can see :
Spending a full day reading docs searching googling etc for the solution I have not found any..
Anyone else facing this same issue? should I activate it in features somehow or is there another product needed to be installed together with DSS for this to work?
WSO2 DSS 3.5.0 is carbon kernel 4.4.x based product. From kernel 4.4.x on wards QoS features are removed from the kernel.
You have to use WSO2 Developer Studio to implemnet QoS for the requirement.

WSO2 Identity Server users and roles management page shows blank

I just downloaded and install the WSO2 Identity Server 5.0.0 in CentoOS 7 to play with it. I created a JDBC DataStore instead of the H2 datastore that comes by default, also uncommented as default primary User Store the JDBC User Store, then run the Identity Server. When I go to the management/configuration/ users and roles/users or roles, the content area appears blank for both cases, users and roles.
So I must be doing something wrong or what?
I am login with the default credentials of admin/admin that the documentation says. The documentation also says that the user must be admin in order to manage users and roles, and I hope is the case as the links to manage users and roles appears but are not working, also in the console shows no error regarding this blank page.
Any directions on what I should go?
I can post the configuration I am using also, but is a very basic one, following the administration stated in the online documentation.
I found the problem, i was using Java 1.8, and saw an error compiling a JSP in the logs in the console in linux, so switch to Java 1.7 and now works fine.
WSO2 Identity server does not support Java 8.

Setting up WSO2 stratos on local computer

I downloaded the latest version of WSO2Stratos from the website and unzipped it on my local computer. I copy the text in the read me file to the /etc/hosts file.
When I run particular services e.g., manager, as, and ESB it works fine without an error.
When I use a browser to login to the page "https://localhost:9443/carbon/"
It works fine and possible to see the main page.
After this when I click on any option available, nothing working and I see a only blank page. When I click app manager, ESB or anything on the left side panel, I don't see another page. I see only the main page.
why I cannot see the services offered by stratos live.
WSO2 Stratos 1.6 version is more easier to install and configure. Refer to Insallation guide blog post here
It seems you have not enabled Single Sign On option in your Stratos setup.You need to add following entry to ~/.bashrc to enable SSO.
export SSO_ENABLED=true
The option Single Sign-On means that once a user logs in to a single service, eg: Stratos Manager using their credentials they will automatically be signed in to any other service eg: ESB or Governance.
Additionally this blogpost will help you.