Good Morning, As a test, I have deployed WSO2 API Manager (1.8.0) to 4 instances (separate servers). One each for Store, Publisher, Gateway and Key Manager.
I have used an Oracle Database deployed to a 5th instance. I have followed all the instructions: https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager The issue I have I believe is related to step 10 (a) and (b) in the above link: In the Publisher component's registry.xml file, add or modify the dataSource attribute of the <dbConfig name="govregistry"> element as follows: <dbConfig name="govregistry"> <dataSource>jdbc/WSO2REG_DB</dataSource> </dbConfig> <remoteInstance url="https://publisher.apim-wso2.com"> <id>gov</id> <cacheId>user@jdbc:mysql://regdb.mysql-wso2.com:3306/regdb</cacheId> <dbConfig>govregistry</dbConfig> <readOnly>false</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> </remoteInstance> <mount path="/_system/governance" overwrite="true"> <instanceId>gov</instanceId> <targetPath>/_system/governance</targetPath> </mount> <mount path="/_system/config" overwrite="true"> <instanceId>gov</instanceId> <targetPat Ok, so I will be using Multi-tenancy, so I did the above for all four instances, like so: <!-- Publisher registry.xml --> <dbConfig name="govregistry"> <dataSource>jdbc/WSO2CarbonDB</dataSource> </dbConfig> <remoteInstance url="https://instance-publisher"> <id>gov</id> <cacheId>USER_CARBON_DB@jdbc:oracle:thin:@instance-database:1521/xe</cacheId> <dbConfig>govregistry</dbConfig> <readOnly>false</readOnly> <enableCache>true</enableCache> <registryRoot>/</registryRoot> </remoteInstance> <mount path="/_system/governance" overwrite="true"> <instanceId>gov</instanceId> <targetPath>/_system/governance</targetPath> </mount> <mount path="/_system/config" overwrite="true"> <instanceId>gov</instanceId> <targetPath>/_system/config</targetPath> </mount> The only line changing for the other three instances is: <remoteInstance url="https://instance-store"> <remoteInstance url="https://instance-gateway"> ..etc Without the registry.xml configuration above, everything starts fine - no errors on all four API Manager instances. When I add the configuration above I get a large collection of errors, here is the pastebin when I start just the Key Manager instance: http://pastebin.com/8vmEAXA2 However, the first error is: TID: [0] [AM] [2015-01-12 16:40:04,991] ERROR {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} - Unable to create fixed remote mounts. {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} org.wso2.carbon.registry.core.exceptions.RegistryException: An exception occurred while executing handler chain. null at org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.delete(HandlerManager.java:2649) So my understanding is this portion is the issue: <mount path="/_system/governance" overwrite="true"> <instanceId>gov</instanceId> <targetPath>/_system/governance</targetPath> </mount> <mount path="/_system/config" overwrite="true"> <instanceId>gov</instanceId> <targetPath>/_system/config</targetPath> </mount> I am having trouble understanding this issue, I suspect either: 1. I need to setup the SSL Certs, or.. 2. I don't understand where this is meant to point too: <remoteInstance url="https://instance-publisher"> Any idea, guys? Thank you. Michael McDonald
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
