Applied the patch at revision 180626. Thanks Darshana...! Regards, -Prabath
On Sun, Aug 11, 2013 at 9:38 PM, Darshana Gunawardana <[email protected]>wrote: > Hi, > > Asela, PrabathA and myself had offline chat regarding [1] which has the > same root cause for this. > > The problem is that datasources created using UI which persists as > registry resources and we need to access them user.core startup. But > registry is not available in that time. With these constraints, proposed > solution was defining data-source configurations in line with user-store > configurations. > > [1] - https://wso2.org/jira/browse/IDENTITY-1526 > > Thanks, > > > On Sun, Aug 11, 2013 at 8:32 PM, Prabath Siriwardena <[email protected]>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 >> >> _______________________________________________ >> 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 > -- Thanks & Regards, Prabath Mobile : +94 71 809 6732 http://blog.facilelogin.com http://RampartFAQ.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
