Hi All,
Following exception can be avoided using unique h2 database urls for all
the cluster nodes.
TID: [1] [] [2015-10-02 18:35:07,720] @tenny1.com [1] [IS]ERROR
{org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO} - Failed to
add resource to path /_system/governance. Referential integrity
constraint violation: "REG_RESOURCE_FK_BY_PATH_ID: PUBLIC.REG_RESOURCE
FOREIGN KEY(REG_PATH_ID, REG_TENANT_ID) REFERENCES
PUBLIC.REG_PATH(REG_PATH_ID, REG_TENANT_ID)"; SQL statement:
Regards,
Prasad.
On Mon, Oct 5, 2015 at 6:16 AM, Chandana Napagoda <[email protected]> wrote:
> Adding Prassad.
> On Oct 5, 2015 6:15 AM, "Chandana Napagoda" <[email protected]> wrote:
>
>> Hi Johan,
>>
>> I think this is the same issue PrassadT worked on last week. Please
>> verify cluster configuration with him.
>>
>> Regards,
>> Chandana
>> On Oct 4, 2015 10:17 PM, "Johann Nallathamby" <[email protected]> wrote:
>>
>>> Hi GReg Team,
>>>
>>> [1] has been reported by QA while running a load test on IS 5.1.0 Alpha.
>>> Looks like this is coming from registry kernel specific code. [2] is the
>>> code which executes this from IS side.
>>>
>>> I think one obvious improvement we can do in [2] is invoke following line
>>> IdentityTenantUtil.initializeRegistry(tenantId, tenantDomain);
>>> only under tenant condition in line 241. Because we don't need to load
>>> super tenant registry right?
>>>
>>> Can you please look into this problem and let us know if this is a
>>> problem in carbon-identity code or registry-kernel code ?
>>>
>>> [1] https://wso2.org/jira/browse/REGISTRY-3023
>>> [2]
>>> https://github.com/wso2/carbon-identity/blob/master/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/IdentityProviderManager.java#L237-L255
>>>
>>> --
>>> Thanks & Regards,
>>>
>>> *Johann Dilantha Nallathamby*
>>> Technical Lead & Product Lead of WSO2 Identity Server
>>> Governance Technologies Team
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - *+94777776950*
>>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>>>
>>
--
Prasad Tissera
Software Engineer.
Mobile : +94777223444
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev