Re: [Dev] Shared user manager db ES and ESB

2014-12-24 Thread Senduran Balasubramaniyam
Hi Lakshman, Ranga

Thanks for the reply.

Initially I shared the Governance Registry. But I got resource
(SimpleLifeCycle) not found exception from ES
Anyway I'll try with shared registry and user manager db.

Regards
Senduran

On Tue, Dec 23, 2014 at 2:20 PM, Ranga Siriwardena  wrote:

> Sharing Governance Registry across the platform will solve the issue. That
> is the place where tenant key stores shared.
>
> Thank You.
> Ranga.
>
> On Tue, Dec 23, 2014 at 11:55 AM, Senduran Balasubramaniyam <
> sendu...@wso2.com> wrote:
>
>> Hi,
>>
>> I have shared the user manager db between ES and ESB. If I create a
>> tenant in ES or ESB which is visible to the other side. (i.e If I create a
>> tenant in ES which is visible to ESB). But when I log in to ESB with the
>> created tenant following exception is thrown in the console and the ESB
>> management console is stating with default carbon theme.
>>
>> Error retrieving the resource
>> /_system/governance/repository/theme/admin/main.css. Resource does not
>> exist at path /_system/governance/repository/theme/admin/main.css
>> {org.wso2.carbon.registry.app.ResourceServlet}
>> org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
>> Resource does not exist at path
>> /_system/governance/repository/theme/admin/main.css
>>
>> likewise If I create a tenant in ESB and tried to log in from ES, the
>> behavior is same. In addition to that I couldn’t log in to ES’s publisher
>> or store using the tenant’s credential. Following exception is thrown
>>
>> Error when reading claim values for generating SAML Response
>> org.wso2.carbon.identity.base.IdentityException: Key Store with a name :
>> .jks does not exist.
>>
>> I have only shared the user manager db, ES and ESB are using separate
>> registries.
>> Is it ok to share only the user manager db. What is the recommended way
>> to share the tenants across the products
>>
>> Thanks
>> Senduran
>> ​
>> --
>> *Senduran *
>> Software Engineer,
>> WSO2, Inc.;  http://wso2.com/ 
>> Mobile: +94 77 952 6548
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ranga Siriwardena
> Software Engineer
> Mobile: +94779808031
> WSO2 Inc.
>



-- 
*Senduran *
Software Engineer,
WSO2, Inc.;  http://wso2.com/ 
Mobile: +94 77 952 6548
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Shared user manager db ES and ESB

2014-12-23 Thread Ranga Siriwardena
Sharing Governance Registry across the platform will solve the issue. That
is the place where tenant key stores shared.

Thank You.
Ranga.

On Tue, Dec 23, 2014 at 11:55 AM, Senduran Balasubramaniyam <
sendu...@wso2.com> wrote:

> Hi,
>
> I have shared the user manager db between ES and ESB. If I create a tenant
> in ES or ESB which is visible to the other side. (i.e If I create a tenant
> in ES which is visible to ESB). But when I log in to ESB with the created
> tenant following exception is thrown in the console and the ESB management
> console is stating with default carbon theme.
>
> Error retrieving the resource
> /_system/governance/repository/theme/admin/main.css. Resource does not
> exist at path /_system/governance/repository/theme/admin/main.css
> {org.wso2.carbon.registry.app.ResourceServlet}
> org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
> Resource does not exist at path
> /_system/governance/repository/theme/admin/main.css
>
> likewise If I create a tenant in ESB and tried to log in from ES, the
> behavior is same. In addition to that I couldn’t log in to ES’s publisher
> or store using the tenant’s credential. Following exception is thrown
>
> Error when reading claim values for generating SAML Response
> org.wso2.carbon.identity.base.IdentityException: Key Store with a name :
> .jks does not exist.
>
> I have only shared the user manager db, ES and ESB are using separate
> registries.
> Is it ok to share only the user manager db. What is the recommended way to
> share the tenants across the products
>
> Thanks
> Senduran
> ​
> --
> *Senduran *
> Software Engineer,
> WSO2, Inc.;  http://wso2.com/ 
> Mobile: +94 77 952 6548
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Ranga Siriwardena
Software Engineer
Mobile: +94779808031
WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Shared user manager db ES and ESB

2014-12-23 Thread Lakshman Udayakantha
Hi Senduran,

Shouldn't the governance registry be shared? I think the reason for the
first exception is not sharing governance registry.

Thanks



On Tue, Dec 23, 2014 at 11:55 AM, Senduran Balasubramaniyam <
sendu...@wso2.com> wrote:

> Hi,
>
> I have shared the user manager db between ES and ESB. If I create a tenant
> in ES or ESB which is visible to the other side. (i.e If I create a tenant
> in ES which is visible to ESB). But when I log in to ESB with the created
> tenant following exception is thrown in the console and the ESB management
> console is stating with default carbon theme.
>
> Error retrieving the resource
> /_system/governance/repository/theme/admin/main.css. Resource does not
> exist at path /_system/governance/repository/theme/admin/main.css
> {org.wso2.carbon.registry.app.ResourceServlet}
> org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
> Resource does not exist at path
> /_system/governance/repository/theme/admin/main.css
>
> likewise If I create a tenant in ESB and tried to log in from ES, the
> behavior is same. In addition to that I couldn’t log in to ES’s publisher
> or store using the tenant’s credential. Following exception is thrown
>
> Error when reading claim values for generating SAML Response
> org.wso2.carbon.identity.base.IdentityException: Key Store with a name :
> .jks does not exist.
>
> I have only shared the user manager db, ES and ESB are using separate
> registries.
> Is it ok to share only the user manager db. What is the recommended way to
> share the tenants across the products
>
> Thanks
> Senduran
> ​
> --
> *Senduran *
> Software Engineer,
> WSO2, Inc.;  http://wso2.com/ 
> Mobile: +94 77 952 6548
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lakshman Udayakantha
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
Mobile: *0711241005*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Shared user manager db ES and ESB

2014-12-22 Thread Senduran Balasubramaniyam
Hi,

I have shared the user manager db between ES and ESB. If I create a tenant
in ES or ESB which is visible to the other side. (i.e If I create a tenant
in ES which is visible to ESB). But when I log in to ESB with the created
tenant following exception is thrown in the console and the ESB management
console is stating with default carbon theme.

Error retrieving the resource
/_system/governance/repository/theme/admin/main.css. Resource does not
exist at path /_system/governance/repository/theme/admin/main.css
{org.wso2.carbon.registry.app.ResourceServlet}
org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
Resource does not exist at path
/_system/governance/repository/theme/admin/main.css

likewise If I create a tenant in ESB and tried to log in from ES, the
behavior is same. In addition to that I couldn’t log in to ES’s publisher
or store using the tenant’s credential. Following exception is thrown

Error when reading claim values for generating SAML Response
org.wso2.carbon.identity.base.IdentityException: Key Store with a name :
.jks does not exist.

I have only shared the user manager db, ES and ESB are using separate
registries.
Is it ok to share only the user manager db. What is the recommended way to
share the tenants across the products

Thanks
Senduran
​
-- 
*Senduran *
Software Engineer,
WSO2, Inc.;  http://wso2.com/ 
Mobile: +94 77 952 6548
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev