Hi, Reason for [1] is define tenants user stores using data sources specified in master-datasources.xml . In general data sources defined in master-datasources.xml can only used for super tenant. In order to define tenant specific data sources, it need to use data sources UI feature. But that method cannot be use to defining user stores as i mentioned earlier.
Fix for [2] also added according to discussed approach. [1] https://wso2.org/jira/browse/IDENTITY-1466 [2] https://wso2.org/jira/browse/IDENTITY-1526 Thanks, On Sun, Aug 11, 2013 at 11:59 PM, Evanthika Amarasiri <[email protected]>wrote: > Hi, > > We have noticed the same when trying out certain operations from tenants > on worker nodes in a worker manager separated cluster. > > [1] - https://wso2.org/jira/browse/IDENTITY-1466 > > Regards, > Evanthika > > > On Sunday, August 11, 2013, Prabath Siriwardena wrote: > >> Created a datasource pointing to a mysql database - please see the >> configuration attached. >> >> Then created a secondary UserstoreManager from the UI - under the same >> tenant - pointing to the above datasource. >> >> All worked fine.. >> >> Then restarted.. and getting the following error.... >> >> Caused by: javax.naming.NameNotFoundException: Name [jdbc/mysql] is not >> bound in this Context. Unable to find [jdbc]. >> at org.apache.naming.NamingContext.lookup(NamingContext.java:820) >> at org.apache.naming.NamingContext.lookup(NamingContext.java:168) >> at >> org.wso2.carbon.context.internal.CarbonContextDataHolder$CarbonInitialJNDIContext.lookup(CarbonContextDataHolder.java:916) >> at javax.naming.InitialContext.lookup(InitialContext.java:392) >> at javax.naming.InitialContext.doLookup(InitialContext.java:265) >> at >> org.wso2.carbon.user.core.util.DatabaseUtil.lookupDataSource(DatabaseUtil.java:91) >> >> Any thoughts ? >> >> >> -- >> Thanks & Regards, >> Prabath >> >> Mobile : +94 71 809 6732 >> >> http://blog.facilelogin.com >> http://RampartFAQ.com >> > > > -- > Evanthika Amarasiri > Senior Technical Lead - Quality Assurance > Mobile: +94773125935 > * > * > wso2.com Lean Enterprise Middleware > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Regards, * Darshana Gunawardana *Software Engineer WSO2 Inc.; http://wso2.com* E-mail: [email protected] **Mobile: +94718566859 *Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
