Hey Couarage, Juhan, Vishwas, Awasum. I installed activemq and started it. Now i no longer get the active mq error message.
See the new logs here. - https://pastebin.com/4MEjFPSk Thanks for your guides and prompt response so far. I use postman for testing the api and setting suitable headers. All works fine. I guess its time for me to pick up my first issue. Awasum it was with stress as i had to setup my environment on a Mac OS env. I learned a lot and I have begun gathering all what i did to successfully run the fineract 1.x on Mac and I am documenting appropriately - Please see the progress here https://cwiki.apache.org/confluence/display/FINERACT/Fineract+Installation+on+Mac+OS I will do any corrections needed. Once more thank you all Cheers, Mua On Tue, Mar 12, 2019 at 2:06 PM Courage Angeh <[email protected]> wrote: > Hi Mua, > > I also realized you dont have active MQ installed. So you get an activeMQ > network error in your logs. > > On Tue, Mar 12, 2019, 8:57 AM Courage Angeh <[email protected]> > wrote: > > > Hi Mua, > > > > Thats the expected response. You wrk with the api doc to see the header > > params to set so you can make a succesful request. > > > > You set tenant id and an authorization header > > > > On Tue, Mar 12, 2019, 4:01 AM Mua Rachmann <[email protected]> > wrote: > > > >> 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. > >> > > > > > >> > > > > >> > > > >> > > >> > > >
