Hi Juhan, Thanks for your prompt response but i have opened the url and i get this Not Found - The requested URL /fineract-provider/api/v1/clients was not found on this server. Nothing logged as it is still at 92% of the build. Anything i need to do?
Thanks On Tue, Mar 12, 2019 at 8:45 AM Juhan Aasaru <[email protected]> wrote: > Hi Mua > > this should be expected behaviour. > Try to open the browser at > > http://localhost:8080/fineract-provider/api/v1/clients?tenantIdentifier=default > and if you get a valid JSON (something like "[]" since you don't have any > customers yet in your database) back then you have fineract back-end > working. > > Kind regards > Juhan > > Kontakt Mua Rachmann (<[email protected]>) kirjutas kuupäeval T, 12. > märts 2019 kell 09:16: > > > Hi Vishwas, > > > > I corrected the context.xml file thanks. This time around I ran > *./gradlew > > tomcatRunWar* > > > > All builds fine but stucked at 92% of the build. Could there be something > > wrong? > > Or is this the expected behaviour. Should i have to wait again for it to > > complete? > > > > Here is the output of the command - https://pastebin.com/MvQB4Rzk > > > > Thanks > > > > On Tue, Mar 12, 2019 at 3:43 AM Vishwas Babu < > > [email protected]> wrote: > > > > > Mua, > > > > > > During tomcatRunwar, the following tasks are carried out > > > > > > 1) Initialize and upgrade the tenants list database (which lists > details > > of > > > all tenants and their database connection credentials, i.e the > equivalent > > > of ./gradlew migrateTenantListDB -PdbName=mifosplatform-tenants ) > > > You are stuck here > > > 2) Upgrade each tenant-specific database. > > > > > > > > > The gradle tasks for migrating databases pick up the db credentials > from > > > build.gradle (root, mysql by default). However, the tomcatrunwar task > > picks > > > up the credentials from a different location > > > (/fineract-provider/src/test/resources/META-INF/context.xml). You would > > > have to ensure the appropriate credentials are set here too, or that > you > > > are using the default credentials (root,mysql). > > > > > > Regards, > > > Vishwas > > > > > > On Mon, Mar 11, 2019 at 7:19 PM Mua Rachmann <[email protected]> > > > wrote: > > > > > > > Hi everyone, > > > > > > > > I ran the following commands below which built successfully. > > > > > > > > > > > > 1. ./gradlew migrateTenantListDB -PdbName=mifosplatform-tenants > > > > 2. ./gradlew migrateTenantDB -PdbName=mifostenant-default > > > > > > > > > > > > Upon running *gradlew tomcatRunWar* I get the following error > > > > https://pastebin.com/ExQZEG6c > > > > > > > > From the following error message. I think the connection to > > mysql-server > > > is > > > > not obtained but i am confused cause i just ran the migrations and it > > > > actually populated my database which shows the fineract app actually > > > > communicates with my database. > > > > > > > > Please can anyone help me figure this out? > > > > > > > > Thanks Mua. > > > > > > > > > >
