I follow the guide Governance Partition in a Remote Registry found in WSO2 Documentaton. It seems to work fine but I am facing a strange problem. Let me explain my setup first.
Governance registry instalation
- Installed GREG 4.5.3
- Set the offset to 1 in order to GREG console mgmt runs on port 9444 (carbon.xml)
- Create mysql database "wso2greg_reg" (for local/config/governance registry)
- Updated datasource WSO2_CARBON_DB to point to wso2greg_reg database (master-datasources.xml)
- Enabled clustering (axis2.xml)
- Run GREG server with -Dsetup option in order to create all tables
Enterprise Service Bus instalation
- Installed ESB 4.6.0
- Set the offset to 2 in order to ESB console mgmt runs on port 9445 (carbon.xml)
- Create mysql database "wso2esb_reg" (for local/config registry)
- Updated datasource WSO2_CARBON_DB to point to wso2esb_reg database (master-datasources.xml)
- Added datasource WSO2_GREG_DB to point to wso2greg_reg database (master-datasources.xml)
- Enabled clustering (axis2.xml)
- Set registry.xml to mount governance registry using wso2greg_reg database
- Run ESB server with -Dsetup option in order to create all tables
My problem is happening when I start the two servers, dependening on which was the first server started I have diferent problems on the console managmenet of the secondly started server.
First case:
I start GREG first and ESB in second. When navigating to ESB Console MGMT, I am unable to add a new Pass Through Proxy, the respetive form is not showing and exceptions are logged to the ESB logs (see logs).
Second case:
I start ESB first and GREG in second. When navigating to GREG Console MGMT, the metadata menu is empty and exceptions are loged to the GREG logs (see logs)
Can someone point me to what I am doing wrong?